Lines Matching refs:auth_xform
79 struct rte_crypto_sym_xform auth_xform; member
306 ut_params->auth_xform.auth.digest_length); in process_sym_raw_dp_op()
2175 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2185 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2187 ut_params->auth_xform.next = NULL; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2189 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2190 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_SHA1_HMAC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2191 ut_params->auth_xform.auth.key.length = HMAC_KEY_LENGTH_SHA1; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2192 ut_params->auth_xform.auth.key.data = hmac_sha1_key; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2193 ut_params->auth_xform.auth.digest_length = DIGEST_BYTE_LENGTH_SHA1; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2333 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2334 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2336 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_VERIFY; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2337 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_SHA512_HMAC; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2338 ut_params->auth_xform.auth.key.data = hmac_key; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2339 ut_params->auth_xform.auth.key.length = HMAC_KEY_LENGTH_SHA512; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2340 ut_params->auth_xform.auth.digest_length = DIGEST_BYTE_LENGTH_SHA512; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2446 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_algo_hash_session()
2447 ut_params->auth_xform.next = NULL; in create_wireless_algo_hash_session()
2449 ut_params->auth_xform.auth.op = op; in create_wireless_algo_hash_session()
2450 ut_params->auth_xform.auth.algo = algo; in create_wireless_algo_hash_session()
2451 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_algo_hash_session()
2452 ut_params->auth_xform.auth.key.data = hash_key; in create_wireless_algo_hash_session()
2453 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_algo_hash_session()
2454 ut_params->auth_xform.auth.iv.offset = IV_OFFSET; in create_wireless_algo_hash_session()
2455 ut_params->auth_xform.auth.iv.length = iv_len; in create_wireless_algo_hash_session()
2460 &ut_params->auth_xform, in create_wireless_algo_hash_session()
2593 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_algo_cipher_auth_session()
2594 ut_params->auth_xform.next = NULL; in create_wireless_algo_cipher_auth_session()
2596 ut_params->auth_xform.auth.op = auth_op; in create_wireless_algo_cipher_auth_session()
2597 ut_params->auth_xform.auth.algo = auth_algo; in create_wireless_algo_cipher_auth_session()
2598 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_algo_cipher_auth_session()
2600 ut_params->auth_xform.auth.key.data = cipher_auth_key; in create_wireless_algo_cipher_auth_session()
2601 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_algo_cipher_auth_session()
2603 ut_params->auth_xform.auth.iv.offset = IV_OFFSET + cipher_iv_len; in create_wireless_algo_cipher_auth_session()
2604 ut_params->auth_xform.auth.iv.length = auth_iv_len; in create_wireless_algo_cipher_auth_session()
2608 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_cipher_auth_session()
2656 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_cipher_auth_session()
2657 ut_params->auth_xform.next = NULL; in create_wireless_cipher_auth_session()
2659 ut_params->auth_xform.auth.op = auth_op; in create_wireless_cipher_auth_session()
2660 ut_params->auth_xform.auth.algo = auth_algo; in create_wireless_cipher_auth_session()
2661 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_cipher_auth_session()
2663 ut_params->auth_xform.auth.key.data = cipher_auth_key; in create_wireless_cipher_auth_session()
2664 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_cipher_auth_session()
2666 ut_params->auth_xform.auth.iv.offset = IV_OFFSET + cipher_iv_len; in create_wireless_cipher_auth_session()
2667 ut_params->auth_xform.auth.iv.length = auth_iv_len; in create_wireless_cipher_auth_session()
2671 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_cipher_auth_session()
2726 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_algo_auth_cipher_session()
2727 ut_params->auth_xform.auth.op = auth_op; in create_wireless_algo_auth_cipher_session()
2728 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_wireless_algo_auth_cipher_session()
2729 ut_params->auth_xform.auth.algo = auth_algo; in create_wireless_algo_auth_cipher_session()
2730 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_algo_auth_cipher_session()
2731 ut_params->auth_xform.auth.key.data = auth_cipher_key; in create_wireless_algo_auth_cipher_session()
2732 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_algo_auth_cipher_session()
2734 ut_params->auth_xform.auth.iv.offset = IV_OFFSET + cipher_iv_len; in create_wireless_algo_auth_cipher_session()
2735 ut_params->auth_xform.auth.iv.length = auth_iv_len; in create_wireless_algo_auth_cipher_session()
2755 ut_params->auth_xform.next = NULL; in create_wireless_algo_auth_cipher_session()
2756 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_auth_cipher_session()
2763 &ut_params->auth_xform, in create_wireless_algo_auth_cipher_session()
2916 ut_params->auth_xform.auth.algo; in create_wireless_algo_cipher_hash_operation()
3009 ut_params->auth_xform.auth.algo; in create_wireless_algo_auth_cipher_operation()
8415 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_pdcp_proto()
8416 ut_params->auth_xform.next = NULL; in test_pdcp_proto()
8417 ut_params->auth_xform.auth.algo = auth_alg; in test_pdcp_proto()
8418 ut_params->auth_xform.auth.op = opa; in test_pdcp_proto()
8419 ut_params->auth_xform.auth.key.data = auth_key; in test_pdcp_proto()
8420 ut_params->auth_xform.auth.key.length = auth_key_len; in test_pdcp_proto()
8422 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto()
8695 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_pdcp_proto_SGL()
8696 ut_params->auth_xform.next = NULL; in test_pdcp_proto_SGL()
8697 ut_params->auth_xform.auth.algo = pdcp_test_params[i].auth_alg; in test_pdcp_proto_SGL()
8698 ut_params->auth_xform.auth.op = opa; in test_pdcp_proto_SGL()
8699 ut_params->auth_xform.auth.key.data = pdcp_test_auth_key[i]; in test_pdcp_proto_SGL()
8700 ut_params->auth_xform.auth.key.length = in test_pdcp_proto_SGL()
8703 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto_SGL()
9247 memcpy(&ut_params->auth_xform, &td[0].xform.chain.auth, in test_ipsec_proto_process()
9248 sizeof(ut_params->auth_xform)); in test_ipsec_proto_process()
9249 ut_params->auth_xform.auth.key.data = td[0].auth_key.data; in test_ipsec_proto_process()
9253 &ut_params->auth_xform) != 0) { in test_ipsec_proto_process()
9262 memcpy(&ut_params->auth_xform, &td[0].xform.chain.auth, in test_ipsec_proto_process()
9263 sizeof(ut_params->auth_xform)); in test_ipsec_proto_process()
9266 ut_params->auth_xform.auth.key.data = td[0].auth_key.data; in test_ipsec_proto_process()
9281 &ut_params->auth_xform) != 0) { in test_ipsec_proto_process()
9307 sess_conf.crypto_xform = &ut_params->auth_xform; in test_ipsec_proto_process()
9312 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_ipsec_proto_process()
9314 sess_conf.crypto_xform = &ut_params->auth_xform; in test_ipsec_proto_process()
9315 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_ipsec_proto_process()
11797 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in MD5_HMAC_create_session()
11798 ut_params->auth_xform.next = NULL; in MD5_HMAC_create_session()
11799 ut_params->auth_xform.auth.op = op; in MD5_HMAC_create_session()
11801 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; in MD5_HMAC_create_session()
11803 ut_params->auth_xform.auth.digest_length = MD5_DIGEST_LEN; in MD5_HMAC_create_session()
11804 ut_params->auth_xform.auth.key.length = test_case->key.len; in MD5_HMAC_create_session()
11805 ut_params->auth_xform.auth.key.data = key; in MD5_HMAC_create_session()
11814 ut_params->sess, &ut_params->auth_xform, in MD5_HMAC_create_session()
11850 if (ut_params->auth_xform.auth.op == RTE_CRYPTO_AUTH_OP_VERIFY) { in MD5_HMAC_create_op()
12066 sessions[i], &ut_params->auth_xform, in test_multi_session()
12104 sessions[i], &ut_params->auth_xform, in test_multi_session()
12202 &ut_paramz[i].ut_params.auth_xform, in test_multi_session_random_usage()
12293 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_null_invalid_operation()
12294 ut_params->auth_xform.next = NULL; in test_null_invalid_operation()
12296 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_SHA1_HMAC; in test_null_invalid_operation()
12297 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_null_invalid_operation()
12304 ut_params->sess, &ut_params->auth_xform, in test_null_invalid_operation()
12334 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_null_burst_operation()
12340 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_null_burst_operation()
12341 ut_params->auth_xform.next = NULL; in test_null_burst_operation()
12343 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_NULL; in test_null_burst_operation()
12344 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_null_burst_operation()
12763 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_gmac_session()
12764 ut_params->auth_xform.next = NULL; in create_gmac_session()
12766 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_AES_GMAC; in create_gmac_session()
12767 ut_params->auth_xform.auth.op = auth_op; in create_gmac_session()
12768 ut_params->auth_xform.auth.digest_length = tdata->gmac_tag.len; in create_gmac_session()
12769 ut_params->auth_xform.auth.key.length = tdata->key.len; in create_gmac_session()
12770 ut_params->auth_xform.auth.key.data = auth_key; in create_gmac_session()
12771 ut_params->auth_xform.auth.iv.offset = IV_OFFSET; in create_gmac_session()
12772 ut_params->auth_xform.auth.iv.length = tdata->iv.len; in create_gmac_session()
12780 &ut_params->auth_xform, in create_gmac_session()
13417 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_auth_session()
13418 ut_params->auth_xform.auth.op = auth_op; in create_auth_session()
13419 ut_params->auth_xform.next = NULL; in create_auth_session()
13420 ut_params->auth_xform.auth.algo = reference->auth_algo; in create_auth_session()
13421 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in create_auth_session()
13422 ut_params->auth_xform.auth.key.data = auth_key; in create_auth_session()
13423 ut_params->auth_xform.auth.digest_length = reference->digest.len; in create_auth_session()
13431 &ut_params->auth_xform, in create_auth_session()
13454 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_auth_cipher_session()
13455 ut_params->auth_xform.auth.op = auth_op; in create_auth_cipher_session()
13456 ut_params->auth_xform.auth.algo = reference->auth_algo; in create_auth_cipher_session()
13457 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in create_auth_cipher_session()
13458 ut_params->auth_xform.auth.key.data = auth_key; in create_auth_cipher_session()
13459 ut_params->auth_xform.auth.digest_length = reference->digest.len; in create_auth_cipher_session()
13462 ut_params->auth_xform.auth.iv.offset = IV_OFFSET; in create_auth_cipher_session()
13463 ut_params->auth_xform.auth.iv.length = reference->iv.len; in create_auth_cipher_session()
13465 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_auth_cipher_session()
13484 &ut_params->auth_xform, in create_auth_cipher_session()
13983 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_authenticated_encrypt_with_esn()
13986 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_authenticated_encrypt_with_esn()
13987 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_authenticated_encrypt_with_esn()
13988 ut_params->auth_xform.auth.algo = reference->auth_algo; in test_authenticated_encrypt_with_esn()
13989 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in test_authenticated_encrypt_with_esn()
13990 ut_params->auth_xform.auth.key.data = auth_key; in test_authenticated_encrypt_with_esn()
13991 ut_params->auth_xform.auth.digest_length = reference->digest.len; in test_authenticated_encrypt_with_esn()
13992 ut_params->auth_xform.next = NULL; in test_authenticated_encrypt_with_esn()
14112 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_authenticated_decrypt_with_esn()
14113 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_VERIFY; in test_authenticated_decrypt_with_esn()
14114 ut_params->auth_xform.auth.algo = reference->auth_algo; in test_authenticated_decrypt_with_esn()
14115 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in test_authenticated_decrypt_with_esn()
14116 ut_params->auth_xform.auth.key.data = auth_key; in test_authenticated_decrypt_with_esn()
14117 ut_params->auth_xform.auth.digest_length = reference->digest.len; in test_authenticated_decrypt_with_esn()
14118 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_authenticated_decrypt_with_esn()
14137 &ut_params->auth_xform, in test_authenticated_decrypt_with_esn()