mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
8be0b84e58
When parsing a private key, store all non-optional fields. These are required for enabling CRT mode for decrypt and verify Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
11 lines
316 B
Groff
11 lines
316 B
Groff
RsaPrivKey ::= SEQUENCE {
|
|
version INTEGER,
|
|
n INTEGER ({ rsa_get_n }),
|
|
e INTEGER ({ rsa_get_e }),
|
|
d INTEGER ({ rsa_get_d }),
|
|
prime1 INTEGER ({ rsa_get_p }),
|
|
prime2 INTEGER ({ rsa_get_q }),
|
|
exponent1 INTEGER ({ rsa_get_dp }),
|
|
exponent2 INTEGER ({ rsa_get_dq }),
|
|
coefficient INTEGER ({ rsa_get_qinv })
|
|
}
|