Lines Matching refs:cipher_xform

78 	struct rte_crypto_sym_xform cipher_xform;  member
2174 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2175 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2177 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2178 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2179 ut_params->cipher_xform.cipher.key.data = aes_cbc_key; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2180 ut_params->cipher_xform.cipher.key.length = CIPHER_KEY_LENGTH_AES_CBC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2181 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2182 ut_params->cipher_xform.cipher.iv.length = CIPHER_IV_LENGTH_AES_CBC; in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2201 ut_params->sess, &ut_params->cipher_xform, in test_AES_CBC_HMAC_SHA1_encrypt_digest()
2322 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2323 ut_params->cipher_xform.next = NULL; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2325 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2326 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_DECRYPT; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2327 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2328 ut_params->cipher_xform.cipher.key.length = CIPHER_KEY_LENGTH_AES_CBC; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2329 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_AES_CBC_HMAC_SHA512_decrypt_create_session_params()
2330 ut_params->cipher_xform.cipher.iv.length = CIPHER_IV_LENGTH_AES_CBC; 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()
2485 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_algo_cipher_session()
2486 ut_params->cipher_xform.next = NULL; in create_wireless_algo_cipher_session()
2488 ut_params->cipher_xform.cipher.algo = algo; in create_wireless_algo_cipher_session()
2489 ut_params->cipher_xform.cipher.op = op; in create_wireless_algo_cipher_session()
2490 ut_params->cipher_xform.cipher.key.data = cipher_key; in create_wireless_algo_cipher_session()
2491 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_algo_cipher_session()
2492 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_algo_cipher_session()
2493 ut_params->cipher_xform.cipher.iv.length = iv_len; in create_wireless_algo_cipher_session()
2502 &ut_params->cipher_xform, in create_wireless_algo_cipher_session()
2607 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_algo_cipher_auth_session()
2608 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_cipher_auth_session()
2610 ut_params->cipher_xform.cipher.algo = cipher_algo; in create_wireless_algo_cipher_auth_session()
2611 ut_params->cipher_xform.cipher.op = cipher_op; in create_wireless_algo_cipher_auth_session()
2612 ut_params->cipher_xform.cipher.key.data = cipher_auth_key; in create_wireless_algo_cipher_auth_session()
2613 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_algo_cipher_auth_session()
2614 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_algo_cipher_auth_session()
2615 ut_params->cipher_xform.cipher.iv.length = cipher_iv_len; in create_wireless_algo_cipher_auth_session()
2625 &ut_params->cipher_xform, in create_wireless_algo_cipher_auth_session()
2670 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_cipher_auth_session()
2671 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_cipher_auth_session()
2673 ut_params->cipher_xform.cipher.algo = cipher_algo; in create_wireless_cipher_auth_session()
2674 ut_params->cipher_xform.cipher.op = cipher_op; in create_wireless_cipher_auth_session()
2675 ut_params->cipher_xform.cipher.key.data = cipher_auth_key; in create_wireless_cipher_auth_session()
2676 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_cipher_auth_session()
2677 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_cipher_auth_session()
2678 ut_params->cipher_xform.cipher.iv.length = cipher_iv_len; in create_wireless_cipher_auth_session()
2688 &ut_params->cipher_xform, in create_wireless_cipher_auth_session()
2728 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_wireless_algo_auth_cipher_session()
2738 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_wireless_algo_auth_cipher_session()
2739 ut_params->cipher_xform.next = NULL; in create_wireless_algo_auth_cipher_session()
2740 ut_params->cipher_xform.cipher.algo = cipher_algo; in create_wireless_algo_auth_cipher_session()
2741 ut_params->cipher_xform.cipher.op = cipher_op; in create_wireless_algo_auth_cipher_session()
2742 ut_params->cipher_xform.cipher.key.data = auth_cipher_key; in create_wireless_algo_auth_cipher_session()
2743 ut_params->cipher_xform.cipher.key.length = key_len; in create_wireless_algo_auth_cipher_session()
2744 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_wireless_algo_auth_cipher_session()
2745 ut_params->cipher_xform.cipher.iv.length = cipher_iv_len; in create_wireless_algo_auth_cipher_session()
2756 ut_params->cipher_xform.next = &ut_params->auth_xform; in create_wireless_algo_auth_cipher_session()
2758 &ut_params->cipher_xform, in create_wireless_algo_auth_cipher_session()
2914 ut_params->cipher_xform.cipher.algo; in create_wireless_algo_cipher_hash_operation()
3007 ut_params->cipher_xform.cipher.algo; in create_wireless_algo_auth_cipher_operation()
8404 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_pdcp_proto()
8405 ut_params->cipher_xform.cipher.algo = cipher_alg; in test_pdcp_proto()
8406 ut_params->cipher_xform.cipher.op = opc; in test_pdcp_proto()
8407 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_pdcp_proto()
8408 ut_params->cipher_xform.cipher.key.length = cipher_key_len; in test_pdcp_proto()
8409 ut_params->cipher_xform.cipher.iv.length = in test_pdcp_proto()
8411 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_pdcp_proto()
8422 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto()
8424 ut_params->cipher_xform.next = NULL; in test_pdcp_proto()
8448 .crypto_xform = &ut_params->cipher_xform in test_pdcp_proto()
8685 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_pdcp_proto_SGL()
8686 ut_params->cipher_xform.cipher.algo = pdcp_test_params[i].cipher_alg; in test_pdcp_proto_SGL()
8687 ut_params->cipher_xform.cipher.op = opc; in test_pdcp_proto_SGL()
8688 ut_params->cipher_xform.cipher.key.data = pdcp_test_crypto_key[i]; in test_pdcp_proto_SGL()
8689 ut_params->cipher_xform.cipher.key.length = in test_pdcp_proto_SGL()
8691 ut_params->cipher_xform.cipher.iv.length = 0; in test_pdcp_proto_SGL()
8703 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_pdcp_proto_SGL()
8705 ut_params->cipher_xform.next = NULL; in test_pdcp_proto_SGL()
8720 .crypto_xform = &ut_params->cipher_xform in test_pdcp_proto_SGL()
9260 memcpy(&ut_params->cipher_xform, &td[0].xform.chain.cipher, in test_ipsec_proto_process()
9261 sizeof(ut_params->cipher_xform)); in test_ipsec_proto_process()
9264 ut_params->cipher_xform.cipher.key.data = td[0].key.data; in test_ipsec_proto_process()
9265 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_ipsec_proto_process()
9272 &ut_params->cipher_xform) != 0) { in test_ipsec_proto_process()
9311 sess_conf.crypto_xform = &ut_params->cipher_xform; in test_ipsec_proto_process()
9312 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_ipsec_proto_process()
9315 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_ipsec_proto_process()
10309 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_docsis_proto_uplink()
10310 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_DOCSISBPI; in test_docsis_proto_uplink()
10311 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_DECRYPT; in test_docsis_proto_uplink()
10312 ut_params->cipher_xform.cipher.key.data = d_td->key.data; in test_docsis_proto_uplink()
10313 ut_params->cipher_xform.cipher.key.length = d_td->key.len; in test_docsis_proto_uplink()
10314 ut_params->cipher_xform.cipher.iv.length = d_td->iv.len; in test_docsis_proto_uplink()
10315 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_docsis_proto_uplink()
10316 ut_params->cipher_xform.next = NULL; in test_docsis_proto_uplink()
10325 .crypto_xform = &ut_params->cipher_xform, in test_docsis_proto_uplink()
10494 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_docsis_proto_downlink()
10495 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_DOCSISBPI; in test_docsis_proto_downlink()
10496 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_docsis_proto_downlink()
10497 ut_params->cipher_xform.cipher.key.data = d_td->key.data; in test_docsis_proto_downlink()
10498 ut_params->cipher_xform.cipher.key.length = d_td->key.len; in test_docsis_proto_downlink()
10499 ut_params->cipher_xform.cipher.iv.length = d_td->iv.len; in test_docsis_proto_downlink()
10500 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_docsis_proto_downlink()
10501 ut_params->cipher_xform.next = NULL; in test_docsis_proto_downlink()
10510 .crypto_xform = &ut_params->cipher_xform, in test_docsis_proto_downlink()
12275 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_null_invalid_operation()
12276 ut_params->cipher_xform.next = NULL; in test_null_invalid_operation()
12278 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; in test_null_invalid_operation()
12279 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_null_invalid_operation()
12286 ut_params->sess, &ut_params->cipher_xform, in test_null_invalid_operation()
12333 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_null_burst_operation()
12334 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_null_burst_operation()
12336 ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL; in test_null_burst_operation()
12337 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_null_burst_operation()
12352 ut_params->sess, &ut_params->cipher_xform, in test_null_burst_operation()
13465 ut_params->auth_xform.next = &ut_params->cipher_xform; in create_auth_cipher_session()
13468 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in create_auth_cipher_session()
13469 ut_params->cipher_xform.next = NULL; in create_auth_cipher_session()
13470 ut_params->cipher_xform.cipher.algo = reference->crypto_algo; in create_auth_cipher_session()
13471 ut_params->cipher_xform.cipher.op = cipher_op; in create_auth_cipher_session()
13472 ut_params->cipher_xform.cipher.key.data = cipher_key; in create_auth_cipher_session()
13473 ut_params->cipher_xform.cipher.key.length = reference->cipher_key.len; in create_auth_cipher_session()
13474 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in create_auth_cipher_session()
13475 ut_params->cipher_xform.cipher.iv.length = reference->iv.len; in create_auth_cipher_session()
13975 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_authenticated_encrypt_with_esn()
13976 ut_params->cipher_xform.cipher.algo = reference->crypto_algo; in test_authenticated_encrypt_with_esn()
13977 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in test_authenticated_encrypt_with_esn()
13978 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_authenticated_encrypt_with_esn()
13979 ut_params->cipher_xform.cipher.key.length = reference->cipher_key.len; in test_authenticated_encrypt_with_esn()
13980 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_authenticated_encrypt_with_esn()
13981 ut_params->cipher_xform.cipher.iv.length = reference->iv.len; in test_authenticated_encrypt_with_esn()
13983 ut_params->cipher_xform.next = &ut_params->auth_xform; in test_authenticated_encrypt_with_esn()
14001 &ut_params->cipher_xform, in test_authenticated_encrypt_with_esn()
14118 ut_params->auth_xform.next = &ut_params->cipher_xform; in test_authenticated_decrypt_with_esn()
14121 ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; in test_authenticated_decrypt_with_esn()
14122 ut_params->cipher_xform.next = NULL; in test_authenticated_decrypt_with_esn()
14123 ut_params->cipher_xform.cipher.algo = reference->crypto_algo; in test_authenticated_decrypt_with_esn()
14124 ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_DECRYPT; in test_authenticated_decrypt_with_esn()
14125 ut_params->cipher_xform.cipher.key.data = cipher_key; in test_authenticated_decrypt_with_esn()
14126 ut_params->cipher_xform.cipher.key.length = reference->cipher_key.len; in test_authenticated_decrypt_with_esn()
14127 ut_params->cipher_xform.cipher.iv.offset = IV_OFFSET; in test_authenticated_decrypt_with_esn()
14128 ut_params->cipher_xform.cipher.iv.length = reference->iv.len; in test_authenticated_decrypt_with_esn()