Searched refs:aad (Results 1 - 19 of 19) sorted by relevance

/deb_dpdk/examples/ipsec-secgw/
H A Desp.c94 uint8_t *aad; local
130 aad = get_aad(m);
131 memcpy(aad, iv - sizeof(struct esp_hdr), 8);
132 sym_cop->auth.aad.data = aad;
133 sym_cop->auth.aad.phys_addr = rte_pktmbuf_mtophys_offset(m,
134 aad - rte_pktmbuf_mtod(m, uint8_t *));
135 sym_cop->auth.aad.length = 8;
354 uint8_t *aad; local
364 aad
[all...]
/deb_dpdk/examples/l2fwd-crypto/
H A Dmain.c165 struct l2fwd_key aad; member in struct:l2fwd_crypto_options
184 struct l2fwd_key aad; member in struct:l2fwd_crypto_params
515 if (cparams->aad.length) {
516 op->sym->auth.aad.data = cparams->aad.data;
517 op->sym->auth.aad.phys_addr = cparams->aad.phys_addr;
518 op->sym->auth.aad.length = cparams->aad.length;
520 op->sym->auth.aad
[all...]
/deb_dpdk/app/test/
H A Dtest_cryptodev_kasumi_hash_test_vectors.h46 } aad; member in struct:kasumi_hash_test_data
78 .aad = {
112 .aad = {
147 .aad = {
184 .aad = {
222 .aad = {
269 .aad = {
313 .aad = {
H A Dtest_cryptodev.c1813 const uint8_t *aad, const unsigned aad_len,
1839 /* aad */
1841 * Always allocate the aad up to the block size.
1851 sym_op->auth.aad.data = (uint8_t *)rte_pktmbuf_prepend(
1853 TEST_ASSERT_NOT_NULL(sym_op->auth.aad.data,
1854 "no room to prepend aad");
1855 sym_op->auth.aad.phys_addr = rte_pktmbuf_mtophys(
1857 sym_op->auth.aad.length = aad_len;
1859 memset(sym_op->auth.aad.data, 0, aad_buffer_len);
1860 rte_memcpy(sym_op->auth.aad
1811 create_wireless_algo_hash_operation(const uint8_t *auth_tag, const unsigned auth_tag_len, const uint8_t *aad, const unsigned aad_len, unsigned data_pad_len, enum rte_crypto_auth_operation op, enum rte_crypto_auth_algorithm algo, const unsigned auth_len, const unsigned auth_offset) 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
5361 } aad; member in struct:test_crypto_vector
[all...]
H A Dtest_cryptodev_snow3g_test_vectors.h80 } aad; member in struct:snow3g_test_data
147 .aad = {
206 .aad = {
253 .aad = {
393 .aad = {
H A Dtest_cryptodev_zuc_hash_test_vectors.h45 } aad; member in struct:zuc_hash_test_data
74 .aad = {
105 .aad = {
139 .aad = {
181 .aad = {
246 .aad = {
H A Dtest_cryptodev_snow3g_hash_test_vectors.h45 } aad; member in struct:snow3g_hash_test_data
74 .aad = {
112 .aad = {
160 .aad = {
449 .aad = {
484 .aad = {
520 .aad = {
H A Dtest_cryptodev_kasumi_test_vectors.h51 } aad; member in struct:kasumi_test_data
211 .aad = {
366 .aad = {
H A Dtest_cryptodev_gcm_test_vectors.h52 } aad; member in struct:gcm_test_data
85 } aad; member in struct:gmac_test_data
113 .aad = {
150 .aad = {
188 .aad = {
240 .aad = {
296 .aad = {
353 .aad = {
411 .aad = {
491 .aad
590 } aad; member in struct:cryptodev_perf_test_data
[all...]
H A Dtest_cryptodev_perf.c112 uint8_t *aad; member in struct:crypto_params
2766 op->sym->auth.aad.data = aes_gcm_aad;
2767 op->sym->auth.aad.length = AES_GCM_AAD_LENGTH;
2801 op->sym->auth.aad.data = snow3g_iv;
2802 op->sym->auth.aad.length = SNOW3G_CIPHER_IV_LENGTH;
2867 op->sym->auth.aad.data = rte_pktmbuf_mtod(m, uint8_t *);
2868 op->sym->auth.aad.length = SNOW3G_CIPHER_IV_LENGTH;
2869 rte_memcpy(op->sym->auth.aad.data, snow3g_iv,
2871 op->sym->auth.aad.phys_addr = rte_pktmbuf_mtophys(m);
3089 * Buffer size + iv/aad le
[all...]
H A Dtest_cryptodev_zuc_test_vectors.h80 } aad; member in struct:zuc_test_data
277 .aad = {
/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.c249 if (op->auth.aad.length != 12 && op->auth.aad.length != 8 &&
250 op->auth.aad.length != 0) {
268 op->auth.aad.data,
269 (uint64_t)op->auth.aad.length,
284 op->auth.aad.data,
285 (uint64_t)op->auth.aad.length,
/deb_dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd.c580 uint8_t *aad, int aadlen, uint8_t *iv, int ivlen,
597 if (EVP_EncryptUpdate(ctx, NULL, &len, aad, aadlen) <= 0)
624 uint8_t *aad, int aadlen, uint8_t *iv, int ivlen,
644 if (EVP_DecryptUpdate(ctx, NULL, &len, aad, aadlen) <= 0)
726 uint8_t *src = NULL, *dst = NULL, *iv, *tag, *aad; local
731 aad = op->sym->auth.aad.data;
732 aadlen = op->sym->auth.aad.length;
752 src, srclen, aad, aadlen, iv, ivlen,
757 src, srclen, aad, aadle
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
[all...]
/deb_dpdk/lib/librte_cryptodev/
H A Drte_crypto_sym.h504 * ignored. The field @ref aad field
508 * mode of operation, this field is set to 0. aad data
525 * ignored. The field @ref aad field should be set
531 * Auth.aad.length is used instead.
624 } aad; member in struct:rte_crypto_sym_op::__anon510
/deb_dpdk/drivers/crypto/zuc/
H A Drte_zuc_pmd.c250 if (unlikely(ops[i]->sym->auth.aad.length != ZUC_IV_KEY_LENGTH)) {
252 ZUC_LOG_ERR("aad");
279 ops[i]->sym->auth.aad.data, src,
293 ops[i]->sym->auth.aad.data, src,
/deb_dpdk/drivers/crypto/qat/
H A Dqat_crypto.c1094 auth_param->u1.aad_adr = op->sym->auth.aad.phys_addr;
1184 op->sym->auth.aad.phys_addr;
1191 auth_param->auth_len = op->sym->auth.aad.length;
1208 rte_hexdump(stdout, "aad:", op->sym->auth.aad.data,
1209 op->sym->auth.aad.length);
/deb_dpdk/drivers/crypto/snow3g/
H A Drte_snow3g_pmd.c272 if (unlikely(ops[i]->sym->auth.aad.length != SNOW3G_IV_LENGTH)) {
274 SNOW3G_LOG_ERR("aad");
301 ops[i]->sym->auth.aad.data, src,
315 ops[i]->sym->auth.aad.data, src,
/deb_dpdk/drivers/crypto/kasumi/
H A Drte_kasumi_pmd.c277 if (unlikely(ops[i]->sym->auth.aad.length != KASUMI_IV_LENGTH)) {
279 KASUMI_LOG_ERR("aad");
301 IV = *((uint64_t *)(ops[i]->sym->auth.aad.data));

Completed in 25 milliseconds