Re: [Opencryptoki-tech] [PATCH] testcases: fix wrong testcase and ber en/decoding for integers
Brought to you by:
ebarretto
|
From: Eduardo B. <eba...@li...> - 2017-04-10 19:11:50
|
On 03-04-2017 15:39, Harald Freudenberger wrote: > The ber encoding/decoding did not correctly append (on encode) > and remove (on decode) leading 0x00 to indicate unsigned values. > This has been fixed. The tok_rsa testcase even tolerated wrong > byte sizes of the modulus part of an RSA key (caused by wrong > decoding of an ber encoded big integer). > However, all this only affects the EP11 token. This is the only > caller of the ber en/decode stuff within the opencryptoki > common code. > > Signed-off-by: Harald Freudenberger <fr...@li...> Patch accepted and merged. Thanks, Eduardo |