Home
last modified time | relevance | path

Searched refs:hash_id (Results 1 – 2 of 2) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Drsa.h103 int hash_id; /*!< Hash identifier of mbedtls_md_type_t as member
139 int hash_id);
149 void mbedtls_rsa_set_padding( mbedtls_rsa_context *ctx, int padding, int hash_id);
/net-tools-latest/mbedtls-2.4.0/library/
Drsa.c69 int hash_id ) in mbedtls_rsa_init() argument
73 mbedtls_rsa_set_padding( ctx, padding, hash_id ); in mbedtls_rsa_init()
83 void mbedtls_rsa_set_padding( mbedtls_rsa_context *ctx, int padding, int hash_id ) in mbedtls_rsa_set_padding() argument
86 ctx->hash_id = hash_id; in mbedtls_rsa_set_padding()
528 md_info = mbedtls_md_info_from_type( (mbedtls_md_type_t) ctx->hash_id ); in mbedtls_rsa_rsaes_oaep_encrypt()
709 md_info = mbedtls_md_info_from_type( (mbedtls_md_type_t) ctx->hash_id ); in mbedtls_rsa_rsaes_oaep_decrypt()
957 md_info = mbedtls_md_info_from_type( (mbedtls_md_type_t) ctx->hash_id ); in mbedtls_rsa_rsassa_pss_sign()
1313 mbedtls_md_type_t mgf1_hash_id = ( ctx->hash_id != MBEDTLS_MD_NONE ) in mbedtls_rsa_rsassa_pss_verify()
1314 ? (mbedtls_md_type_t) ctx->hash_id in mbedtls_rsa_rsassa_pss_verify()
1503 dst->hash_id = src->hash_id; in mbedtls_rsa_copy()