Home
last modified time | relevance | path

Searched refs:mbedtls_md_context_t (Results 1 – 23 of 23) sorted by relevance

/mbedtls-3.5.0/include/mbedtls/
Dmd.h198 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 …]
Dssl_cookie.h61 mbedtls_md_context_t MBEDTLS_PRIVATE(hmac_ctx); /*!< context for the HMAC portion */
Dpkcs5.h111 int MBEDTLS_DEPRECATED mbedtls_pkcs5_pbkdf2_hmac(mbedtls_md_context_t *ctx,
Dhmac_drbg.h89 mbedtls_md_context_t MBEDTLS_PRIVATE(md_ctx); /*!< HMAC context (inc. K) */
/mbedtls-3.5.0/library/
Dmd.c229 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 …]
Dpkcs5.c225 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()
Dconstant_time_internal.h315 int mbedtls_ct_hmac(mbedtls_md_context_t *ctx,
Dhkdf.c85 mbedtls_md_context_t ctx; in mbedtls_hkdf_expand()
Dssl_misc.h912 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) */
Dconstant_time.c634 int mbedtls_ct_hmac(mbedtls_md_context_t *ctx, in mbedtls_ct_hmac()
666 mbedtls_md_context_t aux; in mbedtls_ct_hmac()
Dssl_cookie.c166 static int ssl_cookie_hmac(mbedtls_md_context_t *hmac_ctx, in ssl_cookie_hmac()
Dpkcs12.c241 mbedtls_md_context_t md_ctx; in calculate_hashes()
Dpem.c102 mbedtls_md_context_t md5_ctx; in pem_pbkdf1()
Dssl_tls.c5818 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()
Drsa.c1095 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/
Dtest_suite_md.function23 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;
Dtest_suite_constant_time_hmac.function25 mbedtls_md_context_t ctx, ref_ctx;
Dtest_suite_entropy.function444 mbedtls_md_context_t accumulator;
/mbedtls-3.5.0/programs/hash/
Dmd_hmac_demo.c108 mbedtls_md_context_t ctx; in hmac_demo()
Dgeneric_sum.c168 mbedtls_md_context_t md_ctx; in main()
/mbedtls-3.5.0/programs/aes/
Dcrypt_and_hash.c90 mbedtls_md_context_t md_ctx; in main()
/mbedtls-3.5.0/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md285 * `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;
Dstrategy.md439 cost. For example, `mbedtls_md_context_t` would be defined as a (tagged) union