/test/xts/acts/security/huks/huks_napi_BasicTest/src/ |
H A D | huks_three_stage_test_common.cpp | 492 static const EVP_MD *GetOpensslAlg(uint32_t alg) in GetOpensslAlg() argument 494 switch (alg) { in GetOpensslAlg() 512 static int32_t HksOpensslHash(uint32_t alg, const struct OH_Huks_Blob *msg, struct OH_Huks_Blob *hash) in HksOpensslHash() argument 514 const EVP_MD *opensslAlg = GetOpensslAlg(alg); in HksOpensslHash()
|
/third_party/node/deps/openssl/openssl/crypto/cms/ |
H A D | cms_lib.c | 415 char alg[OSSL_MAX_NAME_SIZE]; in ossl_cms_DigestAlgorithm_init_bio() local 418 OBJ_obj2txt(alg, sizeof(alg), digestoid, 0); in ossl_cms_DigestAlgorithm_init_bio() 421 fetched_digest = EVP_MD_fetch(ossl_cms_ctx_get0_libctx(ctx), alg, in ossl_cms_DigestAlgorithm_init_bio()
|
/third_party/openssl/crypto/cms/ |
H A D | cms_lib.c | 402 char alg[OSSL_MAX_NAME_SIZE]; in ossl_cms_DigestAlgorithm_init_bio() local 405 OBJ_obj2txt(alg, sizeof(alg), digestoid, 0); in ossl_cms_DigestAlgorithm_init_bio() 408 fetched_digest = EVP_MD_fetch(ossl_cms_ctx_get0_libctx(ctx), alg, in ossl_cms_DigestAlgorithm_init_bio()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | misc.c | 1028 struct crypto_shash *alg = NULL; in cifs_alloc_hash() local 1033 alg = crypto_alloc_shash(name, 0, 0); in cifs_alloc_hash() 1034 if (IS_ERR(alg)) { in cifs_alloc_hash() 1036 rc = PTR_ERR(alg); in cifs_alloc_hash() 1041 *sdesc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(alg), GFP_KERNEL); in cifs_alloc_hash() 1044 crypto_free_shash(alg); in cifs_alloc_hash() 1048 (*sdesc)->tfm = alg; in cifs_alloc_hash()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/zip/ |
H A D | zip_main.c | 131 .alg = "zlib\n", 134 .alg = "gzip\n", 137 .alg = "deflate\n", 140 .alg = "lz77_zstd\n", 461 bool hisi_zip_alg_support(struct hisi_qm *qm, u32 alg) in hisi_zip_alg_support() argument 466 if ((alg & cap_val) == alg) in hisi_zip_alg_support()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_hostap.c | 407 enum wpa_alg alg = params->alg; in wpa_driver_hostap_set_key() local 425 switch (alg) { in wpa_driver_hostap_set_key() 427 os_strlcpy((char *) param->u.crypt.alg, "NONE", in wpa_driver_hostap_set_key() 431 os_strlcpy((char *) param->u.crypt.alg, "WEP", in wpa_driver_hostap_set_key() 435 os_strlcpy((char *) param->u.crypt.alg, "TKIP", in wpa_driver_hostap_set_key() 439 os_strlcpy((char *) param->u.crypt.alg, "CCMP", in wpa_driver_hostap_set_key()
|
H A D | driver_privsep.c | 213 enum wpa_alg alg = params->alg; in wpa_driver_privsep_set_key() local 222 wpa_printf(MSG_DEBUG, "%s: priv=%p alg=%d key_idx=%d set_tx=%d", in wpa_driver_privsep_set_key() 223 __func__, priv, alg, key_idx, set_tx); in wpa_driver_privsep_set_key() 226 cmd.alg = alg; in wpa_driver_privsep_set_key()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | driver_i.h | 153 enum wpa_alg alg, const u8 *addr, in wpa_drv_set_key() 167 params.alg = alg; in wpa_drv_set_key() 179 if (alg != WPA_ALG_NONE) { in wpa_drv_set_key() 208 static inline int wpa_drv_set_wapi_key(struct wpa_supplicant *wpa_s, enum wpa_alg alg, in wpa_drv_set_wapi_key() argument 216 params.alg = alg; in wpa_drv_set_wapi_key() 149 wpa_drv_set_key(struct wpa_supplicant *wpa_s, int link_id, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) wpa_drv_set_key() argument
|
/kernel/linux/linux-5.10/crypto/ |
H A D | md5.c | 218 static struct shash_alg alg = { variable 237 return crypto_register_shash(&alg); in md5_mod_init() 242 crypto_unregister_shash(&alg); in md5_mod_fini()
|
H A D | cast6_generic.c | 250 static struct crypto_alg alg = { variable 271 return crypto_register_alg(&alg); in cast6_mod_init() 276 crypto_unregister_alg(&alg); in cast6_mod_fini()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A D | rtw_security.h | 20 #define is_wep_enc(alg) (((alg) == _WEP40_) || ((alg) == _WEP104_))
|
H A D | rtw_ap.h | 25 int rtw_ap_set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid);
|
/kernel/linux/linux-6.6/crypto/ |
H A D | md5.c | 218 static struct shash_alg alg = { variable 237 return crypto_register_shash(&alg); in md5_mod_init() 242 crypto_unregister_shash(&alg); in md5_mod_fini()
|
H A D | cast6_generic.c | 246 static struct crypto_alg alg = { variable 266 return crypto_register_alg(&alg); in cast6_mod_init() 271 crypto_unregister_alg(&alg); in cast6_mod_fini()
|
/third_party/node/deps/openssl/openssl/crypto/store/ |
H A D | store_result.c | 343 const X509_ALGOR *alg = NULL; in try_key_value_legacy() local 347 X509_SIG_get0(p8, &alg, &oct); in try_key_value_legacy() 353 PKCS12_pbe_crypt(alg, pbuf, plen, in try_key_value_legacy()
|
/third_party/openssl/crypto/store/ |
H A D | store_result.c | 343 const X509_ALGOR *alg = NULL; in try_key_value_legacy() local 347 X509_SIG_get0(p8, &alg, &oct); in try_key_value_legacy() 353 PKCS12_pbe_crypt(alg, pbuf, plen, in try_key_value_legacy()
|
/third_party/libwebsockets/plugins/ssh-base/ |
H A D | sshd.c | 415 if (pss->ua->alg) in lws_ua_destroy() 416 ssh_free(pss->ua->alg); in lws_ua_destroy() 705 * string public key alg in lws_ssh_parse_plaintext() 1092 pss->ua->alg = (char *)pss->last_alloc; in lws_ssh_parse_plaintext() 1094 if (rsa_hash_alg_from_ident(pss->ua->alg) < 0) { in lws_ssh_parse_plaintext() 1095 lwsl_notice("unknown alg\n"); in lws_ssh_parse_plaintext() 1122 pss->ua->username, pss->ua->alg, in lws_ssh_parse_plaintext() 1196 4 + (int)strlen(pss->ua->alg) + in lws_ssh_parse_plaintext() 1212 lws_cstr(&pp, pss->ua->alg, 64); in lws_ssh_parse_plaintext() 1218 (enum lws_genhash_types)rsa_hash_alg_from_ident(pss->ua->alg))) { in lws_ssh_parse_plaintext() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | wpa_auth_glue.c | 454 static int hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in hostapd_wpa_auth_set_key() argument 481 sta->last_tk_alg = alg; in hostapd_wpa_auth_set_key() 487 } else if (alg == WPA_ALG_BIP_CMAC_128 || in hostapd_wpa_auth_set_key() 488 alg == WPA_ALG_BIP_GMAC_128 || in hostapd_wpa_auth_set_key() 489 alg == WPA_ALG_BIP_GMAC_256 || in hostapd_wpa_auth_set_key() 490 alg == WPA_ALG_BIP_CMAC_256) { in hostapd_wpa_auth_set_key() 492 hapd->last_igtk_alg = alg; in hostapd_wpa_auth_set_key() 498 hapd->last_bigtk_alg = alg; in hostapd_wpa_auth_set_key() 505 hapd->last_gtk_alg = alg; in hostapd_wpa_auth_set_key() 512 return hostapd_drv_set_key(ifname, hapd, alg, add in hostapd_wpa_auth_set_key() [all...] |
/third_party/libcoap/src/ |
H A D | coap_openssl.c | 3630 cose_alg_t alg; member 3641 get_hash_alg(cose_alg_t alg, size_t *length) { in get_hash_alg() argument 3645 if (hashs[idx].alg == alg) { in get_hash_alg() 3650 coap_log_debug("get_hash_alg: COSE hash %d not supported\n", alg); in get_hash_alg() 3655 coap_crypto_hash(cose_alg_t alg, in coap_crypto_hash() argument 3664 if ((evp_md = get_hash_alg(alg, &hash_length)) == NULL) { in coap_crypto_hash() 3665 coap_log_debug("coap_crypto_hash: algorithm %d not supported\n", alg); in coap_crypto_hash() 3713 cose_alg_t alg; member 3720 get_cipher_alg(cose_alg_t alg) { in get_cipher_alg() argument 3758 coap_crypto_check_cipher_alg(cose_alg_t alg) coap_crypto_check_cipher_alg() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/amlogic/ |
H A D | amlogic-gxl.h | 138 * @alg: one of sub struct must be used 147 } alg; member
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | util.h | 93 char *spu_alg_name(enum spu_cipher_alg alg, enum spu_cipher_mode mode);
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H A D | rtw_ap.h | 25 int rtw_ap_set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid);
|
/kernel/linux/linux-6.6/drivers/crypto/amlogic/ |
H A D | amlogic-gxl.h | 136 * @alg: one of sub struct must be used 145 } alg; member
|
/kernel/linux/linux-6.6/drivers/crypto/bcm/ |
H A D | util.h | 107 char *spu_alg_name(enum spu_cipher_alg alg, enum spu_cipher_mode mode);
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre.h | 106 bool hpre_check_alg_support(struct hisi_qm *qm, u32 alg);
|