Lines Matching refs:ciphertext
127 uint8_t ciphertext[NUM_OF_NIST_KEYS]; in test_2() local
132 if (tc_aes_encrypt(ciphertext, nist_input, &s) == 0) { in test_2()
139 result = check_result(2, expected, sizeof(expected), ciphertext, in test_2()
140 sizeof(ciphertext)); in test_2()
151 uint8_t ciphertext[NUM_OF_NIST_KEYS]; in var_text_test() local
155 (void)tc_aes_encrypt(ciphertext, in, s); in var_text_test()
156 result = check_result(r, out, NUM_OF_NIST_KEYS, ciphertext, in var_text_test()
157 sizeof(ciphertext)); in var_text_test()
159 if (tc_aes_decrypt(decrypted, ciphertext, s) == 0) { in var_text_test()
1106 uint8_t ciphertext[NUM_OF_NIST_KEYS]; in var_key_test() local
1111 (void)tc_aes_encrypt(ciphertext, plaintext, &s); in var_key_test()
1112 result = check_result(r, out, NUM_OF_NIST_KEYS, ciphertext, in var_key_test()
1113 sizeof(ciphertext)); in var_key_test()