Lines Matching refs:key
70 int do_test(const uint8_t *key, uint8_t *nonce, in do_test() argument
84 tc_aes128_set_encrypt_key(&sched, key); in do_test()
136 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_1() local
163 result = do_test(key, nonce, sizeof(nonce), hdr, sizeof(hdr), in test_vector_1()
173 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_2() local
200 result = do_test(key, nonce, sizeof(nonce), hdr, sizeof(hdr), in test_vector_2()
210 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_3() local
239 result = do_test(key, nonce, sizeof(nonce), hdr, sizeof(hdr), data, in test_vector_3()
249 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_4() local
277 result = do_test(key, nonce, sizeof(nonce), hdr, sizeof(hdr), in test_vector_4()
287 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_5() local
315 result = do_test(key, nonce, sizeof(nonce), hdr, sizeof(hdr), in test_vector_5()
325 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_6() local
354 result = do_test(key, nonce, sizeof(nonce), hdr, sizeof(hdr), in test_vector_6()
364 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_7() local
389 tc_aes128_set_encrypt_key(&sched, key); in test_vector_7()
429 const uint8_t key[NUM_NIST_KEYS] = { in test_vector_8() local
453 tc_aes128_set_encrypt_key(&sched, key); in test_vector_8()