mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 00:02:42 +00:00
Add iop export public-key initializers test
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
5bcc1b9835
commit
ea35fac4f1
@ -10411,6 +10411,21 @@ exit:
|
|||||||
}
|
}
|
||||||
/* END_CASE */
|
/* 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 */
|
/* BEGIN_CASE */
|
||||||
void generate_key_custom(int type_arg,
|
void generate_key_custom(int type_arg,
|
||||||
int bits_arg,
|
int bits_arg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user