Lines Matching refs:ciphertext_len
3535 unsigned ciphertext_len; in test_kasumi_decryption_oop() local
3567 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_decryption_oop()
3570 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 8); in test_kasumi_decryption_oop()
3574 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_kasumi_decryption_oop()
3576 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_kasumi_decryption_oop()
3596 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_kasumi_decryption_oop()
3618 unsigned ciphertext_len; in test_kasumi_decryption() local
3656 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_decryption()
3659 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 8); in test_kasumi_decryption()
3662 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_kasumi_decryption()
3664 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_kasumi_decryption()
3688 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_kasumi_decryption()
4120 unsigned ciphertext_len; in test_snow3g_decryption() local
4158 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_decryption()
4161 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_decryption()
4164 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_snow3g_decryption()
4166 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_snow3g_decryption()
4189 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_snow3g_decryption()
4208 unsigned ciphertext_len; in test_snow3g_decryption_oop() local
4248 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_decryption_oop()
4251 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_decryption_oop()
4255 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_snow3g_decryption_oop()
4257 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_snow3g_decryption_oop()
4276 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_snow3g_decryption_oop()
4521 unsigned int ciphertext_len; in test_snow3g_auth_cipher() local
4587 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_auth_cipher()
4589 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_auth_cipher()
4595 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_snow3g_auth_cipher()
4599 ciphertext_len); in test_snow3g_auth_cipher()
4659 ciphertext_len); in test_snow3g_auth_cipher()
4711 unsigned int ciphertext_len; in test_snow3g_auth_cipher_sgl() local
4778 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_auth_cipher_sgl()
4780 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_auth_cipher_sgl()
4796 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_snow3g_auth_cipher_sgl()
4799 ciphertext_len, buffer); in test_snow3g_auth_cipher_sgl()
4801 ciphertext_len); in test_snow3g_auth_cipher_sgl()
4857 ciphertext_len, buffer); in test_snow3g_auth_cipher_sgl()
4860 ciphertext_len, buffer); in test_snow3g_auth_cipher_sgl()
4863 ciphertext_len); in test_snow3g_auth_cipher_sgl()
4920 unsigned int ciphertext_len; in test_kasumi_auth_cipher() local
4986 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_auth_cipher()
4988 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_kasumi_auth_cipher()
4994 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_kasumi_auth_cipher()
4998 ciphertext_len); in test_kasumi_auth_cipher()
5059 ciphertext_len); in test_kasumi_auth_cipher()
5112 unsigned int ciphertext_len; in test_kasumi_auth_cipher_sgl() local
5179 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_auth_cipher_sgl()
5181 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_kasumi_auth_cipher_sgl()
5197 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_kasumi_auth_cipher_sgl()
5200 ciphertext_len, buffer); in test_kasumi_auth_cipher_sgl()
5202 ciphertext_len); in test_kasumi_auth_cipher_sgl()
5258 ciphertext_len, buffer); in test_kasumi_auth_cipher_sgl()
5261 ciphertext_len, buffer); in test_kasumi_auth_cipher_sgl()
5264 ciphertext_len); in test_kasumi_auth_cipher_sgl()
5727 unsigned int ciphertext_len; in test_zuc_auth_cipher() local
5797 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_zuc_auth_cipher()
5799 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_zuc_auth_cipher()
5805 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_zuc_auth_cipher()
5809 ciphertext_len); in test_zuc_auth_cipher()
5870 ciphertext_len); in test_zuc_auth_cipher()
5923 unsigned int ciphertext_len; in test_zuc_auth_cipher_sgl() local
5984 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_zuc_auth_cipher_sgl()
5986 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_zuc_auth_cipher_sgl()
6002 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_zuc_auth_cipher_sgl()
6005 ciphertext_len, buffer); in test_zuc_auth_cipher_sgl()
6007 ciphertext_len); in test_zuc_auth_cipher_sgl()
6063 ciphertext_len, buffer); in test_zuc_auth_cipher_sgl()
6066 ciphertext_len, buffer); in test_zuc_auth_cipher_sgl()
6069 ciphertext_len); in test_zuc_auth_cipher_sgl()
6754 unsigned int ciphertext_len; in test_mixed_auth_cipher() local
6811 ciphertext_len = ceil_byte_length(tdata->ciphertext.len_bits); in test_mixed_auth_cipher()
6813 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_mixed_auth_cipher()
6819 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_mixed_auth_cipher()
6823 ciphertext_len); in test_mixed_auth_cipher()
6888 ciphertext_len); in test_mixed_auth_cipher()
6946 unsigned int ciphertext_len; in test_mixed_auth_cipher_sgl() local
7005 ciphertext_len = ceil_byte_length(tdata->ciphertext.len_bits); in test_mixed_auth_cipher_sgl()
7007 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_mixed_auth_cipher_sgl()
7023 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_mixed_auth_cipher_sgl()
7026 ciphertext_len, buffer); in test_mixed_auth_cipher_sgl()
7028 ciphertext_len); in test_mixed_auth_cipher_sgl()
7091 ciphertext_len, buffer); in test_mixed_auth_cipher_sgl()
7094 ciphertext_len, buffer); in test_mixed_auth_cipher_sgl()
7097 ciphertext_len); in test_mixed_auth_cipher_sgl()