Lines Matching refs:ciphertext
79 uint8_t ciphertext[TC_CCM_MAX_CT_SIZE]; in do_test() local
94 result = tc_ccm_generation_encryption(ciphertext, TC_CCM_MAX_CT_SIZE, hdr, in do_test()
104 if (memcmp(expected, ciphertext, elen) != 0) { in do_test()
108 show_str("\t\tComputed", ciphertext, elen); in do_test()
115 hlen, ciphertext, dlen+mlen, &c); in do_test()
383 uint8_t ciphertext[TC_CCM_MAX_CT_SIZE]; in test_vector_7() local
397 result = tc_ccm_generation_encryption(ciphertext, TC_CCM_MAX_CT_SIZE, hdr, in test_vector_7()
407 0, ciphertext, sizeof(data)+mlen, &c); in test_vector_7()
447 uint8_t ciphertext[TC_CCM_MAX_CT_SIZE]; in test_vector_8() local
461 result = tc_ccm_generation_encryption(ciphertext, TC_CCM_MAX_CT_SIZE, hdr, in test_vector_8()
471 sizeof(hdr), ciphertext, mlen, &c); in test_vector_8()