Clarify comment in test

In RSAPrivateKey, Version is an INTEGER. The version must be 0.
This commit is contained in:
Gilles Peskine 2018-08-21 16:12:54 +02:00 committed by Jaeden Amero
parent c6290c043e
commit dea46cf8f1

View File

@ -519,7 +519,7 @@ static int exported_key_sanity_check( psa_key_type_t type, size_t bits,
uint8_t *end = exported + exported_length;
size_t len;
/* RSAPrivateKey ::= SEQUENCE {
* version Version, -- 0
* version INTEGER, -- must be 0
* modulus INTEGER, -- n
* publicExponent INTEGER, -- e
* privateExponent INTEGER, -- d