Home
last modified time | relevance | path

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

/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.h141 typedef struct hmac_ctx_st HMAC_CTX; typedef
/openssl/crypto/hmac/
H A Dhmac.c25 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, in HMAC_Init_ex()
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()
215 int HMAC_CTX_reset(HMAC_CTX *ctx) in HMAC_CTX_reset()
225 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx) in HMAC_CTX_copy()
267 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags) in HMAC_CTX_set_flags()
[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.c44 static void s390x_call_kmac(HMAC_CTX *ctx, const unsigned char *in, size_t len) in s390x_call_kmac()
97 int s390x_HMAC_init(HMAC_CTX *ctx, const void *key, int key_len, ENGINE *impl) in s390x_HMAC_init()
188 int s390x_HMAC_update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in s390x_HMAC_update()
248 int s390x_HMAC_final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in s390x_HMAC_final()
286 int s390x_HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx) in s390x_HMAC_CTX_copy()
311 int s390x_HMAC_CTX_cleanup(HMAC_CTX *ctx) in s390x_HMAC_CTX_cleanup()
/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.
/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()
389 HMAC_CTX *ctx = NULL; in test_hmac_chunks()
H A Dsslapitest.c8266 HMAC_CTX *hctx, int enc) in tick_key_cb()
/openssl/providers/implementations/macs/
H A Dhmac_prov.c55 HMAC_CTX *ctx; /* HMAC context */
110 HMAC_CTX *ctx; in hmac_dup()
/openssl/ssl/
H A Dtls_depr.c147 HMAC_CTX *ssl_hmac_get0_HMAC_CTX(SSL_HMAC *ctx) in ssl_hmac_get0_HMAC_CTX()
H A Dssl_local.h721 HMAC_CTX *old_ctx;
728 HMAC_CTX *ssl_hmac_get0_HMAC_CTX(SSL_HMAC *ctx);
996 EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc);
H A Ds3_lib.c4131 HMAC_CTX *, int))fp; in ssl3_ctx_callback_ctrl()
/openssl/crypto/rsa/
H A Drsa_pk1.c290 HMAC_CTX *hmac = NULL; in ossl_rsa_prf()
H A Drsa_ossl.c438 HMAC_CTX *hmac = NULL; in derive_kdk()
/openssl/providers/implementations/kdfs/
H A Dpbkdf2.c387 HMAC_CTX *hctx_tpl = NULL, *hctx = NULL; in pbkdf2_derive()
H A Dhkdf.c570 HMAC_CTX *hmac; in HKDF_Expand()
/openssl/crypto/engine/
H A Deng_openssl.c446 HMAC_CTX *ctx;
/openssl/crypto/pkcs12/
H A Dp12_mutl.c168 HMAC_CTX *hmac = NULL; in pkcs12_gen_mac()
/openssl/util/
H A Dindent.pro256 -T HMAC_CTX
/openssl/
H A DNEWS.md794 EVP_CIPHER, EVP_PKEY and associated types, HMAC_CTX,
H A DCHANGES.md5637 * Made EVP_MD_CTX, EVP_MD, EVP_CIPHER_CTX, EVP_CIPHER and HMAC_CTX
5638 opaque. For HMAC_CTX, the following constructors and destructors
5641 HMAC_CTX *HMAC_CTX_new(void);
5642 void HMAC_CTX_free(HMAC_CTX *ctx);
14474 don't assume HMAC_CTX can be copied using memcpy().

Completed in 145 milliseconds