Searched refs:K2 (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | cmac_mode.c | 68 static uint32_t verify_gf_2_128_double(uint8_t *K1, uint8_t *K2, struct tc_cmac_struct s) in verify_gf_2_128_double() argument 106 gf_double(K2, K1); in verify_gf_2_128_double() 107 if (memcmp(K2, k2, BUF_LEN) != 0) { in verify_gf_2_128_double() 110 show("computed K2 =", K2, sizeof(k2)); in verify_gf_2_128_double() 261 uint8_t K1[BUF_LEN], K2[BUF_LEN]; in ZTEST() local 265 result = verify_gf_2_128_double(K1, K2, state); in ZTEST()
|