Lines Matching refs:ciphertext_len
3987 unsigned ciphertext_len; in test_kasumi_decryption_oop() local
4019 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_decryption_oop()
4022 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 8); in test_kasumi_decryption_oop()
4026 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_kasumi_decryption_oop()
4028 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_kasumi_decryption_oop()
4048 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_kasumi_decryption_oop()
4070 unsigned ciphertext_len; in test_kasumi_decryption() local
4108 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_decryption()
4111 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 8); in test_kasumi_decryption()
4114 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_kasumi_decryption()
4116 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_kasumi_decryption()
4140 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_kasumi_decryption()
4600 unsigned ciphertext_len; in test_snow3g_decryption() local
4638 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_decryption()
4641 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_decryption()
4644 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_snow3g_decryption()
4646 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_snow3g_decryption()
4669 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_snow3g_decryption()
4688 unsigned ciphertext_len; in test_snow3g_decryption_oop() local
4737 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_decryption_oop()
4740 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_decryption_oop()
4744 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_snow3g_decryption_oop()
4746 debug_hexdump(stdout, "ciphertext:", ciphertext, ciphertext_len); in test_snow3g_decryption_oop()
4769 debug_hexdump(stdout, "plaintext:", plaintext, ciphertext_len); in test_snow3g_decryption_oop()
5014 unsigned int ciphertext_len; in test_snow3g_auth_cipher() local
5079 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_auth_cipher()
5081 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_auth_cipher()
5087 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_snow3g_auth_cipher()
5091 ciphertext_len); in test_snow3g_auth_cipher()
5151 ciphertext_len); in test_snow3g_auth_cipher()
5207 unsigned int ciphertext_len; in test_snow3g_auth_cipher_sgl() local
5274 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_snow3g_auth_cipher_sgl()
5276 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_snow3g_auth_cipher_sgl()
5292 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_snow3g_auth_cipher_sgl()
5295 ciphertext_len, buffer); in test_snow3g_auth_cipher_sgl()
5297 ciphertext_len); in test_snow3g_auth_cipher_sgl()
5353 ciphertext_len, buffer); in test_snow3g_auth_cipher_sgl()
5356 ciphertext_len, buffer); in test_snow3g_auth_cipher_sgl()
5359 ciphertext_len); in test_snow3g_auth_cipher_sgl()
5420 unsigned int ciphertext_len; in test_kasumi_auth_cipher() local
5486 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_auth_cipher()
5488 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_kasumi_auth_cipher()
5494 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_kasumi_auth_cipher()
5498 ciphertext_len); in test_kasumi_auth_cipher()
5559 ciphertext_len); in test_kasumi_auth_cipher()
5612 unsigned int ciphertext_len; in test_kasumi_auth_cipher_sgl() local
5679 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_kasumi_auth_cipher_sgl()
5681 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_kasumi_auth_cipher_sgl()
5697 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_kasumi_auth_cipher_sgl()
5700 ciphertext_len, buffer); in test_kasumi_auth_cipher_sgl()
5702 ciphertext_len); in test_kasumi_auth_cipher_sgl()
5758 ciphertext_len, buffer); in test_kasumi_auth_cipher_sgl()
5761 ciphertext_len, buffer); in test_kasumi_auth_cipher_sgl()
5764 ciphertext_len); in test_kasumi_auth_cipher_sgl()
6269 unsigned int ciphertext_len; in test_zuc_auth_cipher() local
6341 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_zuc_auth_cipher()
6343 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_zuc_auth_cipher()
6349 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_zuc_auth_cipher()
6351 ciphertext_len); in test_zuc_auth_cipher()
6414 ciphertext_len); in test_zuc_auth_cipher()
6467 unsigned int ciphertext_len; in test_zuc_auth_cipher_sgl() local
6530 ciphertext_len = ceil_byte_length(tdata->ciphertext.len); in test_zuc_auth_cipher_sgl()
6532 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_zuc_auth_cipher_sgl()
6548 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_zuc_auth_cipher_sgl()
6551 ciphertext_len, buffer); in test_zuc_auth_cipher_sgl()
6553 ciphertext_len); in test_zuc_auth_cipher_sgl()
6609 ciphertext_len, buffer); in test_zuc_auth_cipher_sgl()
6612 ciphertext_len, buffer); in test_zuc_auth_cipher_sgl()
6615 ciphertext_len); in test_zuc_auth_cipher_sgl()
7352 unsigned int ciphertext_len; in test_mixed_auth_cipher() local
7409 ciphertext_len = ceil_byte_length(tdata->ciphertext.len_bits); in test_mixed_auth_cipher()
7411 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_mixed_auth_cipher()
7417 memcpy(ciphertext, tdata->ciphertext.data, ciphertext_len); in test_mixed_auth_cipher()
7419 ciphertext_len); in test_mixed_auth_cipher()
7486 ciphertext_len); in test_mixed_auth_cipher()
7547 unsigned int ciphertext_len; in test_mixed_auth_cipher_sgl() local
7606 ciphertext_len = ceil_byte_length(tdata->ciphertext.len_bits); in test_mixed_auth_cipher_sgl()
7608 ciphertext_pad_len = RTE_ALIGN_CEIL(ciphertext_len, 16); in test_mixed_auth_cipher_sgl()
7624 pktmbuf_write(ut_params->ibuf, 0, ciphertext_len, in test_mixed_auth_cipher_sgl()
7627 ciphertext_len, buffer); in test_mixed_auth_cipher_sgl()
7629 ciphertext_len); in test_mixed_auth_cipher_sgl()
7692 ciphertext_len, buffer); in test_mixed_auth_cipher_sgl()
7695 ciphertext_len, buffer); in test_mixed_auth_cipher_sgl()
7698 ciphertext_len); in test_mixed_auth_cipher_sgl()