Add iop export public-key initializers test

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
Waleed Elmelegy 2024-11-20 12:01:09 +00:00
parent 5bcc1b9835
commit ea35fac4f1

View File

@ -10411,6 +10411,21 @@ exit:
}
/* END_CASE */
/* BEGIN_CASE */
void export_public_key_iop_init()
{
psa_export_public_key_iop_t init = PSA_EXPORT_PUBLIC_KEY_IOP_INIT;
psa_export_public_key_iop_t fun = psa_export_public_key_iop_init();
psa_export_public_key_iop_t zero;
memset(&zero, 0, sizeof(zero));
PSA_ASSERT(psa_export_public_key_iop_abort(&init));
PSA_ASSERT(psa_export_public_key_iop_abort(&fun));
PSA_ASSERT(psa_export_public_key_iop_abort(&zero));
}
/* END_CASE */
/* BEGIN_CASE */
void generate_key_custom(int type_arg,
int bits_arg,