Lines Matching refs:k
35 uint8_t k[] = {0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, in TEST() local
46 aes_set_key(k, sizeof(k), &ctx); in TEST()
59 Octet16 k{0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, in TEST() local
66 std::reverse(std::begin(k), std::end(k)); in TEST()
69 Octet16 output = aes_cmac(k, nullptr /* empty message */, 0); in TEST()
81 Octet16 k{0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, in TEST() local
91 std::reverse(std::begin(k), std::end(k)); in TEST()
95 Octet16 output = aes_cmac(k, m); in TEST()
108 Octet16 k{0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, in TEST() local
120 std::reverse(std::begin(k), std::end(k)); in TEST()
124 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
130 Octet16 k{0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, in TEST() local
145 std::reverse(std::begin(k), std::end(k)); in TEST()
149 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()