Searched refs:MBEDTLS_MD_NONE (Results 1 – 16 of 16) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | pkcs11.c | 182 if( md_alg != MBEDTLS_MD_NONE ) in mbedtls_pkcs11_sign() 202 if( md_alg != MBEDTLS_MD_NONE ) in mbedtls_pkcs11_sign()
|
A D | oid.c | 406 MBEDTLS_MD_NONE, MBEDTLS_PK_RSASSA_PSS, 411 MBEDTLS_MD_NONE, MBEDTLS_PK_NONE, 633 MBEDTLS_MD_NONE, 679 MBEDTLS_MD_NONE, 709 MBEDTLS_MD_NONE, MBEDTLS_CIPHER_NONE,
|
A D | pk.c | 238 if( *hash_len != 0 && md_alg == MBEDTLS_MD_NONE ) in pk_hashlen_helper() 285 PK_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && hash_len == 0 ) || in mbedtls_pk_verify_restartable() 343 PK_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && hash_len == 0 ) || in mbedtls_pk_verify_ext() 360 if( md_alg == MBEDTLS_MD_NONE && UINT_MAX < hash_len ) in mbedtls_pk_verify_ext() 408 PK_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && hash_len == 0 ) || in mbedtls_pk_sign_restartable()
|
A D | rsa.c | 1598 RSA_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && in rsa_rsassa_pss_sign() 1611 if( md_alg != MBEDTLS_MD_NONE ) in rsa_rsassa_pss_sign() 1784 if( md_alg != MBEDTLS_MD_NONE ) in rsa_rsassa_pkcs1_v15_encode() 1839 if( md_alg == MBEDTLS_MD_NONE ) in rsa_rsassa_pkcs1_v15_encode() 1902 RSA_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && in mbedtls_rsa_rsassa_pkcs1_v15_sign() 1983 RSA_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && in mbedtls_rsa_pkcs1_sign() 2038 RSA_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && in mbedtls_rsa_rsassa_pss_verify_ext() 2062 if( md_alg != MBEDTLS_MD_NONE ) in mbedtls_rsa_rsassa_pss_verify_ext() 2175 RSA_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && in mbedtls_rsa_rsassa_pss_verify() 2212 RSA_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && in mbedtls_rsa_rsassa_pkcs1_v15_verify() [all …]
|
A D | pk_wrap.c | 86 if( md_alg == MBEDTLS_MD_NONE && UINT_MAX < hash_len ) in rsa_verify_wrap() 117 if( md_alg == MBEDTLS_MD_NONE && UINT_MAX < hash_len ) in rsa_sign_wrap() 807 if( ( ret = rsa_alt_sign_wrap( (void *) prv, MBEDTLS_MD_NONE, in rsa_alt_check_pair() 814 if( rsa_verify_wrap( (void *) pub, MBEDTLS_MD_NONE, in rsa_alt_check_pair()
|
A D | ssl_cli.c | 236 for( md = ssl->conf->sig_hashes; *md != MBEDTLS_MD_NONE; md++ ) in ssl_write_signature_algorithms_ext() 263 for( md = ssl->conf->sig_hashes; *md != MBEDTLS_MD_NONE; md++ ) in ssl_write_signature_algorithms_ext() 2973 *md_alg = MBEDTLS_MD_NONE; in ssl_parse_signature_algorithm() 2989 == MBEDTLS_MD_NONE ) in ssl_parse_signature_algorithm() 3306 mbedtls_md_type_t md_alg = MBEDTLS_MD_NONE; in ssl_parse_server_key_exchange() 3353 if( pk_alg == MBEDTLS_PK_ECDSA && md_alg == MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange() 3396 if( md_alg == MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange() 3409 if( md_alg != MBEDTLS_MD_NONE ) in ssl_parse_server_key_exchange() 4192 mbedtls_md_type_t md_alg = MBEDTLS_MD_NONE; in ssl_write_certificate_verify() 4260 md_alg = MBEDTLS_MD_NONE; in ssl_write_certificate_verify()
|
A D | ssl_srv.c | 297 if( md_cur == MBEDTLS_MD_NONE ) in ssl_parse_signature_algorithms_ext() 1137 … mbedtls_ssl_sig_hash_set_find( &ssl->handshake->hash_algs, sig_type ) == MBEDTLS_MD_NONE ) in ssl_ciphersuite_match() 2154 md_default = MBEDTLS_MD_NONE; in ssl_parse_client_hello() 3180 for( cur = ssl->conf->sig_hashes; *cur != MBEDTLS_MD_NONE; cur++ ) in ssl_write_certificate_request() 3543 sig_alg ) ) == MBEDTLS_MD_NONE ) in ssl_prepare_server_key_exchange() 3565 md_alg = MBEDTLS_MD_NONE; in ssl_prepare_server_key_exchange() 3575 if( md_alg == MBEDTLS_MD_NONE ) in ssl_prepare_server_key_exchange() 3589 if( md_alg != MBEDTLS_MD_NONE ) in ssl_prepare_server_key_exchange() 4558 md_alg = MBEDTLS_MD_NONE; in ssl_parse_certificate_verify() 4586 if( md_alg == MBEDTLS_MD_NONE || mbedtls_ssl_set_calc_verify_md( ssl, ssl->in_msg[i] ) ) in ssl_parse_certificate_verify()
|
A D | md.c | 171 MBEDTLS_MD_NONE 880 return( MBEDTLS_MD_NONE ); in mbedtls_md_get_type()
|
A D | ssl_tls.c | 2170 session->peer_cert_digest_type = MBEDTLS_MD_NONE; in ssl_clear_peer_cert() 5541 *p++ = (unsigned char) MBEDTLS_MD_NONE; in ssl_session_save() 6946 MBEDTLS_MD_NONE 6960 MBEDTLS_MD_NONE 7238 return( MBEDTLS_MD_NONE ); in mbedtls_ssl_sig_hash_set_find() 7250 if( set->rsa == MBEDTLS_MD_NONE ) in mbedtls_ssl_sig_hash_set_add() 7255 if( set->ecdsa == MBEDTLS_MD_NONE ) in mbedtls_ssl_sig_hash_set_add() 7305 return( MBEDTLS_MD_NONE ); in mbedtls_ssl_md_alg_from_hash() 7388 for( cur = ssl->conf->sig_hashes; *cur != MBEDTLS_MD_NONE; cur++ ) in mbedtls_ssl_check_sig_hash()
|
A D | ssl_ciphersuites.c | 2169 MBEDTLS_CIPHER_NONE, MBEDTLS_MD_NONE, MBEDTLS_KEY_EXCHANGE_NONE,
|
A D | x509_crt.c | 163 if( md_alg == MBEDTLS_MD_NONE ) in x509_profile_check_md_alg()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | rsa.c | 93 return MBEDTLS_MD_NONE; in tee_algo_to_mbedtls_hash_algo() 415 uint32_t md_algo = MBEDTLS_MD_NONE; in sw_crypto_acipher_rsaes_decrypt() 453 if (md_algo == MBEDTLS_MD_NONE) { in sw_crypto_acipher_rsaes_decrypt() 510 uint32_t md_algo = MBEDTLS_MD_NONE; in sw_crypto_acipher_rsaes_encrypt() 544 if (md_algo == MBEDTLS_MD_NONE) { in sw_crypto_acipher_rsaes_encrypt() 631 if (md_algo == MBEDTLS_MD_NONE) { in sw_crypto_acipher_rsassa_sign() 741 if (md_algo == MBEDTLS_MD_NONE) { in sw_crypto_acipher_rsassa_verify()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | md.h | 63 MBEDTLS_MD_NONE=0, /**< None. */ enumerator
|
A D | psa_util.h | 157 case MBEDTLS_MD_NONE: in mbedtls_psa_translate_md()
|
A D | ssl_internal.h | 915 mbedtls_ssl_sig_hash_set_const_hash( set, MBEDTLS_MD_NONE ); in mbedtls_ssl_sig_hash_set_init()
|
A D | compat-1.3.h | 1268 #define POLARSSL_MD_NONE MBEDTLS_MD_NONE
|
Completed in 63 milliseconds