Lines Matching refs:digest
98 uint8_t *digest; member
130 const uint8_t *digest,
196 struct rte_crypto_va_iova_ptr cipher_iv, digest, aad_auth_iv; in process_sym_raw_dp_op() local
241 digest.iova = 0; in process_sym_raw_dp_op()
242 digest.va = NULL; in process_sym_raw_dp_op()
247 vec.digest = &digest; in process_sym_raw_dp_op()
280 digest.va = (void *)sop->auth.digest.data; in process_sym_raw_dp_op()
281 digest.iova = sop->auth.digest.phys_addr; in process_sym_raw_dp_op()
303 (digest.iova == auth_end_iova) && is_sgl) in process_sym_raw_dp_op()
337 digest.va = (void *)sop->auth.digest.data; in process_sym_raw_dp_op()
338 digest.iova = sop->auth.digest.phys_addr; in process_sym_raw_dp_op()
355 digest.va = (void *)sop->aead.digest.data; in process_sym_raw_dp_op()
356 digest.iova = sop->aead.digest.phys_addr; in process_sym_raw_dp_op()
453 symvec.digest = &digest_ptr; in process_cpu_aead_op()
460 digest_ptr.va = (void *)sop->aead.digest.data; in process_cpu_aead_op()
499 symvec.digest = &digest_ptr; in process_cpu_crypt_auth_op()
504 digest_ptr.va = (void *)sop->auth.digest.data; in process_cpu_crypt_auth_op()
2169 ut_params->digest = (uint8_t *)rte_pktmbuf_append(ut_params->ibuf, in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2171 TEST_ASSERT_NOT_NULL(ut_params->digest, "no room to append digest"); in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2223 sym_op->auth.digest.data = ut_params->digest; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2224 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2260 uint8_t *digest = ciphertext + QUOTE_512_BYTES; in test_AES_CBC_HMAC_SHA1_encrypt_digest() local
2262 TEST_ASSERT_BUFFERS_ARE_EQUAL(digest, in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2310 const uint8_t *digest,
2351 const uint8_t *digest, in test_AES_CBC_HMAC_SHA512_decrypt_perform() argument
2360 ut_params->digest = (uint8_t *)rte_pktmbuf_append(ut_params->ibuf, in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2362 TEST_ASSERT_NOT_NULL(ut_params->digest, "no room to append digest"); in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2364 rte_memcpy(ut_params->digest, in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2365 digest, in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2381 sym_op->auth.digest.data = ut_params->digest; in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2382 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in test_AES_CBC_HMAC_SHA512_decrypt_perform()
2649 const uint8_t auth_len = tdata->digest.len; in create_wireless_cipher_auth_session()
2804 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in create_wireless_algo_hash_operation()
2807 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_wireless_algo_hash_operation()
2809 ut_params->digest = sym_op->auth.digest.data; in create_wireless_algo_hash_operation()
2810 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_wireless_algo_hash_operation()
2813 memset(sym_op->auth.digest.data, 0, auth_tag_len); in create_wireless_algo_hash_operation()
2815 rte_memcpy(sym_op->auth.digest.data, auth_tag, auth_tag_len); in create_wireless_algo_hash_operation()
2818 sym_op->auth.digest.data, in create_wireless_algo_hash_operation()
2834 const uint8_t *auth_tag = tdata->digest.data; in create_wireless_cipher_hash_operation()
2835 const unsigned int auth_tag_len = tdata->digest.len; in create_wireless_cipher_hash_operation()
2860 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in create_wireless_cipher_hash_operation()
2863 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_wireless_cipher_hash_operation()
2865 ut_params->digest = sym_op->auth.digest.data; in create_wireless_cipher_hash_operation()
2866 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_wireless_cipher_hash_operation()
2869 memset(sym_op->auth.digest.data, 0, auth_tag_len); in create_wireless_cipher_hash_operation()
2871 rte_memcpy(sym_op->auth.digest.data, auth_tag, auth_tag_len); in create_wireless_cipher_hash_operation()
2874 sym_op->auth.digest.data, in create_wireless_cipher_hash_operation()
2932 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in create_wireless_algo_cipher_hash_operation()
2935 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_wireless_algo_cipher_hash_operation()
2937 ut_params->digest = sym_op->auth.digest.data; in create_wireless_algo_cipher_hash_operation()
2940 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_wireless_algo_cipher_hash_operation()
2950 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_wireless_algo_cipher_hash_operation()
2955 memset(sym_op->auth.digest.data, 0, auth_tag_len); in create_wireless_algo_cipher_hash_operation()
2957 rte_memcpy(sym_op->auth.digest.data, auth_tag, auth_tag_len); in create_wireless_algo_cipher_hash_operation()
2960 sym_op->auth.digest.data, in create_wireless_algo_cipher_hash_operation()
3029 sym_op->auth.digest.data = rte_pktmbuf_mtod_offset( in create_wireless_algo_auth_cipher_operation()
3033 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_wireless_algo_auth_cipher_operation()
3037 memset(sym_op->auth.digest.data, 0, auth_tag_len); in create_wireless_algo_auth_cipher_operation()
3046 sym_op->auth.digest.data = rte_pktmbuf_mtod_offset(sgl_buf, in create_wireless_algo_auth_cipher_operation()
3048 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset(sgl_buf, in create_wireless_algo_auth_cipher_operation()
3050 memset(sym_op->auth.digest.data, 0, remaining_off); in create_wireless_algo_auth_cipher_operation()
3060 memcpy(sym_op->auth.digest.data, auth_tag, auth_tag_len); in create_wireless_algo_auth_cipher_operation()
3149 tdata->auth_iv.len, tdata->digest.len, in test_snow3g_authentication()
3170 retval = create_wireless_algo_hash_operation(NULL, tdata->digest.len, in test_snow3g_authentication()
3186 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_snow3g_authentication()
3191 ut_params->digest, in test_snow3g_authentication()
3192 tdata->digest.data, in test_snow3g_authentication()
3240 tdata->auth_iv.len, tdata->digest.len, in test_snow3g_authentication_verify()
3260 retval = create_wireless_algo_hash_operation(tdata->digest.data, in test_snow3g_authentication_verify()
3261 tdata->digest.len, in test_snow3g_authentication_verify()
3278 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_snow3g_authentication_verify()
3325 0, tdata->digest.len, in test_kasumi_authentication()
3346 retval = create_wireless_algo_hash_operation(NULL, tdata->digest.len, in test_kasumi_authentication()
3366 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_kasumi_authentication()
3371 ut_params->digest, in test_kasumi_authentication()
3372 tdata->digest.data, in test_kasumi_authentication()
3414 0, tdata->digest.len, in test_kasumi_authentication_verify()
3434 retval = create_wireless_algo_hash_operation(tdata->digest.data, in test_kasumi_authentication_verify()
3435 tdata->digest.len, in test_kasumi_authentication_verify()
3452 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_kasumi_authentication_verify()
4877 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_zuc_cipher_auth()
4882 ut_params->digest, in test_zuc_cipher_auth()
4883 tdata->digest.data, in test_zuc_cipher_auth()
4934 tdata->auth_iv.len, tdata->digest.len, in test_snow3g_cipher_auth()
4955 retval = create_wireless_algo_cipher_hash_operation(tdata->digest.data, in test_snow3g_cipher_auth()
4956 tdata->digest.len, tdata->auth_iv.data, in test_snow3g_cipher_auth()
4989 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_snow3g_cipher_auth()
4994 ut_params->digest, in test_snow3g_cipher_auth()
4995 tdata->digest.data, in test_snow3g_cipher_auth()
5063 tdata->auth_iv.len, tdata->digest.len, in test_snow3g_auth_cipher()
5103 tdata->digest.data, tdata->digest.len, in test_snow3g_auth_cipher()
5106 (tdata->digest.offset_bytes == 0 ? in test_snow3g_auth_cipher()
5108 : tdata->digest.offset_bytes), in test_snow3g_auth_cipher()
5139 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_snow3g_auth_cipher()
5142 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_snow3g_auth_cipher()
5155 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_snow3g_auth_cipher()
5156 + (tdata->digest.offset_bytes == 0 ? in test_snow3g_auth_cipher()
5157 plaintext_pad_len : tdata->digest.offset_bytes); in test_snow3g_auth_cipher()
5159 debug_hexdump(stdout, "digest:", ut_params->digest, in test_snow3g_auth_cipher()
5160 tdata->digest.len); in test_snow3g_auth_cipher()
5161 debug_hexdump(stdout, "digest expected:", tdata->digest.data, in test_snow3g_auth_cipher()
5162 tdata->digest.len); in test_snow3g_auth_cipher()
5171 (tdata->digest.len << 3)), in test_snow3g_auth_cipher()
5184 ut_params->digest, in test_snow3g_auth_cipher()
5185 tdata->digest.data, in test_snow3g_auth_cipher()
5203 const uint8_t *digest = NULL; in test_snow3g_auth_cipher_sgl() local
5268 tdata->auth_iv.len, tdata->digest.len, in test_snow3g_auth_cipher_sgl()
5310 tdata->digest.data, tdata->digest.len, in test_snow3g_auth_cipher_sgl()
5313 (tdata->digest.offset_bytes == 0 ? in test_snow3g_auth_cipher_sgl()
5315 : tdata->digest.offset_bytes), in test_snow3g_auth_cipher_sgl()
5346 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_snow3g_auth_cipher_sgl()
5349 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_snow3g_auth_cipher_sgl()
5364 digest = rte_pktmbuf_read(ut_params->obuf, in test_snow3g_auth_cipher_sgl()
5365 (tdata->digest.offset_bytes == 0 ? in test_snow3g_auth_cipher_sgl()
5366 plaintext_pad_len : tdata->digest.offset_bytes), in test_snow3g_auth_cipher_sgl()
5367 tdata->digest.len, digest_buffer); in test_snow3g_auth_cipher_sgl()
5369 digest = rte_pktmbuf_read(ut_params->ibuf, in test_snow3g_auth_cipher_sgl()
5370 (tdata->digest.offset_bytes == 0 ? in test_snow3g_auth_cipher_sgl()
5371 plaintext_pad_len : tdata->digest.offset_bytes), in test_snow3g_auth_cipher_sgl()
5372 tdata->digest.len, digest_buffer); in test_snow3g_auth_cipher_sgl()
5374 debug_hexdump(stdout, "digest:", digest, in test_snow3g_auth_cipher_sgl()
5375 tdata->digest.len); in test_snow3g_auth_cipher_sgl()
5377 tdata->digest.data, tdata->digest.len); in test_snow3g_auth_cipher_sgl()
5386 (tdata->digest.len << 3)), in test_snow3g_auth_cipher_sgl()
5399 digest, in test_snow3g_auth_cipher_sgl()
5400 tdata->digest.data, in test_snow3g_auth_cipher_sgl()
5469 0, tdata->digest.len, in test_kasumi_auth_cipher()
5511 tdata->digest.data, tdata->digest.len, in test_kasumi_auth_cipher()
5514 (tdata->digest.offset_bytes == 0 ? in test_kasumi_auth_cipher()
5516 : tdata->digest.offset_bytes), in test_kasumi_auth_cipher()
5547 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_kasumi_auth_cipher()
5550 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_kasumi_auth_cipher()
5563 ut_params->digest = rte_pktmbuf_mtod( in test_kasumi_auth_cipher()
5565 (tdata->digest.offset_bytes == 0 ? in test_kasumi_auth_cipher()
5566 plaintext_pad_len : tdata->digest.offset_bytes); in test_kasumi_auth_cipher()
5568 debug_hexdump(stdout, "digest:", ut_params->digest, in test_kasumi_auth_cipher()
5569 tdata->digest.len); in test_kasumi_auth_cipher()
5571 tdata->digest.data, tdata->digest.len); in test_kasumi_auth_cipher()
5589 ut_params->digest, in test_kasumi_auth_cipher()
5590 tdata->digest.data, in test_kasumi_auth_cipher()
5608 const uint8_t *digest = NULL; in test_kasumi_auth_cipher_sgl() local
5673 0, tdata->digest.len, in test_kasumi_auth_cipher_sgl()
5715 tdata->digest.data, tdata->digest.len, in test_kasumi_auth_cipher_sgl()
5718 (tdata->digest.offset_bytes == 0 ? in test_kasumi_auth_cipher_sgl()
5720 : tdata->digest.offset_bytes), in test_kasumi_auth_cipher_sgl()
5751 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_kasumi_auth_cipher_sgl()
5754 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_kasumi_auth_cipher_sgl()
5769 digest = rte_pktmbuf_read(ut_params->obuf, in test_kasumi_auth_cipher_sgl()
5770 (tdata->digest.offset_bytes == 0 ? in test_kasumi_auth_cipher_sgl()
5771 plaintext_pad_len : tdata->digest.offset_bytes), in test_kasumi_auth_cipher_sgl()
5772 tdata->digest.len, digest_buffer); in test_kasumi_auth_cipher_sgl()
5774 digest = rte_pktmbuf_read(ut_params->ibuf, in test_kasumi_auth_cipher_sgl()
5775 (tdata->digest.offset_bytes == 0 ? in test_kasumi_auth_cipher_sgl()
5776 plaintext_pad_len : tdata->digest.offset_bytes), in test_kasumi_auth_cipher_sgl()
5777 tdata->digest.len, digest_buffer); in test_kasumi_auth_cipher_sgl()
5779 debug_hexdump(stdout, "digest:", digest, in test_kasumi_auth_cipher_sgl()
5780 tdata->digest.len); in test_kasumi_auth_cipher_sgl()
5782 tdata->digest.data, tdata->digest.len); in test_kasumi_auth_cipher_sgl()
5800 digest, in test_kasumi_auth_cipher_sgl()
5801 tdata->digest.data, in test_kasumi_auth_cipher_sgl()
5854 0, tdata->digest.len, in test_kasumi_cipher_auth()
5876 retval = create_wireless_algo_cipher_hash_operation(tdata->digest.data, in test_kasumi_cipher_auth()
5877 tdata->digest.len, NULL, 0, in test_kasumi_cipher_auth()
5904 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_kasumi_cipher_auth()
5918 ut_params->digest, in test_kasumi_cipher_auth()
5919 tdata->digest.data, in test_kasumi_cipher_auth()
6200 tdata->digest.len) < 0) in test_zuc_authentication()
6206 tdata->auth_iv.len, tdata->digest.len, in test_zuc_authentication()
6227 retval = create_wireless_algo_hash_operation(NULL, tdata->digest.len, in test_zuc_authentication()
6243 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_zuc_authentication()
6248 ut_params->digest, in test_zuc_authentication()
6249 tdata->digest.data, in test_zuc_authentication()
6250 tdata->digest.len, in test_zuc_authentication()
6281 tdata->digest.len) < 0) in test_zuc_auth_cipher()
6324 tdata->auth_iv.len, tdata->digest.len, in test_zuc_auth_cipher()
6366 tdata->digest.data, tdata->digest.len, in test_zuc_auth_cipher()
6369 (tdata->digest.offset_bytes == 0 ? in test_zuc_auth_cipher()
6371 : tdata->digest.offset_bytes), in test_zuc_auth_cipher()
6402 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_zuc_auth_cipher()
6405 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_zuc_auth_cipher()
6418 ut_params->digest = rte_pktmbuf_mtod( in test_zuc_auth_cipher()
6420 (tdata->digest.offset_bytes == 0 ? in test_zuc_auth_cipher()
6421 plaintext_pad_len : tdata->digest.offset_bytes); in test_zuc_auth_cipher()
6423 debug_hexdump(stdout, "digest:", ut_params->digest, in test_zuc_auth_cipher()
6424 tdata->digest.len); in test_zuc_auth_cipher()
6426 tdata->digest.data, tdata->digest.len); in test_zuc_auth_cipher()
6444 ut_params->digest, in test_zuc_auth_cipher()
6445 tdata->digest.data, in test_zuc_auth_cipher()
6463 const uint8_t *digest = NULL; in test_zuc_auth_cipher_sgl() local
6481 tdata->digest.len) < 0) in test_zuc_auth_cipher_sgl()
6524 tdata->auth_iv.len, tdata->digest.len, in test_zuc_auth_cipher_sgl()
6566 tdata->digest.data, tdata->digest.len, in test_zuc_auth_cipher_sgl()
6569 (tdata->digest.offset_bytes == 0 ? in test_zuc_auth_cipher_sgl()
6571 : tdata->digest.offset_bytes), in test_zuc_auth_cipher_sgl()
6602 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_zuc_auth_cipher_sgl()
6605 (tdata->plaintext.len >> 3) - tdata->digest.len); in test_zuc_auth_cipher_sgl()
6620 digest = rte_pktmbuf_read(ut_params->obuf, in test_zuc_auth_cipher_sgl()
6621 (tdata->digest.offset_bytes == 0 ? in test_zuc_auth_cipher_sgl()
6622 plaintext_pad_len : tdata->digest.offset_bytes), in test_zuc_auth_cipher_sgl()
6623 tdata->digest.len, digest_buffer); in test_zuc_auth_cipher_sgl()
6625 digest = rte_pktmbuf_read(ut_params->ibuf, in test_zuc_auth_cipher_sgl()
6626 (tdata->digest.offset_bytes == 0 ? in test_zuc_auth_cipher_sgl()
6627 plaintext_pad_len : tdata->digest.offset_bytes), in test_zuc_auth_cipher_sgl()
6628 tdata->digest.len, digest_buffer); in test_zuc_auth_cipher_sgl()
6630 debug_hexdump(stdout, "digest:", digest, in test_zuc_auth_cipher_sgl()
6631 tdata->digest.len); in test_zuc_auth_cipher_sgl()
6633 tdata->digest.data, tdata->digest.len); in test_zuc_auth_cipher_sgl()
6651 digest, in test_zuc_auth_cipher_sgl()
6652 tdata->digest.data, in test_zuc_auth_cipher_sgl()
6855 output->digest.len = pattern->digest.len; in snow3g_hash_test_vector_setup()
6857 memcpy(output->digest.data, in snow3g_hash_test_vector_setup()
6858 &pattern->plaintext.data[pattern->digest.offset_bytes], in snow3g_hash_test_vector_setup()
6859 pattern->digest.len); in snow3g_hash_test_vector_setup()
7491 ut_params->digest = rte_pktmbuf_mtod(ut_params->obuf, uint8_t *) in test_mixed_auth_cipher()
7495 debug_hexdump(stdout, "digest:", ut_params->digest, in test_mixed_auth_cipher()
7504 ut_params->digest, in test_mixed_auth_cipher()
7543 const uint8_t *digest = NULL; in test_mixed_auth_cipher_sgl() local
7704 digest = rte_pktmbuf_read(ut_params->obuf, in test_mixed_auth_cipher_sgl()
7710 digest = rte_pktmbuf_read(ut_params->ibuf, in test_mixed_auth_cipher_sgl()
7716 debug_hexdump(stdout, "digest:", digest, in test_mixed_auth_cipher_sgl()
7724 digest, in test_mixed_auth_cipher_sgl()
8169 sym_op->aead.digest.data = (uint8_t *)rte_pktmbuf_append( in create_aead_operation()
8173 TEST_ASSERT_NOT_NULL(sym_op->aead.digest.data, in create_aead_operation()
8175 memset(sym_op->aead.digest.data, 0, tdata->auth_tag.len); in create_aead_operation()
8176 sym_op->aead.digest.phys_addr = rte_pktmbuf_iova_offset( in create_aead_operation()
8182 sym_op->aead.digest.data = (uint8_t *)rte_pktmbuf_append( in create_aead_operation()
8184 TEST_ASSERT_NOT_NULL(sym_op->aead.digest.data, in create_aead_operation()
8186 sym_op->aead.digest.phys_addr = rte_pktmbuf_iova_offset( in create_aead_operation()
8190 rte_memcpy(sym_op->aead.digest.data, tdata->auth_tag.data, in create_aead_operation()
8193 sym_op->aead.digest.data, in create_aead_operation()
11843 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in MD5_HMAC_create_op()
11845 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in MD5_HMAC_create_op()
11847 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in MD5_HMAC_create_op()
11851 rte_memcpy(sym_op->auth.digest.data, test_case->auth_tag.data, in MD5_HMAC_create_op()
12125 const uint8_t *digest; member
12144 .digest = ms_hmac_digest0, in test_multi_session_random_usage()
12151 .digest = ms_hmac_digest1, in test_multi_session_random_usage()
12158 .digest = ms_hmac_digest2, in test_multi_session_random_usage()
12221 ut_paramz[j].digest, in test_multi_session_random_usage()
12672 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in create_gmac_operation()
12674 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_gmac_operation()
12677 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_gmac_operation()
12681 rte_memcpy(sym_op->auth.digest.data, tdata->gmac_tag.data, in create_gmac_operation()
12684 sym_op->auth.digest.data, in create_gmac_operation()
12721 sym_op->auth.digest.data = digest_mem; in create_gmac_operation_sgl()
12722 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_gmac_operation_sgl()
12725 sym_op->auth.digest.phys_addr = digest_phys; in create_gmac_operation_sgl()
12728 rte_memcpy(sym_op->auth.digest.data, tdata->gmac_tag.data, in create_gmac_operation_sgl()
12731 sym_op->auth.digest.data, in create_gmac_operation_sgl()
13240 } digest; member
13258 .digest = {
13289 .digest = {
13335 .digest = {
13382 .digest = {
13423 ut_params->auth_xform.auth.digest_length = reference->digest.len; in create_auth_session()
13459 ut_params->auth_xform.auth.digest_length = reference->digest.len; in create_auth_cipher_session()
13511 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in create_auth_operation()
13512 ut_params->ibuf, reference->digest.len); in create_auth_operation()
13514 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_auth_operation()
13517 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_auth_operation()
13521 memset(sym_op->auth.digest.data, 0, reference->digest.len); in create_auth_operation()
13523 memcpy(sym_op->auth.digest.data, in create_auth_operation()
13524 reference->digest.data, in create_auth_operation()
13525 reference->digest.len); in create_auth_operation()
13528 sym_op->auth.digest.data, in create_auth_operation()
13529 reference->digest.len); in create_auth_operation()
13558 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in create_auth_GMAC_operation()
13559 ut_params->ibuf, reference->digest.len); in create_auth_GMAC_operation()
13561 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_auth_GMAC_operation()
13564 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_auth_GMAC_operation()
13568 memset(sym_op->auth.digest.data, 0, reference->digest.len); in create_auth_GMAC_operation()
13570 memcpy(sym_op->auth.digest.data, in create_auth_GMAC_operation()
13571 reference->digest.data, in create_auth_GMAC_operation()
13572 reference->digest.len); in create_auth_GMAC_operation()
13575 sym_op->auth.digest.data, in create_auth_GMAC_operation()
13576 reference->digest.len); in create_auth_GMAC_operation()
13611 sym_op->auth.digest.data = (uint8_t *)rte_pktmbuf_append( in create_cipher_auth_operation()
13612 ut_params->ibuf, reference->digest.len); in create_cipher_auth_operation()
13614 TEST_ASSERT_NOT_NULL(sym_op->auth.digest.data, in create_cipher_auth_operation()
13617 sym_op->auth.digest.phys_addr = rte_pktmbuf_iova_offset( in create_cipher_auth_operation()
13621 memset(sym_op->auth.digest.data, 0, reference->digest.len); in create_cipher_auth_operation()
13623 memcpy(sym_op->auth.digest.data, in create_cipher_auth_operation()
13624 reference->digest.data, in create_cipher_auth_operation()
13625 reference->digest.len); in create_cipher_auth_operation()
13628 sym_op->auth.digest.data, in create_cipher_auth_operation()
13629 reference->digest.len); in create_cipher_auth_operation()
13991 ut_params->auth_xform.auth.digest_length = reference->digest.len; in test_authenticated_encrypt_with_esn()
14052 debug_hexdump(stdout, "auth tag:", auth_tag, reference->digest.len); in test_authenticated_encrypt_with_esn()
14063 reference->digest.data, in test_authenticated_encrypt_with_esn()
14064 reference->digest.len, in test_authenticated_encrypt_with_esn()
14117 ut_params->auth_xform.auth.digest_length = reference->digest.len; in test_authenticated_decrypt_with_esn()
14209 sym_op->aead.digest.data = digest_mem; in create_aead_operation_SGL()
14211 TEST_ASSERT_NOT_NULL(sym_op->aead.digest.data, in create_aead_operation_SGL()
14214 sym_op->aead.digest.phys_addr = digest_phys; in create_aead_operation_SGL()
14217 rte_memcpy(sym_op->aead.digest.data, tdata->auth_tag.data, in create_aead_operation_SGL()
14220 sym_op->aead.digest.data, in create_aead_operation_SGL()