Home
last modified time | relevance | path

Searched refs:MBEDTLS_CIPHER_BLKSIZE_MAX (Results 1 – 3 of 3) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dcmac.h42 #define MBEDTLS_CIPHER_BLKSIZE_MAX 16 /**< The longest block used by CMAC is that of AES. */ macro
44 #define MBEDTLS_CIPHER_BLKSIZE_MAX 8 /**< The longest block used by CMAC is that of 3DES. */
54 unsigned char MBEDTLS_PRIVATE(state)[MBEDTLS_CIPHER_BLKSIZE_MAX];
58 unsigned char MBEDTLS_PRIVATE(unprocessed_block)[MBEDTLS_CIPHER_BLKSIZE_MAX];
/third_party/mbedtls/library/
Dcmac.c117 unsigned char L[MBEDTLS_CIPHER_BLKSIZE_MAX]; in cmac_generate_subkeys()
155 static void cmac_pad(unsigned char padded_block[MBEDTLS_CIPHER_BLKSIZE_MAX], in cmac_pad() argument
286 unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX]; in mbedtls_cipher_cmac_finish()
287 unsigned char K2[MBEDTLS_CIPHER_BLKSIZE_MAX]; in mbedtls_cipher_cmac_finish()
288 unsigned char M_last[MBEDTLS_CIPHER_BLKSIZE_MAX]; in mbedtls_cipher_cmac_finish()
335 mbedtls_platform_zeroize(state, MBEDTLS_CIPHER_BLKSIZE_MAX); in mbedtls_cipher_cmac_finish()
749 unsigned char K1[MBEDTLS_CIPHER_BLKSIZE_MAX]; in cmac_test_subkeys()
750 unsigned char K2[MBEDTLS_CIPHER_BLKSIZE_MAX]; in cmac_test_subkeys()
844 unsigned char output[MBEDTLS_CIPHER_BLKSIZE_MAX]; in cmac_test_wth_cipher()
/third_party/mbedtls/tests/suites/
Dtest_suite_cmac.function23 unsigned char test_key[MBEDTLS_CIPHER_BLKSIZE_MAX];
24 unsigned char test_data[MBEDTLS_CIPHER_BLKSIZE_MAX];
25 unsigned char test_output[MBEDTLS_CIPHER_BLKSIZE_MAX];
132 unsigned char output[MBEDTLS_CIPHER_BLKSIZE_MAX];
211 unsigned char output[MBEDTLS_CIPHER_BLKSIZE_MAX];