Home
last modified time | relevance | path

Searched refs:MBEDTLS_MD_MAX_SIZE (Results 1 – 25 of 29) sorted by relevance

12

/mbedtls-3.7.0/include/mbedtls/
Dmd.h71 #define MBEDTLS_MD_MAX_SIZE 64 /* longest known is SHA512 */ macro
73 #define MBEDTLS_MD_MAX_SIZE 48 /* longest known is SHA384 */ macro
75 #define MBEDTLS_MD_MAX_SIZE 32 /* longest known is SHA256 */ macro
77 #define MBEDTLS_MD_MAX_SIZE 28 /* longest known is SHA224 */ macro
79 #define MBEDTLS_MD_MAX_SIZE 20 /* longest known is SHA1 or RIPE MD-160 macro
Dhmac_drbg.h78 unsigned char MBEDTLS_PRIVATE(V)[MBEDTLS_MD_MAX_SIZE]; /*!< V in the spec */
/mbedtls-3.7.0/programs/hash/
Dgeneric_sum.c46 unsigned char sum[MBEDTLS_MD_MAX_SIZE]; in generic_print()
67 unsigned char sum[MBEDTLS_MD_MAX_SIZE]; in generic_check()
71 char buf[MBEDTLS_MD_MAX_SIZE * 2 + 1] = { }; in generic_check()
73 char buf[MBEDTLS_MD_MAX_SIZE * 2 + 1]; in generic_check()
Dmd_hmac_demo.c94 unsigned char out[MBEDTLS_MD_MAX_SIZE]; // safe but not optimal in hmac_demo()
/mbedtls-3.7.0/library/
Dhkdf.c22 unsigned char prk[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hkdf()
41 unsigned char null_salt[MBEDTLS_MD_MAX_SIZE] = { '\0' }; in mbedtls_hkdf_extract()
74 unsigned char t[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hkdf_expand()
Dpkcs5.c276 unsigned char md1[MBEDTLS_MD_MAX_SIZE]; in pkcs5_pbkdf2_hmac()
277 unsigned char work[MBEDTLS_MD_MAX_SIZE]; in pkcs5_pbkdf2_hmac()
351 mbedtls_platform_zeroize(work, MBEDTLS_MD_MAX_SIZE); in pkcs5_pbkdf2_hmac()
352 mbedtls_platform_zeroize(md1, MBEDTLS_MD_MAX_SIZE); in pkcs5_pbkdf2_hmac()
Dmd.c63 #if defined(MBEDTLS_PSA_CRYPTO_C) && MBEDTLS_MD_MAX_SIZE < PSA_HASH_MAX_SIZE
972 unsigned char sum[MBEDTLS_MD_MAX_SIZE]; in mbedtls_md_hmac_starts()
1029 unsigned char tmp[MBEDTLS_MD_MAX_SIZE]; in mbedtls_md_hmac_finish()
Dx509write_csr.c141 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509write_csr_der_internal()
Dpkcs12.c336 unsigned char hash_output[MBEDTLS_MD_MAX_SIZE]; in mbedtls_pkcs12_derivation()
Dhmac_drbg.c50 unsigned char K[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hmac_drbg_update()
Dx509write_crt.c426 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in mbedtls_x509write_crt_der()
Drsa.c1624 unsigned char mask[MBEDTLS_MD_MAX_SIZE]; in mgf_mask()
1929 unsigned char lhash[MBEDTLS_MD_MAX_SIZE]; in mbedtls_rsa_rsaes_oaep_decrypt()
2541 unsigned char result[MBEDTLS_MD_MAX_SIZE]; in mbedtls_rsa_rsassa_pss_verify_ext()
Decjpake.c206 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in ecjpake_hash()
Dx509_crt.c2014 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_verifycrl()
2127 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_check_signature()
Dssl_tls12_client.c2294 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in ssl_parse_server_key_exchange()
Dssl_tls12_server.c3117 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in ssl_prepare_server_key_exchange()
/mbedtls-3.7.0/tests/suites/
Dtest_suite_md.function24 unsigned char out[MBEDTLS_MD_MAX_SIZE] = { 0 };
199 unsigned char output[MBEDTLS_MD_MAX_SIZE] = { 0 };
219 unsigned char output[MBEDTLS_MD_MAX_SIZE] = { 0 };
243 unsigned char output[MBEDTLS_MD_MAX_SIZE] = { 0 };
291 unsigned char output[MBEDTLS_MD_MAX_SIZE] = { 0 };
340 unsigned char output[MBEDTLS_MD_MAX_SIZE] = { 0 };
363 unsigned char output[MBEDTLS_MD_MAX_SIZE] = { 0 };
409 unsigned char output[MBEDTLS_MD_MAX_SIZE] = { 0 };
Dtest_suite_hkdf.function113 TEST_CALLOC(prk, MBEDTLS_MD_MAX_SIZE);
Dtest_suite_constant_time_hmac.function32 unsigned char ref_out[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_ecdsa.function17 unsigned char buf[MBEDTLS_MD_MAX_SIZE];
49 unsigned char buf[MBEDTLS_MD_MAX_SIZE];
Dtest_suite_pk.function2001 unsigned char hash[MBEDTLS_MD_MAX_SIZE];
2597 size_t in_buf_len = MBEDTLS_MD_MAX_SIZE;
/mbedtls-3.7.0/programs/pkey/
Ddh_client.c67 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in main()
Ddh_server.c59 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in main()
/mbedtls-3.7.0/programs/aes/
Dcrypt_and_hash.c70 unsigned char digest[MBEDTLS_MD_MAX_SIZE]; in main()
/mbedtls-3.7.0/tests/src/test_helpers/
Dssl_helpers.c1654 unsigned char mac[MBEDTLS_MD_MAX_SIZE]; in mbedtls_test_ssl_prepare_record_mac()

12