The rsa_key_pair_public_key array is used in test 42 as input to psa_import_key to get a public RSA key. The data contained in the array is formatted as a x509 "PublicKeyInfo" structure. However the only format which is mandatory to support in psa_import_key is "RSAPublicKey". rsa_128_key_data already has the expected format and is used in other tests as well (39, 40, 41, 42, 52, and 53)
The
rsa_key_pair_public_key
array is used in test 42 as input topsa_import_key
to get a public RSA key. The data contained in the array is formatted as a x509 "PublicKeyInfo" structure. However the only format which is mandatory to support inpsa_import_key
is "RSAPublicKey".rsa_128_key_data
already has the expected format and is used in other tests as well (39, 40, 41, 42, 52, and 53)C.f. Test39 fix RSA public key import format #320
Signed-off-by: Oberon microsystems AG