Lines Matching refs:auth_xform
90 struct rte_crypto_sym_xform auth_xform; member
1675 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1685 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1687 ut_params->auth_xform.next = NULL; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1689 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1690 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_SHA1_HMAC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1691 ut_params->auth_xform.auth.key.length = HMAC_KEY_LENGTH_SHA1; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1692 ut_params->auth_xform.auth.key.data = hmac_sha1_key; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1693 ut_params->auth_xform.auth.digest_length = DIGEST_BYTE_LENGTH_SHA1; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1828 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1829 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1831 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_VERIFY; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1832 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_SHA512_HMAC; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1833 ut_params->auth_xform.auth.key.data = hmac_key; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1834 ut_params->auth_xform.auth.key.length = HMAC_KEY_LENGTH_SHA512; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1835 ut_params->auth_xform.auth.digest_length = DIGEST_BYTE_LENGTH_SHA512; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2015 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_algo_hash_session()
2016 ut_params->auth_xform.next = NULL; in create_wireless_algo_hash_session()
2018 ut_params->auth_xform.auth.op = op; in create_wireless_algo_hash_session()
2019 ut_params->auth_xform.auth.algo = algo; in create_wireless_algo_hash_session()
2020 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_algo_hash_session()
2021 ut_params->auth_xform.auth.key.data = hash_key; in create_wireless_algo_hash_session()
2022 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_algo_hash_session()
2023 ut_params->auth_xform.auth.iv.offset = IV_OFFSET; in create_wireless_algo_hash_session()
2024 ut_params->auth_xform.auth.iv.length = iv_len; in create_wireless_algo_hash_session()
2029 &ut_params->auth_xform, in create_wireless_algo_hash_session()
2156 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_algo_cipher_auth_session()
2157 ut_params->auth_xform.next = NULL; in create_wireless_algo_cipher_auth_session()
2159 ut_params->auth_xform.auth.op = auth_op; in create_wireless_algo_cipher_auth_session()
2160 ut_params->auth_xform.auth.algo = auth_algo; in create_wireless_algo_cipher_auth_session()
2161 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_algo_cipher_auth_session()
2163 ut_params->auth_xform.auth.key.data = cipher_auth_key; in create_wireless_algo_cipher_auth_session()
2164 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_algo_cipher_auth_session()
2166 ut_params->auth_xform.auth.iv.offset = IV_OFFSET + cipher_iv_len; in create_wireless_algo_cipher_auth_session()
2167 ut_params->auth_xform.auth.iv.length = auth_iv_len; in create_wireless_algo_cipher_auth_session()
2171 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_cipher_auth_session()
2219 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_cipher_auth_session()
2220 ut_params->auth_xform.next = NULL; in create_wireless_cipher_auth_session()
2222 ut_params->auth_xform.auth.op = auth_op; in create_wireless_cipher_auth_session()
2223 ut_params->auth_xform.auth.algo = auth_algo; in create_wireless_cipher_auth_session()
2224 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_cipher_auth_session()
2226 ut_params->auth_xform.auth.key.data = cipher_auth_key; in create_wireless_cipher_auth_session()
2227 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_cipher_auth_session()
2229 ut_params->auth_xform.auth.iv.offset = IV_OFFSET + cipher_iv_len; in create_wireless_cipher_auth_session()
2230 ut_params->auth_xform.auth.iv.length = auth_iv_len; in create_wireless_cipher_auth_session()
2234 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_cipher_auth_session()
2289 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_wireless_algo_auth_cipher_session()
2290 ut_params->auth_xform.auth.op = auth_op; in create_wireless_algo_auth_cipher_session()
2291 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_wireless_algo_auth_cipher_session()
2292 ut_params->auth_xform.auth.algo = auth_algo; in create_wireless_algo_auth_cipher_session()
2293 ut_params->auth_xform.auth.key.length = key_len; in create_wireless_algo_auth_cipher_session()
2294 ut_params->auth_xform.auth.key.data = auth_cipher_key; in create_wireless_algo_auth_cipher_session()
2295 ut_params->auth_xform.auth.digest_length = auth_len; in create_wireless_algo_auth_cipher_session()
2297 ut_params->auth_xform.auth.iv.offset = IV_OFFSET + cipher_iv_len; in create_wireless_algo_auth_cipher_session()
2298 ut_params->auth_xform.auth.iv.length = auth_iv_len; in create_wireless_algo_auth_cipher_session()
2318 ut_params->auth_xform.next = NULL; in create_wireless_algo_auth_cipher_session()
2319 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_auth_cipher_session()
2326 &ut_params->auth_xform, in create_wireless_algo_auth_cipher_session()
2479 ut_params->auth_xform.auth.algo; in create_wireless_algo_cipher_hash_operation()
2572 ut_params->auth_xform.auth.algo; in create_wireless_algo_auth_cipher_operation()
7810 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_pdcp_proto()
7811 ut_params->auth_xform.next = NULL; in test_pdcp_proto()
7812 ut_params->auth_xform.auth.algo = auth_alg; in test_pdcp_proto()
7813 ut_params->auth_xform.auth.op = opa; in test_pdcp_proto()
7814 ut_params->auth_xform.auth.key.data = auth_key; in test_pdcp_proto()
7815 ut_params->auth_xform.auth.key.length = auth_key_len; in test_pdcp_proto()
7817 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto()
8079 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_pdcp_proto_SGL()
8080 ut_params->auth_xform.next = NULL; in test_pdcp_proto_SGL()
8081 ut_params->auth_xform.auth.algo = pdcp_test_params[i].auth_alg; in test_pdcp_proto_SGL()
8082 ut_params->auth_xform.auth.op = opa; in test_pdcp_proto_SGL()
8083 ut_params->auth_xform.auth.key.data = pdcp_test_auth_key[i]; in test_pdcp_proto_SGL()
8084 ut_params->auth_xform.auth.key.length = in test_pdcp_proto_SGL()
8087 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto_SGL()
10139 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in MD5_HMAC_create_session()
10140 ut_params->auth_xform.next = NULL; in MD5_HMAC_create_session()
10141 ut_params->auth_xform.auth.op = op; in MD5_HMAC_create_session()
10143 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC; in MD5_HMAC_create_session()
10145 ut_params->auth_xform.auth.digest_length = MD5_DIGEST_LEN; in MD5_HMAC_create_session()
10146 ut_params->auth_xform.auth.key.length = test_case->key.len; in MD5_HMAC_create_session()
10147 ut_params->auth_xform.auth.key.data = key; in MD5_HMAC_create_session()
10153 ut_params->sess, &ut_params->auth_xform, in MD5_HMAC_create_session()
10190 if (ut_params->auth_xform.auth.op == RTE_CRYPTO_AUTH_OP_VERIFY) { in MD5_HMAC_create_op()
10401 sessions[i], &ut_params->auth_xform, in test_multi_session()
10439 sessions[i], &ut_params->auth_xform, in test_multi_session()
10533 &ut_paramz[i].ut_params.auth_xform, in test_multi_session_random_usage()
10624 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_null_invalid_operation()
10625 ut_params->auth_xform.next = NULL; in test_null_invalid_operation()
10627 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_SHA1_HMAC; in test_null_invalid_operation()
10628 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_null_invalid_operation()
10635 ut_params->sess, &ut_params->auth_xform, in test_null_invalid_operation()
10664 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_null_burst_operation()
10670 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_null_burst_operation()
10671 ut_params->auth_xform.next = NULL; in test_null_burst_operation()
10673 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_NULL; in test_null_burst_operation()
10674 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_null_burst_operation()
10847 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_gmac_session()
10848 ut_params->auth_xform.next = NULL; in create_gmac_session()
10850 ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_AES_GMAC; in create_gmac_session()
10851 ut_params->auth_xform.auth.op = auth_op; in create_gmac_session()
10852 ut_params->auth_xform.auth.digest_length = tdata->gmac_tag.len; in create_gmac_session()
10853 ut_params->auth_xform.auth.key.length = tdata->key.len; in create_gmac_session()
10854 ut_params->auth_xform.auth.key.data = auth_key; in create_gmac_session()
10855 ut_params->auth_xform.auth.iv.offset = IV_OFFSET; in create_gmac_session()
10856 ut_params->auth_xform.auth.iv.length = tdata->iv.len; in create_gmac_session()
10863 &ut_params->auth_xform, in create_gmac_session()
11495 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_auth_session()
11496 ut_params->auth_xform.auth.op = auth_op; in create_auth_session()
11497 ut_params->auth_xform.next = NULL; in create_auth_session()
11498 ut_params->auth_xform.auth.algo = reference->auth_algo; in create_auth_session()
11499 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in create_auth_session()
11500 ut_params->auth_xform.auth.key.data = auth_key; in create_auth_session()
11501 ut_params->auth_xform.auth.digest_length = reference->digest.len; in create_auth_session()
11508 &ut_params->auth_xform, in create_auth_session()
11532 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in create_auth_cipher_session()
11533 ut_params->auth_xform.auth.op = auth_op; in create_auth_cipher_session()
11534 ut_params->auth_xform.auth.algo = reference->auth_algo; in create_auth_cipher_session()
11535 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in create_auth_cipher_session()
11536 ut_params->auth_xform.auth.key.data = auth_key; in create_auth_cipher_session()
11537 ut_params->auth_xform.auth.digest_length = reference->digest.len; in create_auth_cipher_session()
11540 ut_params->auth_xform.auth.iv.offset = IV_OFFSET; in create_auth_cipher_session()
11541 ut_params->auth_xform.auth.iv.length = reference->iv.len; in create_auth_cipher_session()
11543 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_auth_cipher_session()
11561 &ut_params->auth_xform, in create_auth_cipher_session()
12052 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_authenticated_encryt_with_esn()
12055 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_authenticated_encryt_with_esn()
12056 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in test_authenticated_encryt_with_esn()
12057 ut_params->auth_xform.auth.algo = reference->auth_algo; in test_authenticated_encryt_with_esn()
12058 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in test_authenticated_encryt_with_esn()
12059 ut_params->auth_xform.auth.key.data = auth_key; in test_authenticated_encryt_with_esn()
12060 ut_params->auth_xform.auth.digest_length = reference->digest.len; in test_authenticated_encryt_with_esn()
12061 ut_params->auth_xform.next = NULL; in test_authenticated_encryt_with_esn()
12177 ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH; in test_authenticated_decrypt_with_esn()
12178 ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_VERIFY; in test_authenticated_decrypt_with_esn()
12179 ut_params->auth_xform.auth.algo = reference->auth_algo; in test_authenticated_decrypt_with_esn()
12180 ut_params->auth_xform.auth.key.length = reference->auth_key.len; in test_authenticated_decrypt_with_esn()
12181 ut_params->auth_xform.auth.key.data = auth_key; in test_authenticated_decrypt_with_esn()
12182 ut_params->auth_xform.auth.digest_length = reference->digest.len; in test_authenticated_decrypt_with_esn()
12183 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_authenticated_decrypt_with_esn()
12201 &ut_params->auth_xform, in test_authenticated_decrypt_with_esn()