Home
last modified time | relevance | path

Searched refs:alg (Results 551 - 575 of 1210) sorted by relevance

1...<<21222324252627282930>>...49

/third_party/fsverity-utils/lib/
H A Dlib_private.h34 struct hash_ctx *(*create_ctx)(const struct fsverity_hash_alg *alg);
40 const struct fsverity_hash_alg *alg; member
/third_party/mbedtls/library/
H A Dx509_internal.h27 mbedtls_x509_buf *alg);
29 mbedtls_x509_buf *alg, mbedtls_x509_buf *params);
H A Dssl_tls13_keys.c711 psa_algorithm_t alg; in ssl_tls13_calc_finished_core() local
745 alg = PSA_ALG_HMAC(hash_alg); in ssl_tls13_calc_finished_core()
747 psa_set_key_algorithm(&attributes, alg); in ssl_tls13_calc_finished_core()
756 status = psa_mac_compute(key, alg, transcript, hash_len, in ssl_tls13_calc_finished_core()
943 psa_algorithm_t alg; in mbedtls_ssl_tls13_populate_transform() local
1048 * Setup psa keys and alg in mbedtls_ssl_tls13_populate_transform()
1052 &alg, in mbedtls_ssl_tls13_populate_transform()
1060 transform->psa_alg = alg; in mbedtls_ssl_tls13_populate_transform()
1062 if (alg != MBEDTLS_SSL_NULL_CIPHER) { in mbedtls_ssl_tls13_populate_transform()
1064 psa_set_key_algorithm(&attributes, alg); in mbedtls_ssl_tls13_populate_transform()
1098 psa_algorithm_t alg; ssl_tls13_get_cipher_key_info() local
1485 psa_algorithm_t alg = ssl_tls13_key_schedule_stage_handshake() local
[all...]
H A Dssl_cookie.c107 psa_algorithm_t alg; in mbedtls_ssl_cookie_setup() local
112 alg = mbedtls_md_psa_alg_from_type(COOKIE_MD); in mbedtls_ssl_cookie_setup()
113 if (alg == 0) { in mbedtls_ssl_cookie_setup()
117 ctx->psa_hmac_alg = PSA_ALG_TRUNCATED_MAC(PSA_ALG_HMAC(alg), in mbedtls_ssl_cookie_setup()
/third_party/mbedtls/tests/include/test/
H A Dpsa_crypto_helpers.h291 * \param alg The AEAD algorithm.
301 #define MBEDTLS_TEST_PSA_SKIP_IF_ALT_GCM_NOT_12BYTES_NONCE(alg, \
306 (PSA_ALG_AEAD_WITH_SHORTENED_TAG((alg), 0) == \
/third_party/mbedtls/programs/hash/
H A Dmd_hmac_demo.c105 const mbedtls_md_type_t alg = MBEDTLS_MD_SHA256; in hmac_demo() local
114 const mbedtls_md_info_t *info = mbedtls_md_info_from_type(alg); in hmac_demo()
/third_party/node/deps/openssl/openssl/crypto/ts/
H A Dts_lib.c73 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) in TS_X509_ALGOR_print_bio() argument
75 int i = OBJ_obj2nid(alg->algorithm); in TS_X509_ALGOR_print_bio()
/third_party/openssl/crypto/ts/
H A Dts_lib.c73 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) in TS_X509_ALGOR_print_bio() argument
75 int i = OBJ_obj2nid(alg->algorithm); in TS_X509_ALGOR_print_bio()
/third_party/libcoap/src/
H A Dcoap_tinydtls.c1490 coap_crypto_hash(cose_alg_t alg, in coap_crypto_hash() argument
1493 (void)alg; in coap_crypto_hash()
1513 cose_alg_t alg; member
1520 get_cipher_alg(cose_alg_t alg) { in get_cipher_alg() argument
1524 if (ciphers[idx].alg == alg) in get_cipher_alg()
1527 coap_log_debug("get_cipher_alg: COSE cipher %d not supported\n", alg); in get_cipher_alg()
1556 coap_crypto_check_cipher_alg(cose_alg_t alg) { in coap_crypto_check_cipher_alg() argument
1557 return get_cipher_alg(alg); in coap_crypto_check_cipher_alg()
1584 if (get_cipher_alg(params->alg) in coap_crypto_aead_encrypt()
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dwm_adsp.c991 adsp_dbg(dsp, "Sending 0x%x to acked control alg 0x%x %s:0x%x\n", in wm_coeff_write_acked_control()
992 event_id, ctl->alg_region.alg, in wm_coeff_write_acked_control()
1031 adsp_warn(dsp, "Acked control @0x%x alg:0x%x %s:0x%x timed out\n", in wm_coeff_write_acked_control()
1032 reg, ctl->alg_region.alg, in wm_coeff_write_acked_control()
1396 "Failed to send 0x%x event to alg 0x%x (%d)\n", in wm_adsp_signal_event_controls()
1397 event, ctl->alg_region.alg, ret); in wm_adsp_signal_event_controls()
1441 dsp->name, region_name, alg_region->alg); in wm_adsp_create_control()
1447 wm_adsp_fw_text[dsp->fw], alg_region->alg); in wm_adsp_create_control()
1452 wm_adsp_fw_text[dsp->fw], alg_region->alg); in wm_adsp_create_control()
1750 alg_region.alg in wm_adsp_parse_coeff()
2029 wm_adsp_get_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg) wm_adsp_get_ctl() argument
2052 wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg, void *buf, size_t len) wm_adsp_write_ctl() argument
2094 wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg, void *buf, size_t len) wm_adsp_read_ctl() argument
2128 void *alg; wm_adsp_read_algs() local
[all...]
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_krb5_mech.c161 int alg; in get_key() local
163 p = simple_get_bytes(p, end, &alg, sizeof(alg)); in get_key()
167 switch (alg) { in get_key()
172 alg = ENCTYPE_DES_CBC_RAW; in get_key()
176 if (!supported_gss_krb5_enctype(alg)) { in get_key()
178 "encryption key algorithm %d\n", alg); in get_key()
/base/security/certificate_manager/test/unittest/src/
H A Dcm_test_common.cpp267 static int32_t ConstructAppCertData(uint32_t alg, struct CmBlob *appCert) in ConstructAppCertData() argument
269 switch (alg) { in ConstructAppCertData()
316 int32_t TestGenerateAppCert(const struct CmBlob *alias, uint32_t alg, uint32_t store) in TestGenerateAppCert() argument
319 int32_t ret = ConstructAppCertData(alg, &appCert); in TestGenerateAppCert()
/kernel/linux/linux-5.10/crypto/
H A Ddeflate.c276 static struct crypto_alg alg = { variable
315 ret = crypto_register_alg(&alg); in deflate_mod_init()
321 crypto_unregister_alg(&alg); in deflate_mod_init()
330 crypto_unregister_alg(&alg); in deflate_mod_fini()
H A Dsalsa20_generic.c179 static struct skcipher_alg alg = { variable
198 return crypto_register_skcipher(&alg); in salsa20_generic_mod_init()
203 crypto_unregister_skcipher(&alg); in salsa20_generic_mod_fini()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
H A Dccp-crypto-main.c379 crypto_unregister_ahash(&ahash_alg->alg); in ccp_unregister_algs()
385 crypto_unregister_skcipher(&ablk_alg->alg); in ccp_unregister_algs()
391 crypto_unregister_aead(&aead_alg->alg); in ccp_unregister_algs()
397 crypto_unregister_akcipher(&akc_alg->alg); in ccp_unregister_algs()
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dccp-crypto-main.c372 crypto_unregister_ahash(&ahash_alg->alg); in ccp_unregister_algs()
378 crypto_unregister_skcipher(&ablk_alg->alg); in ccp_unregister_algs()
384 crypto_unregister_aead(&aead_alg->alg); in ccp_unregister_algs()
390 crypto_unregister_akcipher(&akc_alg->alg); in ccp_unregister_algs()
/kernel/linux/linux-6.6/crypto/
H A Ddeflate.c276 static struct crypto_alg alg = { variable
315 ret = crypto_register_alg(&alg); in deflate_mod_init()
321 crypto_unregister_alg(&alg); in deflate_mod_init()
330 crypto_unregister_alg(&alg); in deflate_mod_fini()
/third_party/mbedtls/programs/psa/
H A Dpsa_constant_names.c119 typedef const char *(*psa_get_algorithm_name_func_ptr)(psa_algorithm_t alg);
124 psa_algorithm_t alg) in append_with_alg()
126 const char *name = get_name(alg); in append_with_alg()
132 "0x%08lx", alg); in append_with_alg()
195 printf(" alg=algorithm Algorithm (psa_algorithm_t)\n"); in usage()
303 } else if (!strcmp(argv[1], "alg") || !strcmp(argv[1], "algorithm")) { in main()
121 append_with_alg(char **buffer, size_t buffer_size, size_t *required_size, psa_get_algorithm_name_func_ptr get_name, psa_algorithm_t alg) append_with_alg() argument
/third_party/node/deps/openssl/openssl/crypto/bn/asm/
H A Ds390x.S46 alg %r7,0(%r3,%r1) // +=rp[i]
53 alg %r9,8(%r3,%r1)
60 alg %r11,16(%r3,%r1)
67 alg %r13,24(%r3,%r1)
78 alg %r7,0(%r3,%r1) // +=rp[i]
85 alg %r9,8(%r3,%r1)
91 alg %r11,16(%r3,%r1)
96 alg %r13,24(%r3,%r1)
115 alg %r7,0(%r3,%r1) // +=rp[i]
/third_party/openssl/crypto/bn/asm/
H A Ds390x.S46 alg %r7,0(%r3,%r1) // +=rp[i]
53 alg %r9,8(%r3,%r1)
60 alg %r11,16(%r3,%r1)
67 alg %r13,24(%r3,%r1)
78 alg %r7,0(%r3,%r1) // +=rp[i]
85 alg %r9,8(%r3,%r1)
91 alg %r11,16(%r3,%r1)
96 alg %r13,24(%r3,%r1)
115 alg %r7,0(%r3,%r1) // +=rp[i]
/base/security/crypto_framework/frameworks/js/jsi/src/
H A Djsi_md.cpp33 char *alg = JSI::ValueToString(args[0]); in CreateMd() local
34 if (alg == nullptr) { in CreateMd()
35 LOGE("Update alg is null!"); in CreateMd()
40 HcfResult res = HcfMdCreate(reinterpret_cast<const char *>(alg), &mdObj); in CreateMd()
/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_modify_key_test_func.cpp59 encryptStruct->cipherParms->setAlg, encryptStruct->cipherParms->alg, in Encrypt()
90 decryptStruct->cipherParms->decryptParamSetParams.alg, in DecryptCipher()
121 genKeyParamSetParams->setAlg, genKeyParamSetParams->alg, in GenerateKeyTwo()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_auth.c68 static int32_t OptionalParamCheck(uint32_t authTag, uint32_t alg, uint32_t purpose, const struct HksParamSet *paramSet, in OptionalParamCheck() argument
84 ret = HksCheckOptionalParam(authTag, alg, purpose, isAbsent, param); in OptionalParamCheck()
94 return HksCheckGenKeyMutableParams(alg, paramValues); in OptionalParamCheck()
/kernel/linux/linux-5.10/drivers/crypto/bcm/
H A Dspu.h116 enum spu_cipher_alg alg; member
127 enum hash_alg alg; member
238 u32 spum_digest_size(u32 alg_digest_size, enum hash_alg alg,
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_tag.c116 static const struct sockaddr_alg alg = { in tag_from_alg() local
127 ret = bind(fd_base, (struct sockaddr *)&alg, sizeof(alg)); in tag_from_alg()

Completed in 18 milliseconds

1...<<21222324252627282930>>...49