mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-07 06:42:56 +03:00
Fix direct use of cipher_info->type
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
@@ -186,7 +186,7 @@ int mbedtls_cipher_cmac_starts(mbedtls_cipher_context_t *ctx,
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
type = ctx->cipher_info->type;
|
type = mbedtls_cipher_info_get_type(ctx->cipher_info);
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case MBEDTLS_CIPHER_AES_128_ECB:
|
case MBEDTLS_CIPHER_AES_128_ECB:
|
||||||
|
Reference in New Issue
Block a user