Searched refs:mbedtls_md_context_t (Results 1 – 23 of 23) sorted by relevance
/mbedtls-3.5.0/include/mbedtls/ |
D | md.h | 198 typedef struct mbedtls_md_context_t { struct 214 } mbedtls_md_context_t; typedef 235 void mbedtls_md_init(mbedtls_md_context_t *ctx); 250 void mbedtls_md_free(mbedtls_md_context_t *ctx); 273 int mbedtls_md_setup(mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac); 299 int mbedtls_md_clone(mbedtls_md_context_t *dst, 300 const mbedtls_md_context_t *src); 338 int mbedtls_md_starts(mbedtls_md_context_t *ctx); 357 int mbedtls_md_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen); 378 int mbedtls_md_finish(mbedtls_md_context_t *ctx, unsigned char *output); [all …]
|
D | ssl_cookie.h | 61 mbedtls_md_context_t MBEDTLS_PRIVATE(hmac_ctx); /*!< context for the HMAC portion */
|
D | pkcs5.h | 111 int MBEDTLS_DEPRECATED mbedtls_pkcs5_pbkdf2_hmac(mbedtls_md_context_t *ctx,
|
D | hmac_drbg.h | 89 mbedtls_md_context_t MBEDTLS_PRIVATE(md_ctx); /*!< HMAC context (inc. K) */
|
/mbedtls-3.5.0/library/ |
D | md.c | 229 void mbedtls_md_init(mbedtls_md_context_t *ctx) in mbedtls_md_init() 232 memset(ctx, 0, sizeof(mbedtls_md_context_t)); in mbedtls_md_init() 235 void mbedtls_md_free(mbedtls_md_context_t *ctx) in mbedtls_md_free() 298 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_md_context_t)); in mbedtls_md_free() 301 int mbedtls_md_clone(mbedtls_md_context_t *dst, in mbedtls_md_clone() 302 const mbedtls_md_context_t *src) in mbedtls_md_clone() 377 int mbedtls_md_setup(mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac) in mbedtls_md_setup() 456 int mbedtls_md_starts(mbedtls_md_context_t *ctx) in mbedtls_md_starts() 505 int mbedtls_md_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen) in mbedtls_md_update() 552 int mbedtls_md_finish(mbedtls_md_context_t *ctx, unsigned char *output) in mbedtls_md_finish() [all …]
|
D | pkcs5.c | 225 static int pkcs5_pbkdf2_hmac(mbedtls_md_context_t *ctx, in pkcs5_pbkdf2_hmac() 315 int mbedtls_pkcs5_pbkdf2_hmac(mbedtls_md_context_t *ctx, in mbedtls_pkcs5_pbkdf2_hmac() 334 mbedtls_md_context_t md_ctx; in mbedtls_pkcs5_pbkdf2_hmac_ext()
|
D | constant_time_internal.h | 315 int mbedtls_ct_hmac(mbedtls_md_context_t *ctx,
|
D | hkdf.c | 85 mbedtls_md_context_t ctx; in mbedtls_hkdf_expand()
|
D | ssl_misc.h | 912 mbedtls_md_context_t fin_sha256; 919 mbedtls_md_context_t fin_sha384; 1120 mbedtls_md_context_t md_ctx_enc; /*!< MAC (encryption) */ 1121 mbedtls_md_context_t md_ctx_dec; /*!< MAC (decryption) */
|
D | constant_time.c | 634 int mbedtls_ct_hmac(mbedtls_md_context_t *ctx, in mbedtls_ct_hmac() 666 mbedtls_md_context_t aux; in mbedtls_ct_hmac()
|
D | ssl_cookie.c | 166 static int ssl_cookie_hmac(mbedtls_md_context_t *hmac_ctx, in ssl_cookie_hmac()
|
D | pkcs12.c | 241 mbedtls_md_context_t md_ctx; in calculate_hashes()
|
D | pem.c | 102 mbedtls_md_context_t md5_ctx; in pem_pbkdf1()
|
D | ssl_tls.c | 5818 mbedtls_md_context_t sha384; in ssl_get_handshake_transcript_sha384() 5856 mbedtls_md_context_t sha256; in ssl_get_handshake_transcript_sha256() 6187 mbedtls_md_context_t md_ctx; in tls_prf_generic() 6664 mbedtls_md_context_t sha256; in ssl_calc_verify_tls_sha256() 6726 mbedtls_md_context_t sha384; in ssl_calc_verify_tls_sha384() 7709 mbedtls_md_context_t sha256; in ssl_calc_finished_tls_sha256() 7799 mbedtls_md_context_t sha384; in ssl_calc_finished_tls_sha384() 8832 mbedtls_md_context_t ctx; in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
D | rsa.c | 1095 mbedtls_md_context_t md_ctx; in mgf_mask() 1198 mbedtls_md_context_t md_ctx; in hash_mprime()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_md.function | 23 mbedtls_md_context_t ctx; 50 mbedtls_md_context_t ctx; 208 mbedtls_md_context_t ctx, ctx_copy; 254 mbedtls_md_context_t ctx, ctx_copy; 326 mbedtls_md_context_t ctx; 392 mbedtls_md_context_t ctx1, ctx2;
|
D | test_suite_constant_time_hmac.function | 25 mbedtls_md_context_t ctx, ref_ctx;
|
D | test_suite_entropy.function | 444 mbedtls_md_context_t accumulator;
|
/mbedtls-3.5.0/programs/hash/ |
D | md_hmac_demo.c | 108 mbedtls_md_context_t ctx; in hmac_demo()
|
D | generic_sum.c | 168 mbedtls_md_context_t md_ctx; in main()
|
/mbedtls-3.5.0/programs/aes/ |
D | crypt_and_hash.c | 90 mbedtls_md_context_t md_ctx; in main()
|
/mbedtls-3.5.0/docs/architecture/psa-migration/ |
D | md-cipher-dispatch.md | 285 * `mbedtls_md_context_t` 301 Unlike the full MD, MD light does not support null pointers as `mbedtls_md_context_t *`. At least s… 342 typedef struct mbedtls_md_context_t { 351 } mbedtls_md_context_t;
|
D | strategy.md | 439 cost. For example, `mbedtls_md_context_t` would be defined as a (tagged) union
|