Searched refs:iv (Results 1 - 23 of 23) sorted by relevance

/deb_dpdk/examples/ipsec-secgw/
H A Desp.c95 uint8_t *iv = RTE_PTR_ADD(ip4, ip_hdr_len + sizeof(struct esp_hdr)); local
100 sym_cop->cipher.iv.data = iv;
101 sym_cop->cipher.iv.phys_addr = rte_pktmbuf_mtophys_offset(m,
103 sym_cop->cipher.iv.length = sa->iv_len;
109 memcpy(&icb->iv, iv, 8);
111 sym_cop->cipher.iv.data = (uint8_t *)icb;
112 sym_cop->cipher.iv.phys_addr = rte_pktmbuf_mtophys_offset(m,
114 sym_cop->cipher.iv
314 uint64_t *iv = (uint64_t *)(esp + 1); local
[all...]
H A Dipsec.h165 uint64_t iv; member in struct:cnt_blk
/deb_dpdk/app/test/
H A Dtest_cryptodev_blockcipher.c109 buf_len += tdata->iv.len;
123 rte_memcpy(buf_p, tdata->iv.data, tdata->iv.len);
124 buf_p += tdata->iv.len;
284 sym_op->cipher.data.offset = tdata->iv.len;
286 sym_op->cipher.iv.data = rte_pktmbuf_mtod(sym_op->m_src,
288 sym_op->cipher.iv.length = tdata->iv.len;
289 sym_op->cipher.iv.phys_addr = rte_pktmbuf_mtophys(
298 digest_offset += tdata->iv
[all...]
H A Dtest_cryptodev.c104 const uint8_t *iv);
1282 sym_op->cipher.iv.data = (uint8_t *)rte_pktmbuf_prepend(ut_params->ibuf,
1284 sym_op->cipher.iv.phys_addr = rte_pktmbuf_mtophys(ut_params->ibuf);
1285 sym_op->cipher.iv.length = CIPHER_IV_LENGTH_AES_CBC;
1287 rte_memcpy(sym_op->cipher.iv.data, aes_cbc_iv,
1359 const uint8_t *iv);
1398 const uint8_t *iv)
1435 sym_op->cipher.iv.data = (uint8_t *)rte_pktmbuf_prepend(
1437 sym_op->cipher.iv.phys_addr = rte_pktmbuf_mtophys_offset(
1439 sym_op->cipher.iv
1393 test_AES_CBC_HMAC_SHA512_decrypt_perform(struct rte_cryptodev_sym_session *sess, struct crypto_unittest_params *ut_params, struct crypto_testsuite_params *ts_params, const uint8_t *cipher, const uint8_t *digest, const uint8_t *iv) argument
1630 create_wireless_algo_cipher_operation(const uint8_t *iv, const unsigned iv_len, const unsigned cipher_len, const unsigned cipher_offset, enum rte_crypto_cipher_algorithm algo) argument
1675 create_wireless_algo_cipher_operation_oop(const uint8_t *iv, const uint8_t iv_len, const unsigned cipher_len, const unsigned cipher_offset, enum rte_crypto_cipher_algorithm algo) argument
1891 create_wireless_algo_cipher_hash_operation(const uint8_t *auth_tag, const unsigned auth_tag_len, const uint8_t *aad, const uint8_t aad_len, unsigned data_pad_len, enum rte_crypto_auth_operation op, enum rte_crypto_auth_algorithm auth_algo, enum rte_crypto_cipher_algorithm cipher_algo, const uint8_t *iv, const uint8_t iv_len, const unsigned cipher_len, const unsigned cipher_offset, const unsigned auth_len, const unsigned auth_offset) argument
1986 create_wireless_algo_auth_cipher_operation(const unsigned auth_tag_len, const uint8_t *iv, const uint8_t iv_len, const uint8_t *aad, const uint8_t aad_len, unsigned data_pad_len, const unsigned cipher_len, const unsigned cipher_offset, const unsigned auth_len, const unsigned auth_offset, enum rte_crypto_auth_algorithm auth_algo, enum rte_crypto_cipher_algorithm cipher_algo) argument
3935 create_gcm_operation(enum rte_crypto_cipher_operation op, const uint8_t *auth_tag, const unsigned auth_tag_len, const uint8_t *iv, const unsigned iv_len, const uint8_t *aad, const unsigned aad_len, const unsigned data_len, unsigned data_pad_len) argument
4579 uint8_t *iv; member in struct:multi_session_params
5339 } iv; member in struct:test_crypto_vector
[all...]
H A Dtest_cryptodev_blockcipher.h92 } iv; member in struct:blockcipher_test_data
H A Dtest_cryptodev_kasumi_test_vectors.h45 } iv; member in struct:kasumi_test_data
99 .iv = {
157 .iv = {
205 .iv = {
260 .iv = {
300 .iv = {
360 .iv = {
H A Dtest_cryptodev_snow3g_test_vectors.h45 } iv; member in struct:snow3g_test_data
95 .iv = {
164 .iv = {
223 .iv = {
280 .iv = {
324 .iv = {
386 .iv = {
H A Dtest_cryptodev_des_test_vectors.h142 .iv = {
168 .iv = {
203 .iv = {
314 .iv = {
341 .iv = {
377 .iv = {
487 .iv = {
513 .iv = {
548 .iv = {
659 .iv
[all...]
H A Dtest_cryptodev_aes_test_vectors.h209 .iv = {
255 .iv = {
300 .iv = {
345 .iv = {
390 .iv = {
437 .iv = {
492 .iv = {
535 .iv = {
586 .iv = {
715 .iv
[all...]
H A Dtest_cryptodev_gcm_test_vectors.h47 } iv; member in struct:gcm_test_data
80 } iv; member in struct:gmac_test_data
107 .iv = {
144 .iv = {
182 .iv = {
234 .iv = {
290 .iv = {
346 .iv = {
404 .iv = {
485 .iv
585 } iv; member in struct:cryptodev_perf_test_data
[all...]
H A Dtest_cryptodev_zuc_test_vectors.h45 } iv; member in struct:zuc_test_data
95 .iv = {
139 .iv = {
201 .iv = {
304 .iv = {
428 .iv = {
H A Dtest_cryptodev_perf.c113 uint8_t *iv; member in struct:crypto_params
2016 op->sym->cipher.iv.data = (uint8_t *)rte_pktmbuf_prepend(m,
2018 op->sym->cipher.iv.phys_addr = rte_pktmbuf_mtophys(m);
2019 op->sym->cipher.iv.length = CIPHER_IV_LENGTH_AES_CBC;
2021 rte_memcpy(op->sym->cipher.iv.data, aes_cbc_128_iv,
2732 op->sym->cipher.iv.data = rte_pktmbuf_mtod(m, uint8_t *);
2733 op->sym->cipher.iv.phys_addr = rte_pktmbuf_mtophys(m);
2734 op->sym->cipher.iv.length = AES_CIPHER_IV_LENGTH;
2736 rte_memcpy(op->sym->cipher.iv.data, aes_iv, AES_CIPHER_IV_LENGTH);
2770 op->sym->cipher.iv
[all...]
/deb_dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd.c491 uint8_t *iv, uint8_t *key, int srclen,
496 if (EVP_EncryptInit_ex(ctx, algo, NULL, key, iv) <= 0)
517 uint8_t *iv, uint8_t *key, int srclen,
522 if (EVP_DecryptInit_ex(ctx, algo, NULL, key, iv) <= 0)
544 uint8_t *iv, uint8_t *key, int srclen, EVP_CIPHER_CTX *ctx)
555 memcpy(ctr, iv, 8);
580 uint8_t *aad, int aadlen, uint8_t *iv, int ivlen,
593 if (EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv) <= 0)
624 uint8_t *aad, int aadlen, uint8_t *iv, int ivlen,
640 if (EVP_DecryptInit_ex(ctx, NULL, NULL, key, iv) <
490 process_openssl_cipher_encrypt(uint8_t *src, uint8_t *dst, uint8_t *iv, uint8_t *key, int srclen, EVP_CIPHER_CTX *ctx, const EVP_CIPHER *algo) argument
516 process_openssl_cipher_decrypt(uint8_t *src, uint8_t *dst, uint8_t *iv, uint8_t *key, int srclen, EVP_CIPHER_CTX *ctx, const EVP_CIPHER *algo) argument
543 process_openssl_cipher_des3ctr(uint8_t *src, uint8_t *dst, uint8_t *iv, uint8_t *key, int srclen, EVP_CIPHER_CTX *ctx) argument
579 process_openssl_auth_encryption_gcm(uint8_t *src, int srclen, uint8_t *aad, int aadlen, uint8_t *iv, int ivlen, uint8_t *key, uint8_t *dst, uint8_t *tag, EVP_CIPHER_CTX *ctx, const EVP_CIPHER *algo) argument
623 process_openssl_auth_decryption_gcm(uint8_t *src, int srclen, uint8_t *aad, int aadlen, uint8_t *iv, int ivlen, uint8_t *key, uint8_t *dst, uint8_t *tag, EVP_CIPHER_CTX *ctx, const EVP_CIPHER *algo) argument
671 process_openssl_auth(uint8_t *src, uint8_t *dst, __rte_unused uint8_t *iv, __rte_unused EVP_PKEY * pkey, int srclen, EVP_MD_CTX *ctx, const EVP_MD *algo) argument
695 process_openssl_auth_hmac(uint8_t *src, uint8_t *dst, __rte_unused uint8_t *iv, EVP_PKEY *pkey, int srclen, EVP_MD_CTX *ctx, const EVP_MD *algo) argument
726 uint8_t *src = NULL, *dst = NULL, *iv, *tag, *aad; local
777 uint8_t *src, *dst, *iv; local
[all...]
/deb_dpdk/examples/l2fwd-crypto/
H A Dmain.c157 struct l2fwd_key iv; member in struct:l2fwd_crypto_options
183 struct l2fwd_key iv; member in struct:l2fwd_crypto_params
527 op->sym->cipher.iv.data = cparams->iv.data;
528 op->sym->cipher.iv.phys_addr = cparams->iv.phys_addr;
529 op->sym->cipher.iv.length = cparams->iv.length;
735 port_cparams[i].iv.data = options->iv
[all...]
/deb_dpdk/drivers/crypto/aesni_gcm/
H A Daesni_gcm_ops.h54 u64 plaintext_len, u8 *iv, const u8 *aad, u64 aad_len,
H A Daesni_gcm_pmd.c234 if (op->cipher.iv.length != 16 && op->cipher.iv.length != 12 &&
235 op->cipher.iv.length != 0) {
236 GCM_LOG_ERR("iv");
244 if (op->cipher.iv.length == 12) {
245 uint32_t *iv_padd = (uint32_t *)&op->cipher.iv.data[12];
251 GCM_LOG_ERR("iv");
259 GCM_LOG_ERR("iv");
267 op->cipher.iv.data,
277 GCM_LOG_ERR("iv");
[all...]
/deb_dpdk/lib/librte_cryptodev/
H A Drte_crypto_sym.h461 * nonce should be written starting at &iv[1] (to allow
492 } iv; /**< Initialisation vector parameters */ member in struct:rte_crypto_sym_op::__anon507
/deb_dpdk/drivers/crypto/qat/
H A Dqat_crypto.c1028 if (op->sym->cipher.iv.length) {
1029 if (op->sym->cipher.iv.length <=
1032 op->sym->cipher.iv.data,
1033 op->sym->cipher.iv.length);
1039 op->sym->cipher.iv.phys_addr;
1169 if (op->sym->cipher.iv.length == 12) {
1204 rte_hexdump(stdout, "iv:", op->sym->cipher.iv.data,
1205 op->sym->cipher.iv.length);
/deb_dpdk/drivers/crypto/kasumi/
H A Drte_kasumi_pmd.c202 if (ops[i]->sym->cipher.iv.length != KASUMI_IV_LENGTH) {
204 KASUMI_LOG_ERR("iv");
215 IV[i] = *((uint64_t *)(ops[i]->sym->cipher.iv.data));
238 if (unlikely(op->sym->cipher.iv.length != KASUMI_IV_LENGTH)) {
240 KASUMI_LOG_ERR("iv");
252 IV = *((uint64_t *)(op->sym->cipher.iv.data));
/deb_dpdk/drivers/crypto/snow3g/
H A Drte_snow3g_pmd.c202 if (unlikely(ops[i]->sym->cipher.iv.length != SNOW3G_IV_LENGTH)) {
204 SNOW3G_LOG_ERR("iv");
215 IV[i] = ops[i]->sym->cipher.iv.data;
237 if (unlikely(op->sym->cipher.iv.length != SNOW3G_IV_LENGTH)) {
239 SNOW3G_LOG_ERR("iv");
251 IV = op->sym->cipher.iv.data;
/deb_dpdk/examples/dpdk_qat/
H A Dcrypto.c159 uint8_t iv[16]; member in struct:glob_keys
175 .iv = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,
691 memcpy(qaCoreConf[lcore_id].pPacketIV, &g_crypto_hash_keys.iv,
798 opData->iv = qaCoreConf[lcore_id].packetIVPhy;
873 opData->iv = qaCoreConf[lcore_id].packetIVPhy;
/deb_dpdk/drivers/crypto/aesni_mb/
H A Drte_aesni_mb_pmd.c425 job->iv = op->sym->cipher.iv.data;
426 job->iv_len_in_bytes = op->sym->cipher.iv.length;
/deb_dpdk/drivers/crypto/zuc/
H A Drte_zuc_pmd.c202 if (unlikely(ops[i]->sym->cipher.iv.length != ZUC_IV_KEY_LENGTH)) {
204 ZUC_LOG_ERR("iv");
223 IV[i] = ops[i]->sym->cipher.iv.data;

Completed in 33 milliseconds