Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Drsa.c958 ctx->hash_id = MBEDTLS_MD_NONE; in mbedtls_rsa_init()
972 mbedtls_md_type_t hash_id) in mbedtls_rsa_set_padding() argument
990 (hash_id != MBEDTLS_MD_NONE)) { in mbedtls_rsa_set_padding()
992 if (mbedtls_md_info_from_type(hash_id) == NULL) { in mbedtls_rsa_set_padding()
999 ctx->hash_id = hash_id; in mbedtls_rsa_set_padding()
1017 return ctx->hash_id; in mbedtls_rsa_get_md_alg()
1778 hlen = mbedtls_md_get_size_from_type((mbedtls_md_type_t) ctx->hash_id); in mbedtls_rsa_rsaes_oaep_encrypt()
1802 ret = compute_hash((mbedtls_md_type_t) ctx->hash_id, label, label_len, p); in mbedtls_rsa_rsaes_oaep_encrypt()
1815 (mbedtls_md_type_t) ctx->hash_id)) != 0) { in mbedtls_rsa_rsaes_oaep_encrypt()
1821 (mbedtls_md_type_t) ctx->hash_id)) != 0) { in mbedtls_rsa_rsaes_oaep_encrypt()
[all …]
/mbedtls-latest/tests/suites/
Dtest_suite_ssl_decrypt.function17 void ssl_decrypt_null(int hash_id)
48 cipher_type, hash_id, 0, 0,
124 void ssl_decrypt_non_etm_cbc(int cipher_type, int hash_id, int trunc_hmac,
160 ret = mbedtls_test_ssl_build_transforms(&t0, &t1, cipher_type, hash_id,
Dtest_suite_ssl.function1224 void ssl_crypt_record(int cipher_type, int hash_id,
1248 ret = mbedtls_test_ssl_build_transforms(&t0, &t1, cipher_type, hash_id,
1355 void ssl_crypt_record_small(int cipher_type, int hash_id,
1402 ret = mbedtls_test_ssl_build_transforms(&t0, &t1, cipher_type, hash_id,
/mbedtls-latest/include/mbedtls/
Drsa.h114 int MBEDTLS_PRIVATE(hash_id); /*!< Hash identifier of mbedtls_md_type_t type,
176 mbedtls_md_type_t hash_id);
/mbedtls-latest/tests/src/test_helpers/
Dssl_helpers.c1255 int cipher_type, int hash_id, in mbedtls_test_ssl_build_transforms() argument
1353 mbedtls_md_info_t const *md_info = mbedtls_md_info_from_type((mbedtls_md_type_t) hash_id); in mbedtls_test_ssl_build_transforms()
1356 maclen = mbedtls_md_get_size_from_type((mbedtls_md_type_t) hash_id); in mbedtls_test_ssl_build_transforms()
1365 alg = mbedtls_md_psa_alg_from_type(hash_id); in mbedtls_test_ssl_build_transforms()
1422 ((void) hash_id); in mbedtls_test_ssl_build_transforms()
/mbedtls-latest/tests/include/test/
Dssl_helpers.h517 int cipher_type, int hash_id,
/mbedtls-latest/docs/
D3.0-migration-guide.md376 mbedtls_rsa_init(ctx, padding, hash_id);
383 mbedtls_rsa_set_padding(ctx, padding, hash_id);