Home
last modified time | relevance | path

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

12

/freebsd/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.h144 typedef struct hmac_ctx_st HMAC_CTX; typedef
/freebsd/crypto/openssl/crypto/hmac/
H A Dhmac.c25 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, in HMAC_Init_ex()
108 int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) in HMAC_Init()
116 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in HMAC_Update()
129 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in HMAC_Final()
155 size_t HMAC_size(const HMAC_CTX *ctx) in HMAC_size()
162 HMAC_CTX *HMAC_CTX_new(void) in HMAC_CTX_new()
164 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX)); in HMAC_CTX_new()
175 static void hmac_ctx_cleanup(HMAC_CTX *ctx) in hmac_ctx_cleanup()
187 void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
198 static int hmac_ctx_alloc_mds(HMAC_CTX *ctx) in hmac_ctx_alloc_mds()
[all …]
H A Dhmac_local.h59 int s390x_HMAC_init(HMAC_CTX *ctx, const void *key, int key_len, ENGINE *impl);
60 int s390x_HMAC_update(HMAC_CTX *ctx, const unsigned char *data, size_t len);
61 int s390x_HMAC_final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
62 int s390x_HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
63 int s390x_HMAC_CTX_cleanup(HMAC_CTX *ctx);
H A Dhmac_s390x.c45 static void s390x_call_kmac(HMAC_CTX *ctx, const unsigned char *in, size_t len) in s390x_call_kmac()
98 int s390x_HMAC_init(HMAC_CTX *ctx, const void *key, int key_len, ENGINE *impl) in s390x_HMAC_init()
186 int s390x_HMAC_update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in s390x_HMAC_update()
251 int s390x_HMAC_final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in s390x_HMAC_final()
294 int s390x_HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx) in s390x_HMAC_CTX_copy()
319 int s390x_HMAC_CTX_cleanup(HMAC_CTX *ctx) in s390x_HMAC_CTX_cleanup()
/freebsd/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,
36 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len);
37 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
39 void HMAC_CTX_free(HMAC_CTX *ctx);
41 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
42 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
43 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx);
45 size_t HMAC_size(const HMAC_CTX *e);
[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/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/crypto/krb5/src/lib/crypto/openssl/
H A Dhmac.c72 static HMAC_CTX *
75 HMAC_CTX *ctx; in compat_hmac_ctx_new()
85 compat_hmac_ctx_free(HMAC_CTX *ctx) in compat_hmac_ctx_free()
185 HMAC_CTX *ctx; in krb5int_hmac_keyblock()
/freebsd/crypto/openssl/test/
H A Dhmactest.c109 HMAC_CTX *ctx = NULL; in test_hmac_bad()
130 HMAC_CTX *ctx = NULL; in test_hmac_run()
220 HMAC_CTX *ctx = NULL; in test_hmac_final_update_fail()
244 HMAC_CTX *ctx = NULL, *ctx2 = NULL; in test_hmac_copy()
392 HMAC_CTX *ctx = NULL; in test_hmac_chunks()
/freebsd/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/crypto/openssl/providers/implementations/macs/
H A Dhmac_prov.c55 HMAC_CTX *ctx; /* HMAC context */
110 HMAC_CTX *ctx; in hmac_dup()
/freebsd/crypto/heimdal/kdc/
H A Dkx509.c67 HMAC_CTX *ctx; in verify_req_hash()
106 HMAC_CTX *ctx; in calculate_reply_hash()
/freebsd/crypto/openssl/ssl/
H A Dtls_depr.c148 HMAC_CTX *ssl_hmac_get0_HMAC_CTX(SSL_HMAC *ctx) in ssl_hmac_get0_HMAC_CTX()
H A Dssl_local.h717 HMAC_CTX *old_ctx;
724 HMAC_CTX *ssl_hmac_get0_HMAC_CTX(SSL_HMAC *ctx);
1003 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pk1.c288 HMAC_CTX *hmac = NULL; in ossl_rsa_prf()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dpbkdf2.c387 HMAC_CTX *hctx_tpl = NULL, *hctx = NULL; in pbkdf2_derive()
/freebsd/lib/libradius/
H A Dradlib.c156 HMAC_CTX *ctx; in insert_message_authenticator()
191 HMAC_CTX *hctx; in is_valid_response()
289 HMAC_CTX *hctx; in is_valid_request()
/freebsd/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/crypto/openssl/crypto/engine/
H A Deng_openssl.c452 HMAC_CTX *ctx;
/freebsd/crypto/heimdal/lib/gssapi/ntlm/
H A Dcrypto.c151 HMAC_CTX *c; in v2_sign_message()
/freebsd/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/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c183 HMAC_CTX *hmac = NULL; in pkcs12_gen_mac()
/freebsd/crypto/openssl/util/
H A Dindent.pro256 -T HMAC_CTX

12