Lines Matching refs:BUF_LEN
53 #define BUF_LEN 16 macro
74 uint8_t zero[BUF_LEN]; in verify_gf_2_128_double()
75 uint8_t L[BUF_LEN]; in verify_gf_2_128_double()
76 const uint8_t l[BUF_LEN] = { in verify_gf_2_128_double()
80 const uint8_t k1[BUF_LEN] = { in verify_gf_2_128_double()
84 const uint8_t k2[BUF_LEN] = { in verify_gf_2_128_double()
91 if (memcmp(L, l, BUF_LEN) != 0) { in verify_gf_2_128_double()
99 if (memcmp(K1, k1, BUF_LEN) != 0) { in verify_gf_2_128_double()
107 if (memcmp(K2, k2, BUF_LEN) != 0) { in verify_gf_2_128_double()
123 const uint8_t tag[BUF_LEN] = { in verify_cmac_null_msg()
127 uint8_t Tag[BUF_LEN]; in verify_cmac_null_msg()
133 if (memcmp(Tag, tag, BUF_LEN) != 0) { in verify_cmac_null_msg()
149 const uint8_t msg[BUF_LEN] = { in verify_cmac_1_block_msg()
153 const uint8_t tag[BUF_LEN] = { in verify_cmac_1_block_msg()
157 uint8_t Tag[BUF_LEN]; in verify_cmac_1_block_msg()
163 if (memcmp(Tag, tag, BUF_LEN) != 0) { in verify_cmac_1_block_msg()
187 const uint8_t tag[BUF_LEN] = { in verify_cmac_320_bit_msg()
191 uint8_t Tag[BUF_LEN]; in verify_cmac_320_bit_msg()
197 if (memcmp(Tag, tag, BUF_LEN) != 0) { in verify_cmac_320_bit_msg()
224 const uint8_t tag[BUF_LEN] = { in verify_cmac_512_bit_msg()
228 uint8_t Tag[BUF_LEN]; in verify_cmac_512_bit_msg()
234 if (memcmp(Tag, tag, BUF_LEN) != 0) { in verify_cmac_512_bit_msg()
257 const uint8_t key[BUF_LEN] = { in ZTEST()
261 uint8_t K1[BUF_LEN], K2[BUF_LEN]; in ZTEST()