Lines Matching refs:MBEDTLS_AES_BLOCK_SIZE

95     if( blocksize == MBEDTLS_AES_BLOCK_SIZE )  in cmac_multiply_by_u()
431 unsigned char zero_key[MBEDTLS_AES_BLOCK_SIZE]; in mbedtls_aes_cmac_prf_128()
432 unsigned char int_key[MBEDTLS_AES_BLOCK_SIZE]; in mbedtls_aes_cmac_prf_128()
445 if( key_length == MBEDTLS_AES_BLOCK_SIZE ) in mbedtls_aes_cmac_prf_128()
448 memcpy( int_key, key, MBEDTLS_AES_BLOCK_SIZE ); in mbedtls_aes_cmac_prf_128()
452 memset( zero_key, 0, MBEDTLS_AES_BLOCK_SIZE ); in mbedtls_aes_cmac_prf_128()
510 static const unsigned char aes_128_subkeys[2][MBEDTLS_AES_BLOCK_SIZE] = {
520 static const unsigned char aes_128_expected_result[NB_CMAC_TESTS_PER_KEY][MBEDTLS_AES_BLOCK_SIZE] =…
545 static const unsigned char aes_192_subkeys[2][MBEDTLS_AES_BLOCK_SIZE] = {
555 static const unsigned char aes_192_expected_result[NB_CMAC_TESTS_PER_KEY][MBEDTLS_AES_BLOCK_SIZE] =…
581 static const unsigned char aes_256_subkeys[2][MBEDTLS_AES_BLOCK_SIZE] = {
591 static const unsigned char aes_256_expected_result[NB_CMAC_TESTS_PER_KEY][MBEDTLS_AES_BLOCK_SIZE] =…
853 unsigned char output[MBEDTLS_AES_BLOCK_SIZE]; in test_aes128_cmac_prf()
860 memcmp( output, PRFT[i], MBEDTLS_AES_BLOCK_SIZE ) != 0 ) in test_aes128_cmac_prf()
889 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
903 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
916 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
930 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
943 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()
957 MBEDTLS_AES_BLOCK_SIZE, in mbedtls_cmac_self_test()