mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 00:05:44 +01:00
Fix build without CMAC
Add missing guard for MBEDTLS_CMAC_C.
This commit is contained in:
parent
9a9e19f3fb
commit
e3b07d81d6
@ -1065,6 +1065,7 @@ psa_status_t psa_mac_abort( psa_mac_operation_t *operation )
|
|||||||
return( PSA_SUCCESS );
|
return( PSA_SUCCESS );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CMAC_C)
|
||||||
static int psa_cmac_start( psa_mac_operation_t *operation,
|
static int psa_cmac_start( psa_mac_operation_t *operation,
|
||||||
size_t key_bits,
|
size_t key_bits,
|
||||||
key_slot_t *slot,
|
key_slot_t *slot,
|
||||||
@ -1085,6 +1086,7 @@ static int psa_cmac_start( psa_mac_operation_t *operation,
|
|||||||
key_bits );
|
key_bits );
|
||||||
return( ret );
|
return( ret );
|
||||||
}
|
}
|
||||||
|
#endif /* MBEDTLS_CMAC_C */
|
||||||
|
|
||||||
static int psa_hmac_start( psa_mac_operation_t *operation,
|
static int psa_hmac_start( psa_mac_operation_t *operation,
|
||||||
psa_key_type_t key_type,
|
psa_key_type_t key_type,
|
||||||
|
Loading…
Reference in New Issue
Block a user