Home
last modified time | relevance | path

Searched refs:HMAC_CTX (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-14.2/crypto/openssl/include/openssl/
H A Dhmac.h32 OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e);
33 OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
34 OSSL_DEPRECATEDIN_3_0 int HMAC_CTX_reset(HMAC_CTX *ctx);
35 OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
38 OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx,
43 OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
45 OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
47 OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
49 OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
50 OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
[all …]
H A Dtypes.h132 typedef struct hmac_ctx_st HMAC_CTX; typedef
/freebsd-14.2/crypto/openssl/crypto/hmac/
H A Dhmac.c25 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, in HMAC_Init_ex()
138 size_t HMAC_size(const HMAC_CTX *ctx) in HMAC_size()
145 HMAC_CTX *HMAC_CTX_new(void) in HMAC_CTX_new()
147 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX)); in HMAC_CTX_new()
158 static void hmac_ctx_cleanup(HMAC_CTX *ctx) in hmac_ctx_cleanup()
166 void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
177 static int hmac_ctx_alloc_mds(HMAC_CTX *ctx) in hmac_ctx_alloc_mds()
194 int HMAC_CTX_reset(HMAC_CTX *ctx) in HMAC_CTX_reset()
204 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx) in HMAC_CTX_copy()
240 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags) in HMAC_CTX_set_flags()
[all …]
/freebsd-14.2/crypto/openssl/doc/man3/
H A DHMAC.pod31 HMAC_CTX *HMAC_CTX_new(void);
32 int HMAC_CTX_reset(HMAC_CTX *ctx);
34 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int key_len,
39 void HMAC_CTX_free(HMAC_CTX *ctx);
41 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
43 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx);
45 size_t HMAC_size(const HMAC_CTX *e);
51 int HMAC_Init(HMAC_CTX *ctx, const void *key, int key_len,
82 HMAC_CTX_new() creates a new HMAC_CTX in heap memory.
100 of an B<HMAC_CTX> in this function.
[all …]
H A DSSL_CTX_set_tlsext_ticket_key_cb.pod25 EVP_CIPHER_CTX *ctx, HMAC_CTX *hctx, int enc));
121 HMAC_CTX pointer instead of an EVP_MAC_CTX one.
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_openssl_hmac_private.h40 static inline HMAC_CTX *HMAC_CTX_new(void) in HMAC_CTX_new()
42 HMAC_CTX *ctx = calloc(1, sizeof(HMAC_CTX)); in HMAC_CTX_new()
46 static inline void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
H A Darchive_hmac_private.h87 typedef HMAC_CTX* archive_hmac_sha1_ctx;
/freebsd-14.2/contrib/libfido2/fuzz/
H A Dwrap.c444 WRAP(HMAC_CTX *,
454 (HMAC_CTX *ctx, const void *key, int key_len, const EVP_MD *md,
463 (HMAC_CTX *ctx, const unsigned char *data, int len),
471 (HMAC_CTX *ctx, unsigned char *md, unsigned int *len),
/freebsd-14.2/crypto/openssl/test/
H A Dhmactest.c109 HMAC_CTX *ctx = NULL; in test_hmac_bad()
130 HMAC_CTX *ctx = NULL; in test_hmac_run()
221 HMAC_CTX *ctx = NULL, *ctx2 = NULL; in test_hmac_copy()
/freebsd-14.2/crypto/openssl/providers/implementations/macs/
H A Dhmac_prov.c50 HMAC_CTX *ctx; /* HMAC context */
106 HMAC_CTX *ctx; in hmac_dup()
/freebsd-14.2/crypto/openssl/ssl/
H A Dtls_depr.c143 HMAC_CTX *ssl_hmac_get0_HMAC_CTX(SSL_HMAC *ctx) in ssl_hmac_get0_HMAC_CTX()
H A Dssl_local.h797 HMAC_CTX *old_ctx;
804 HMAC_CTX *ssl_hmac_get0_HMAC_CTX(SSL_HMAC *ctx);
1047 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
/freebsd-14.2/crypto/heimdal/kdc/
H A Dkx509.c67 HMAC_CTX *ctx; in verify_req_hash()
106 HMAC_CTX *ctx; in calculate_reply_hash()
/freebsd-14.2/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c87 HMAC_CTX *hmac = NULL; in pkcs12_gen_mac()
/freebsd-14.2/crypto/openssl/providers/implementations/kdfs/
H A Dpbkdf2.c284 HMAC_CTX *hctx_tpl = NULL, *hctx = NULL; in pbkdf2_derive()
H A Dhkdf.c518 HMAC_CTX *hmac; in HKDF_Expand()
/freebsd-14.2/lib/libradius/
H A Dradlib.c157 HMAC_CTX *ctx; in insert_message_authenticator()
192 HMAC_CTX *hctx; in is_valid_response()
290 HMAC_CTX *hctx; in is_valid_request()
/freebsd-14.2/crypto/heimdal/lib/ntlm/
H A Dntlm.c1170 HMAC_CTX *c; in heim_ntlm_v2_base_session()
1389 HMAC_CTX *c; in heim_ntlm_ntlmv2_key()
1844 HMAC_CTX *c; in heim_ntlm_derive_ntlm2_sess()
/freebsd-14.2/crypto/openssl/crypto/engine/
H A Deng_openssl.c446 HMAC_CTX *ctx;
/freebsd-14.2/crypto/heimdal/lib/gssapi/ntlm/
H A Dcrypto.c151 HMAC_CTX *c; in v2_sign_message()
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c55 static HMAC_CTX * HMAC_CTX_new(void) in HMAC_CTX_new()
57 HMAC_CTX *ctx; in HMAC_CTX_new()
66 static void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
1319 HMAC_CTX *ctx;
1661 HMAC_CTX *ctx; in openssl_hmac_vector()
4766 HMAC_CTX *hctx; in hpke_labeled_extract()
4857 HMAC_CTX *hctx; in hpke_labeled_expand()
/freebsd-14.2/contrib/unbound/util/
H A Dnet_help.c122 HMAC_CTX* hmac_ctx,
1729 HMAC_CTX* hmac_ctx, in tls_session_ticket_key_cb()
/freebsd-14.2/crypto/openssl/util/
H A Dindent.pro256 -T HMAC_CTX
/freebsd-14.2/contrib/libfido2/src/
H A Dcbor.c743 HMAC_CTX *ctx = NULL; in cbor_encode_change_pin_auth()
/freebsd-14.2/tests/sys/kern/
H A Dktls_test.c369 HMAC_CTX *ctx; in compute_hash()

12