| /f-stack/dpdk/lib/librte_acl/ |
| H A D | rte_acl.c | 215 switch (alg) { in acl_check_alg() 217 return acl_check_alg_arm(alg); in acl_check_alg() 219 return acl_check_alg_ppc(alg); in acl_check_alg() 260 for (i = 0; i != RTE_DIM(alg) && acl_check_alg(alg[i]) != 0; i++) in acl_get_best_alg() 264 RTE_VERIFY(i != RTE_DIM(alg)); in acl_get_best_alg() 265 return alg[i]; in acl_get_best_alg() 279 alg = acl_get_best_alg(); in rte_acl_set_ctx_classify() 282 rc = acl_check_alg(alg); in rte_acl_set_ctx_classify() 286 ctx->alg = alg; in rte_acl_set_ctx_classify() 293 enum rte_acl_classify_alg alg) in rte_acl_classify_alg() argument [all …]
|
| H A D | rte_acl.h | 322 enum rte_acl_classify_alg alg); 340 enum rte_acl_classify_alg alg);
|
| /f-stack/dpdk/drivers/crypto/qat/ |
| H A D | qat_sym_session.h | 40 #define QAT_AES_HW_CONFIG_CBC_ENC(alg) \ argument 41 ICP_QAT_HW_CIPHER_CONFIG_BUILD(ICP_QAT_HW_CIPHER_CBC_MODE, alg, \ 45 #define QAT_AES_HW_CONFIG_CBC_DEC(alg) \ argument 46 ICP_QAT_HW_CIPHER_CONFIG_BUILD(ICP_QAT_HW_CIPHER_CBC_MODE, alg, \ 145 qat_sym_validate_aes_key(int key_len, enum icp_qat_hw_cipher_algo *alg); 148 enum icp_qat_hw_cipher_algo *alg); 150 qat_sym_validate_snow3g_key(int key_len, enum icp_qat_hw_cipher_algo *alg); 152 qat_sym_validate_kasumi_key(int key_len, enum icp_qat_hw_cipher_algo *alg); 154 qat_sym_validate_3des_key(int key_len, enum icp_qat_hw_cipher_algo *alg); 156 qat_sym_validate_des_key(int key_len, enum icp_qat_hw_cipher_algo *alg); [all …]
|
| H A D | qat_sym_session.c | 2020 *alg = ICP_QAT_HW_CIPHER_ALGO_AES128; in qat_sym_validate_aes_key() 2023 *alg = ICP_QAT_HW_CIPHER_ALGO_AES192; in qat_sym_validate_aes_key() 2026 *alg = ICP_QAT_HW_CIPHER_ALGO_AES256; in qat_sym_validate_aes_key() 2035 enum icp_qat_hw_cipher_algo *alg) in qat_sym_validate_aes_docsisbpi_key() argument 2039 *alg = ICP_QAT_HW_CIPHER_ALGO_AES128; in qat_sym_validate_aes_docsisbpi_key() 2042 *alg = ICP_QAT_HW_CIPHER_ALGO_AES256; in qat_sym_validate_aes_docsisbpi_key() 2054 *alg = ICP_QAT_HW_CIPHER_ALGO_SNOW_3G_UEA2; in qat_sym_validate_snow3g_key() 2066 *alg = ICP_QAT_HW_CIPHER_ALGO_KASUMI; in qat_sym_validate_kasumi_key() 2078 *alg = ICP_QAT_HW_CIPHER_ALGO_DES; in qat_sym_validate_des_key() 2092 *alg = ICP_QAT_HW_CIPHER_ALGO_3DES; in qat_sym_validate_3des_key() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/ |
| H A D | crypto_pwhash.c | 132 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash() argument 134 switch (alg) { in crypto_pwhash() 137 opslimit, memlimit, alg); in crypto_pwhash() 140 opslimit, memlimit, alg); in crypto_pwhash() 159 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash_str_alg() argument 161 switch (alg) { in crypto_pwhash_str_alg()
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_freebsd.h | 445 ieee80211_scanner_register(alg, &v); \ 447 ieee80211_scanner_unregister(alg, &v); \ 457 alg##_modevent(int type) \ 460 ieee80211_aclator_register(&alg); \ 462 ieee80211_aclator_unregister(&alg); \ 464 TEXT_SET(acl_set, alg##_modevent); \ 472 #define IEEE80211_AUTH_ALG(name, alg, v) \ argument 491 alg##_modevent(int type) \ 494 ieee80211_ratectl_register(alg, &v); \ 496 ieee80211_ratectl_unregister(alg); \ [all …]
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_crc_arm64.h | 74 rte_hash_crc_set_alg(uint8_t alg) in rte_hash_crc_set_alg() argument 76 switch (alg) { in rte_hash_crc_set_alg() 79 alg = CRC32_SW; in rte_hash_crc_set_alg() 82 crc32_alg = alg; in rte_hash_crc_set_alg()
|
| H A D | rte_hash_crc.h | 443 rte_hash_crc_set_alg(uint8_t alg) in rte_hash_crc_set_alg() argument 446 if (alg == CRC32_SSE42_x64 && in rte_hash_crc_set_alg() 448 alg = CRC32_SSE42; in rte_hash_crc_set_alg() 450 crc32_alg = alg; in rte_hash_crc_set_alg()
|
| /f-stack/dpdk/app/test-acl/ |
| H A D | main.c | 60 enum rte_acl_classify_alg alg; member 70 .alg = RTE_ACL_CLASSIFY_SSE, 74 .alg = RTE_ACL_CLASSIFY_AVX2, 78 .alg = RTE_ACL_CLASSIFY_NEON, 108 struct acl_alg alg; member 120 .alg = { 793 if (config.alg.alg != RTE_ACL_CLASSIFY_DEFAULT) { in acx_init() 794 ret = rte_acl_set_ctx_classify(config.acx, config.alg.alg); in acx_init() 919 config.alg = acl_alg[i]; in get_alg_opt() 989 fprintf(f, "%s:%u(%s)\n", OPT_SEARCH_ALG, config.alg.alg, in dump_config() [all …]
|
| /f-stack/dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.c | 251 cipherdata.algtype = ses->cipher_key.alg; in dpaa_sec_prep_pdcp_cdb() 259 authdata.algtype = ses->auth_key.alg; in dpaa_sec_prep_pdcp_cdb() 362 cipherdata.algtype = ses->cipher_key.alg; in dpaa_sec_prep_ipsec_cdb() 370 authdata.algtype = ses->auth_key.alg; in dpaa_sec_prep_ipsec_cdb() 450 alginfo_c.algtype = ses->cipher_key.alg; in dpaa_sec_prep_cdb() 487 alginfo_a.algtype = ses->auth_key.alg; in dpaa_sec_prep_cdb() 529 alginfo.algtype = ses->aead_key.alg; in dpaa_sec_prep_cdb() 550 alginfo_c.algtype = ses->cipher_key.alg; in dpaa_sec_prep_cdb() 557 alginfo_a.algtype = ses->auth_key.alg; in dpaa_sec_prep_cdb() 2085 session->auth_key.alg = OP_ALG_ALGSEL_MD5; in dpaa_sec_auth_init() [all …]
|
| H A D | dpaa_sec.h | 136 uint32_t alg; member 143 uint32_t alg; member 149 uint32_t alg; member
|
| /f-stack/dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 151 enum rte_acl_classify_alg alg; member 155 .alg = RTE_ACL_CLASSIFY_SCALAR, 159 .alg = RTE_ACL_CLASSIFY_SSE, 163 .alg = RTE_ACL_CLASSIFY_AVX2, 167 .alg = RTE_ACL_CLASSIFY_NEON, 478 enum rte_acl_classify_alg alg; member 1156 if (alg == acl_alg[i].alg) in str_acl_alg() 1170 return acl_alg[i].alg; in parse_acl_alg() 1607 char alg[PATH_MAX]; in print_usage() local 1609 usage_acl_alg(alg, sizeof(alg)); in print_usage() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_pwhash.h | 107 unsigned long long opslimit, size_t memlimit, int alg) 124 unsigned long long opslimit, size_t memlimit, int alg)
|
| H A D | crypto_pwhash_argon2i.h | 97 int alg)
|
| H A D | crypto_pwhash_argon2id.h | 97 int alg)
|
| /f-stack/freebsd/netipsec/ |
| H A D | key_debug.c | 364 struct sadb_alg *alg; in kdebug_sadb_supported() local 372 / sizeof(*alg); in kdebug_sadb_supported() 373 alg = (struct sadb_alg *)(sup + 1); in kdebug_sadb_supported() 377 alg->sadb_alg_id, alg->sadb_alg_ivlen, in kdebug_sadb_supported() 378 alg->sadb_alg_minbits, alg->sadb_alg_maxbits); in kdebug_sadb_supported() 379 alg++; in kdebug_sadb_supported()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | pwhash_argon2id.c | 139 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash_argon2id() argument 162 switch (alg) { in crypto_pwhash_argon2id()
|
| H A D | pwhash_argon2i.c | 143 unsigned long long opslimit, size_t memlimit, int alg) in crypto_pwhash_argon2i() argument 166 switch (alg) { in crypto_pwhash_argon2i()
|
| /f-stack/freebsd/opencrypto/ |
| H A D | crypto.c | 699 alg_type(int alg) in alg_type() argument 702 if (alg < nitems(alg_types)) in alg_type() 703 return (alg_types[alg]); in alg_type() 708 alg_is_compression(int alg) in alg_is_compression() argument 715 alg_is_cipher(int alg) in alg_is_cipher() argument 718 return (alg_type(alg) == ALG_CIPHER); in alg_is_cipher() 722 alg_is_digest(int alg) in alg_is_digest() argument 725 return (alg_type(alg) == ALG_DIGEST || in alg_is_digest() 730 alg_is_keyed_digest(int alg) in alg_is_keyed_digest() argument 737 alg_is_aead(int alg) in alg_is_aead() argument [all …]
|
| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_net_crc.h | 42 rte_net_crc_set_alg(enum rte_net_crc_alg alg);
|
| H A D | rte_net_crc.c | 294 rte_net_crc_set_alg(enum rte_net_crc_alg alg) in rte_net_crc_set_alg() argument 300 switch (alg) { in rte_net_crc_set_alg()
|
| /f-stack/freebsd/crypto/rijndael/ |
| H A D | Makefile | 5 SRCS= ${PROG}.c rijndael-alg-fst.c rijndael-api-fst.c
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev.c | 1515 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_tcp() 1531 field->alg = NIX_LSOALG_ADD_OFFSET; in nix_lso_tcp() 1537 field->alg = NIX_LSOALG_TCP_FLAGS; in nix_lso_tcp() 1553 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_udp_tun_tcp() 1569 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_udp_tun_tcp() 1576 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_udp_tun_tcp() 1592 field->alg = NIX_LSOALG_ADD_OFFSET; in nix_lso_udp_tun_tcp() 1599 field->alg = NIX_LSOALG_TCP_FLAGS; in nix_lso_udp_tun_tcp() 1615 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_tun_tcp() 1631 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_tun_tcp() [all …]
|
| /f-stack/freebsd/crypto/ccp/ |
| H A D | ccp.c | 261 ccp_aes_check_keylen(int alg, int klen) in ccp_aes_check_keylen() argument 267 if (alg == CRYPTO_AES_XTS) in ccp_aes_check_keylen() 273 if (alg != CRYPTO_AES_XTS) in ccp_aes_check_keylen() 283 ccp_aes_setkey(struct ccp_session *s, int alg, const void *key, int klen) in ccp_aes_setkey() argument 287 if (alg == CRYPTO_AES_XTS) in ccp_aes_setkey()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.h | 226 enum rte_table_action_meter_algorithm alg; member 289 enum rte_table_action_meter_algorithm alg; member
|