Lines Matching refs:cipher_xform

89 	struct rte_crypto_sym_xform cipher_xform;  member
1674 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1675 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1677 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1678 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1679 ut_params->cipher_xform.cipher.key.data = aes_cbc_key; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1680 ut_params->cipher_xform.cipher.key.length = CIPHER_KEY_LENGTH_AES_CBC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1681 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1682 ut_params->cipher_xform.cipher.iv.length = CIPHER_IV_LENGTH_AES_CBC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1700 ut_params->sess, &ut_params->cipher_xform, in test_AES_CBC_HMAC_SHA1_encrypt_digest()
1817 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1818 ut_params->cipher_xform.next = NULL; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1820 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1821 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_DECRYPT; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1822 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1823 ut_params->cipher_xform.cipher.key.length = CIPHER_KEY_LENGTH_AES_CBC; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1824 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
1825 ut_params->cipher_xform.cipher.iv.length = CIPHER_IV_LENGTH_AES_CBC; 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()
2051 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_algo_cipher_session()
2052 ut_params->cipher_xform.next = NULL; in create_wireless_algo_cipher_session()
2054 ut_params->cipher_xform.cipher.algo = algo; in create_wireless_algo_cipher_session()
2055 ut_params->cipher_xform.cipher.op = op; in create_wireless_algo_cipher_session()
2056 ut_params->cipher_xform.cipher.key.data = cipher_key; in create_wireless_algo_cipher_session()
2057 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_algo_cipher_session()
2058 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_algo_cipher_session()
2059 ut_params->cipher_xform.cipher.iv.length = iv_len; in create_wireless_algo_cipher_session()
2068 &ut_params->cipher_xform, in create_wireless_algo_cipher_session()
2170 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_algo_cipher_auth_session()
2171 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_cipher_auth_session()
2173 ut_params->cipher_xform.cipher.algo = cipher_algo; in create_wireless_algo_cipher_auth_session()
2174 ut_params->cipher_xform.cipher.op = cipher_op; in create_wireless_algo_cipher_auth_session()
2175 ut_params->cipher_xform.cipher.key.data = cipher_auth_key; in create_wireless_algo_cipher_auth_session()
2176 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_algo_cipher_auth_session()
2177 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_algo_cipher_auth_session()
2178 ut_params->cipher_xform.cipher.iv.length = cipher_iv_len; in create_wireless_algo_cipher_auth_session()
2188 &ut_params->cipher_xform, in create_wireless_algo_cipher_auth_session()
2233 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_cipher_auth_session()
2234 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_cipher_auth_session()
2236 ut_params->cipher_xform.cipher.algo = cipher_algo; in create_wireless_cipher_auth_session()
2237 ut_params->cipher_xform.cipher.op = cipher_op; in create_wireless_cipher_auth_session()
2238 ut_params->cipher_xform.cipher.key.data = cipher_auth_key; in create_wireless_cipher_auth_session()
2239 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_cipher_auth_session()
2240 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_cipher_auth_session()
2241 ut_params->cipher_xform.cipher.iv.length = cipher_iv_len; in create_wireless_cipher_auth_session()
2251 &ut_params->cipher_xform, in create_wireless_cipher_auth_session()
2291 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_wireless_algo_auth_cipher_session()
2301 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_algo_auth_cipher_session()
2302 ut_params->cipher_xform.next = NULL; in create_wireless_algo_auth_cipher_session()
2303 ut_params->cipher_xform.cipher.algo = cipher_algo; in create_wireless_algo_auth_cipher_session()
2304 ut_params->cipher_xform.cipher.op = cipher_op; in create_wireless_algo_auth_cipher_session()
2305 ut_params->cipher_xform.cipher.key.data = auth_cipher_key; in create_wireless_algo_auth_cipher_session()
2306 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_algo_auth_cipher_session()
2307 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_algo_auth_cipher_session()
2308 ut_params->cipher_xform.cipher.iv.length = cipher_iv_len; in create_wireless_algo_auth_cipher_session()
2319 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_auth_cipher_session()
2321 &ut_params->cipher_xform, in create_wireless_algo_auth_cipher_session()
2477 ut_params->cipher_xform.cipher.algo; in create_wireless_algo_cipher_hash_operation()
2570 ut_params->cipher_xform.cipher.algo; in create_wireless_algo_auth_cipher_operation()
7799 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_pdcp_proto()
7800 ut_params->cipher_xform.cipher.algo = cipher_alg; in test_pdcp_proto()
7801 ut_params->cipher_xform.cipher.op = opc; in test_pdcp_proto()
7802 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_pdcp_proto()
7803 ut_params->cipher_xform.cipher.key.length = cipher_key_len; in test_pdcp_proto()
7804 ut_params->cipher_xform.cipher.iv.length = in test_pdcp_proto()
7806 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_pdcp_proto()
7817 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto()
7819 ut_params->cipher_xform.next = NULL; in test_pdcp_proto()
7843 .crypto_xform = &ut_params->cipher_xform in test_pdcp_proto()
8069 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_pdcp_proto_SGL()
8070 ut_params->cipher_xform.cipher.algo = pdcp_test_params[i].cipher_alg; in test_pdcp_proto_SGL()
8071 ut_params->cipher_xform.cipher.op = opc; in test_pdcp_proto_SGL()
8072 ut_params->cipher_xform.cipher.key.data = pdcp_test_crypto_key[i]; in test_pdcp_proto_SGL()
8073 ut_params->cipher_xform.cipher.key.length = in test_pdcp_proto_SGL()
8075 ut_params->cipher_xform.cipher.iv.length = 0; in test_pdcp_proto_SGL()
8087 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto_SGL()
8089 ut_params->cipher_xform.next = NULL; in test_pdcp_proto_SGL()
8104 .crypto_xform = &ut_params->cipher_xform in test_pdcp_proto_SGL()
8555 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_docsis_proto_uplink()
8556 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_DOCSISBPI; in test_docsis_proto_uplink()
8557 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_DECRYPT; in test_docsis_proto_uplink()
8558 ut_params->cipher_xform.cipher.key.data = d_td->key.data; in test_docsis_proto_uplink()
8559 ut_params->cipher_xform.cipher.key.length = d_td->key.len; in test_docsis_proto_uplink()
8560 ut_params->cipher_xform.cipher.iv.length = d_td->iv.len; in test_docsis_proto_uplink()
8561 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_docsis_proto_uplink()
8562 ut_params->cipher_xform.next = NULL; in test_docsis_proto_uplink()
8571 .crypto_xform = &ut_params->cipher_xform, in test_docsis_proto_uplink()
8731 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_docsis_proto_downlink()
8732 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_DOCSISBPI; in test_docsis_proto_downlink()
8733 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_docsis_proto_downlink()
8734 ut_params->cipher_xform.cipher.key.data = d_td->key.data; in test_docsis_proto_downlink()
8735 ut_params->cipher_xform.cipher.key.length = d_td->key.len; in test_docsis_proto_downlink()
8736 ut_params->cipher_xform.cipher.iv.length = d_td->iv.len; in test_docsis_proto_downlink()
8737 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_docsis_proto_downlink()
8738 ut_params->cipher_xform.next = NULL; in test_docsis_proto_downlink()
8747 .crypto_xform = &ut_params->cipher_xform, in test_docsis_proto_downlink()
10606 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_null_invalid_operation()
10607 ut_params->cipher_xform.next = NULL; in test_null_invalid_operation()
10609 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; in test_null_invalid_operation()
10610 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_null_invalid_operation()
10617 ut_params->sess, &ut_params->cipher_xform, in test_null_invalid_operation()
10663 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_null_burst_operation()
10664 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_null_burst_operation()
10666 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL; in test_null_burst_operation()
10667 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_null_burst_operation()
10681 ut_params->sess, &ut_params->cipher_xform, in test_null_burst_operation()
11543 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_auth_cipher_session()
11546 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_auth_cipher_session()
11547 ut_params->cipher_xform.next = NULL; in create_auth_cipher_session()
11548 ut_params->cipher_xform.cipher.algo = reference->crypto_algo; in create_auth_cipher_session()
11549 ut_params->cipher_xform.cipher.op = cipher_op; in create_auth_cipher_session()
11550 ut_params->cipher_xform.cipher.key.data = cipher_key; in create_auth_cipher_session()
11551 ut_params->cipher_xform.cipher.key.length = reference->cipher_key.len; in create_auth_cipher_session()
11552 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_auth_cipher_session()
11553 ut_params->cipher_xform.cipher.iv.length = reference->iv.len; in create_auth_cipher_session()
12044 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_authenticated_encryt_with_esn()
12045 ut_params->cipher_xform.cipher.algo = reference->crypto_algo; in test_authenticated_encryt_with_esn()
12046 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_authenticated_encryt_with_esn()
12047 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_authenticated_encryt_with_esn()
12048 ut_params->cipher_xform.cipher.key.length = reference->cipher_key.len; in test_authenticated_encryt_with_esn()
12049 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_authenticated_encryt_with_esn()
12050 ut_params->cipher_xform.cipher.iv.length = reference->iv.len; in test_authenticated_encryt_with_esn()
12052 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_authenticated_encryt_with_esn()
12069 &ut_params->cipher_xform, in test_authenticated_encryt_with_esn()
12183 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_authenticated_decrypt_with_esn()
12186 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_authenticated_decrypt_with_esn()
12187 ut_params->cipher_xform.next = NULL; in test_authenticated_decrypt_with_esn()
12188 ut_params->cipher_xform.cipher.algo = reference->crypto_algo; in test_authenticated_decrypt_with_esn()
12189 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_DECRYPT; in test_authenticated_decrypt_with_esn()
12190 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_authenticated_decrypt_with_esn()
12191 ut_params->cipher_xform.cipher.key.length = reference->cipher_key.len; in test_authenticated_decrypt_with_esn()
12192 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_authenticated_decrypt_with_esn()
12193 ut_params->cipher_xform.cipher.iv.length = reference->iv.len; in test_authenticated_decrypt_with_esn()