mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-27 06:41:08 +00:00
Clarify comment in test
In RSAPrivateKey, Version is an INTEGER. The version must be 0.
This commit is contained in:
parent
c6290c043e
commit
dea46cf8f1
@ -519,7 +519,7 @@ static int exported_key_sanity_check( psa_key_type_t type, size_t bits,
|
|||||||
uint8_t *end = exported + exported_length;
|
uint8_t *end = exported + exported_length;
|
||||||
size_t len;
|
size_t len;
|
||||||
/* RSAPrivateKey ::= SEQUENCE {
|
/* RSAPrivateKey ::= SEQUENCE {
|
||||||
* version Version, -- 0
|
* version INTEGER, -- must be 0
|
||||||
* modulus INTEGER, -- n
|
* modulus INTEGER, -- n
|
||||||
* publicExponent INTEGER, -- e
|
* publicExponent INTEGER, -- e
|
||||||
* privateExponent INTEGER, -- d
|
* privateExponent INTEGER, -- d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user