Searched refs:MBEDTLS_MD_MAX_SIZE (Results 1 – 25 of 29) sorted by relevance
12
71 #define MBEDTLS_MD_MAX_SIZE 64 /* longest known is SHA512 */ macro73 #define MBEDTLS_MD_MAX_SIZE 48 /* longest known is SHA384 */ macro75 #define MBEDTLS_MD_MAX_SIZE 32 /* longest known is SHA256 */ macro77 #define MBEDTLS_MD_MAX_SIZE 28 /* longest known is SHA224 */ macro79 #define MBEDTLS_MD_MAX_SIZE 20 /* longest known is SHA1 or RIPE MD-160 macro
78 unsigned char MBEDTLS_PRIVATE(V)[MBEDTLS_MD_MAX_SIZE]; /*!< V in the spec */
46 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()
94 unsigned char out[MBEDTLS_MD_MAX_SIZE]; // safe but not optimal in hmac_demo()
22 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()
276 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()
63 #if defined(MBEDTLS_PSA_CRYPTO_C) && MBEDTLS_MD_MAX_SIZE < PSA_HASH_MAX_SIZE972 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()
141 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509write_csr_der_internal()
336 unsigned char hash_output[MBEDTLS_MD_MAX_SIZE]; in mbedtls_pkcs12_derivation()
50 unsigned char K[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hmac_drbg_update()
426 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in mbedtls_x509write_crt_der()
1624 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()
206 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in ecjpake_hash()
2014 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_verifycrl()2127 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in x509_crt_check_signature()
2294 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in ssl_parse_server_key_exchange()
3117 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in ssl_prepare_server_key_exchange()
24 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 };
113 TEST_CALLOC(prk, MBEDTLS_MD_MAX_SIZE);
32 unsigned char ref_out[MBEDTLS_MD_MAX_SIZE];
17 unsigned char buf[MBEDTLS_MD_MAX_SIZE];49 unsigned char buf[MBEDTLS_MD_MAX_SIZE];
2001 unsigned char hash[MBEDTLS_MD_MAX_SIZE];2597 size_t in_buf_len = MBEDTLS_MD_MAX_SIZE;
67 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in main()
59 unsigned char hash[MBEDTLS_MD_MAX_SIZE]; in main()
70 unsigned char digest[MBEDTLS_MD_MAX_SIZE]; in main()
1654 unsigned char mac[MBEDTLS_MD_MAX_SIZE]; in mbedtls_test_ssl_prepare_record_mac()