Newer interruptible operations don't have driver support yet

Fix the build against development.

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2025-02-06 18:28:14 +01:00
parent 7c7387f467
commit b295a138f5
+3 -3
View File
@@ -163,7 +163,7 @@ psa_verify_hash_interruptible_operation_t psa_verify_hash_interruptible_operatio
psa_key_agreement_iop_t psa_key_agreement_iop_init_short(void)
{
psa_key_agreement_iop_t operation = PSA_KEY_AGREEMENT_IOP_INIT;
memset(&operation.ctx, '!', sizeof(operation.ctx));
/* No driver support, and thus no union, yet, at the time of writing */
return operation;
}
#endif
@@ -172,7 +172,7 @@ psa_key_agreement_iop_t psa_key_agreement_iop_init_short(void)
psa_generate_key_iop_t psa_generate_key_iop_init_short(void)
{
psa_generate_key_iop_t operation = PSA_GENERATE_KEY_IOP_INIT;
memset(&operation.ctx, '!', sizeof(operation.ctx));
/* No driver support, and thus no union, yet, at the time of writing */
return operation;
}
#endif
@@ -181,7 +181,7 @@ psa_generate_key_iop_t psa_generate_key_iop_init_short(void)
psa_export_public_key_iop_t psa_export_public_key_iop_init_short(void)
{
psa_export_public_key_iop_t operation = PSA_EXPORT_PUBLIC_KEY_IOP_INIT;
memset(&operation.ctx, '!', sizeof(operation.ctx));
/* No driver support, and thus no union, yet, at the time of writing */
return operation;
}
#endif