diff options
author | lei he <helei.sig11@bytedance.com> | 2022-06-24 18:06:25 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-06-30 15:56:58 +0800 |
commit | 0bb8f125253843c445b70fc6ef4fb21aa7b25625 (patch) | |
tree | bfd26c7e94f50405cea729122047828f9b10b362 /lib | |
parent | 8e7ae8bafe98a288727d647dace03fed2bdcc5fc (diff) | |
download | lwn-0bb8f125253843c445b70fc6ef4fb21aa7b25625.tar.gz lwn-0bb8f125253843c445b70fc6ef4fb21aa7b25625.zip |
crypto: testmgr - fix version number of RSA tests
According to PKCS#1 standard, the 'otherPrimeInfos' field contains
the information for the additional primes r_3, ..., r_u, in order.
It shall be omitted if the version is 0 and shall contain at least
one instance of OtherPrimeInfo if the version is 1, see:
https://www.rfc-editor.org/rfc/rfc3447#page-44
Replace the version number '1' with 0, otherwise, some drivers may
not pass the run-time tests.
Signed-off-by: lei he <helei.sig11@bytedance.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions