Searched refs:hash_alg (Results 1 – 13 of 13) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_tls13_keys.c | 134 mbedtls_md_type_t hash_alg, in mbedtls_ssl_tls1_3_hkdf_expand_label() argument 164 md = mbedtls_md_info_from_type( hash_alg ); in mbedtls_ssl_tls1_3_hkdf_expand_label() 197 mbedtls_md_type_t hash_alg, in mbedtls_ssl_tls1_3_make_traffic_keys() argument 205 ret = mbedtls_ssl_tls1_3_hkdf_expand_label( hash_alg, in mbedtls_ssl_tls1_3_make_traffic_keys() 213 ret = mbedtls_ssl_tls1_3_hkdf_expand_label( hash_alg, in mbedtls_ssl_tls1_3_make_traffic_keys() 221 ret = mbedtls_ssl_tls1_3_hkdf_expand_label( hash_alg, in mbedtls_ssl_tls1_3_make_traffic_keys() 244 mbedtls_md_type_t hash_alg, in mbedtls_ssl_tls1_3_derive_secret() argument 255 md = mbedtls_md_info_from_type( hash_alg ); in mbedtls_ssl_tls1_3_derive_secret() 288 mbedtls_md_type_t hash_alg, in mbedtls_ssl_tls1_3_evolve_secret() argument 299 md = mbedtls_md_info_from_type( hash_alg ); in mbedtls_ssl_tls1_3_evolve_secret() [all …]
|
A D | ssl_tls13_keys.h | 110 mbedtls_md_type_t hash_alg, 146 mbedtls_md_type_t hash_alg, 194 mbedtls_md_type_t hash_alg, 269 mbedtls_md_type_t hash_alg,
|
A D | x509write_csr.c | 153 psa_algorithm_t hash_alg = mbedtls_psa_translate_md( ctx->md_alg ); in x509write_csr_der_internal() local 221 if( psa_hash_setup( &hash_operation, hash_alg ) != PSA_SUCCESS ) in x509write_csr_der_internal()
|
A D | pk.c | 595 psa_algorithm_t hash_alg ) in mbedtls_pk_wrap_as_opaque() argument 600 ((void) hash_alg); in mbedtls_pk_wrap_as_opaque() 628 psa_set_key_algorithm( &attributes, PSA_ALG_ECDSA(hash_alg) ); in mbedtls_pk_wrap_as_opaque()
|
A D | x509_crt.c | 2442 psa_algorithm_t hash_alg = mbedtls_psa_translate_md( child->sig_md ); in x509_crt_check_signature() local 2444 if( psa_hash_setup( &hash_operation, hash_alg ) != PSA_SUCCESS ) in x509_crt_check_signature()
|
A D | ssl_tls.c | 1663 mbedtls_md_type_t hash_alg = handshake->ciphersuite_info->mac; in ssl_compute_master() local 1669 if( hash_alg == MBEDTLS_MD_SHA384 ) in ssl_compute_master() 7626 psa_algorithm_t hash_alg = mbedtls_psa_translate_md( md_alg ); in mbedtls_ssl_get_key_exchange_md_tls1_2() local 7631 hash_alg ) ) != PSA_SUCCESS ) in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
/optee_os-3.20.0/core/kernel/ |
A D | tcg.c | 37 uint32_t alg = digest_list->digests[i].hash_alg; in tcg_pcr_extend() 58 uint16_t hash_alg = digest_list->digests[i].hash_alg; in tcg_event_final_size() local 61 len += tpm2_get_alg_len(hash_alg); in tcg_event_final_size() 120 uint16_t hash_alg = 0; in tcg_parse_specid_event() local 166 hash_alg = in tcg_parse_specid_event() 173 digest_list->digests[digest_list->count++].hash_alg = hash_alg; in tcg_parse_specid_event() 267 uint16_t hash_alg = digest_list->digests[i].hash_alg; in tcg_parse_event() local 277 if (alg != hash_alg) in tcg_parse_event() 282 tpm2_get_alg_len(hash_alg)); in tcg_parse_event() 285 pos += tpm2_get_alg_len(hash_alg); in tcg_parse_event() [all …]
|
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | processing.h | 26 enum pkcs11_mechanism_id hash_alg; member 41 enum pkcs11_mechanism_id hash_alg; member 59 enum pkcs11_mechanism_id hash_alg; member
|
A D | processing_rsa.c | 52 ctx->hash_alg = hash; in pkcs2tee_proc_params_rsa_pss() 70 switch (rsa_pss_ctx->hash_alg) { in pkcs2tee_validate_rsa_pss() 245 ctx->hash_alg = hash; in pkcs2tee_proc_params_rsa_oaep() 307 ctx->hash_alg = hash; in pkcs2tee_proc_params_rsa_aes_wrap()
|
/optee_os-3.20.0/core/drivers/imx/dcp/ |
A D | dcp.c | 46 static const struct dcp_hashalg hash_alg[2] = { variable 498 desc->ctrl1 = hash_alg[hashdata->alg].type; in dcp_sha_do_init() 600 if (digest_size < hash_alg[hashdata->alg].size) { in dcp_sha_do_final() 602 hash_alg[hashdata->alg].size); in dcp_sha_do_final() 607 payload_size = hash_alg[hashdata->alg].size; in dcp_sha_do_final()
|
/optee_os-3.20.0/core/include/ |
A D | tpm2.h | 88 uint16_t hash_alg; member
|
/optee_os-3.20.0/core/drivers/crypto/caam/hash/ |
A D | caam_hash.c | 33 static const struct hashalg hash_alg[] = { variable 359 if (hash_id > caam_hash_limit || idx > ARRAY_SIZE(hash_alg)) in caam_hash_get_alg() 362 return &hash_alg[idx]; in caam_hash_get_alg()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | pk.h | 911 psa_algorithm_t hash_alg );
|
Completed in 30 milliseconds