Home
last modified time | relevance | path

Searched refs:EVP_MAC_CTX (Results 1 – 25 of 43) sorted by relevance

12

/openssl/crypto/evp/
H A Dmac_lib.c22 EVP_MAC_CTX *EVP_MAC_CTX_new(EVP_MAC *mac) in EVP_MAC_CTX_new()
24 EVP_MAC_CTX *ctx = OPENSSL_zalloc(sizeof(EVP_MAC_CTX)); in EVP_MAC_CTX_new()
39 void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_free()
50 EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src) in EVP_MAC_CTX_dup()
52 EVP_MAC_CTX *dst; in EVP_MAC_CTX_dup()
77 EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get0_mac()
105 size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_mac_size()
110 size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_block_size()
126 static int evp_mac_final(EVP_MAC_CTX *ctx, int xof, in evp_mac_final()
171 int EVP_MAC_final(EVP_MAC_CTX *ctx, in EVP_MAC_final()
[all …]
H A Dmac_meth.c216 const OSSL_PARAM *EVP_MAC_CTX_gettable_params(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_gettable_params()
226 const OSSL_PARAM *EVP_MAC_CTX_settable_params(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_settable_params()
/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c86 static int tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx,
99 EVP_MAC_CTX *P_hash;
101 EVP_MAC_CTX *P_sha1;
463 static int tls1_prf_P_hash(EVP_MAC_CTX *ctx_init, in tls1_prf_P_hash()
469 EVP_MAC_CTX *ctx = NULL, *ctx_Ai = NULL; in tls1_prf_P_hash()
549 static int tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx, in tls1_prf_alg()
H A Dkbkdf.c61 EVP_MAC_CTX *ctx_init;
207 static int derive(EVP_MAC_CTX *ctx_init, kbkdf_mode mode, unsigned char *iv, in derive()
214 EVP_MAC_CTX *ctx = NULL; in derive()
269 static int kmac_init(EVP_MAC_CTX *ctx, const unsigned char *custom, size_t customlen) in kmac_init()
281 static int kmac_derive(EVP_MAC_CTX *ctx, unsigned char *out, size_t outlen, in kmac_derive()
H A Dsskdf.c58 EVP_MAC_CTX *macctx; /* H(x) = HMAC_hash OR H(x) = KMAC */
182 static int kmac_init(EVP_MAC_CTX *ctx, const unsigned char *custom, in kmac_init()
235 static int SSKDF_mac_kdm(EVP_MAC_CTX *ctx_init, in SSKDF_mac_kdm()
248 EVP_MAC_CTX *ctx = NULL; in SSKDF_mac_kdm()
/openssl/doc/man3/
H A DEVP_MAC.pod8 EVP_MAC_CTX, EVP_MAC_CTX_new, EVP_MAC_CTX_free, EVP_MAC_CTX_dup,
21 typedef struct evp_mac_ctx_st EVP_MAC_CTX;
36 EVP_MAC_CTX *EVP_MAC_CTX_new(EVP_MAC *mac);
37 void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx);
38 EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src);
39 EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx);
43 size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx);
44 size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx);
53 int EVP_MAC_final(EVP_MAC_CTX *ctx,
378 created EVP_MAC_CTX, or NULL if allocation failed.
[all …]
H A DSSL_CTX_set_tlsext_ticket_key_cb.pod16 EVP_CIPHER_CTX *ctx, EVP_MAC_CTX *hctx, int enc));
121 HMAC_CTX pointer instead of an EVP_MAC_CTX one.
159 EVP_MAC_CTX *hctx, int enc)
/openssl/providers/common/include/prov/
H A Dprovider_util.h95 int ossl_prov_set_macctx(EVP_MAC_CTX *macctx,
121 int ossl_prov_macctx_load_from_params(EVP_MAC_CTX **macctx,
/openssl/providers/implementations/include/prov/
H A Dhmac_drbg.h18 EVP_MAC_CTX *ctx; /* H(x) = HMAC_hash OR H(x) = KMAC */
/openssl/crypto/modes/
H A Dsiv128.c94 EVP_MAC_CTX *mac_ctx; in siv128_do_s2v_p()
169 EVP_MAC_CTX *mac_ctx = NULL; in ossl_siv128_init()
251 EVP_MAC_CTX *mac_ctx; in ossl_siv128_aad()
/openssl/ssl/quic/
H A Dquic_srt_gen.c15 EVP_MAC_CTX *mac_ctx;
/openssl/include/openssl/
H A Devp.h1223 EVP_MAC_CTX *EVP_MAC_CTX_new(EVP_MAC *mac);
1224 void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx);
1225 EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src);
1226 EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx);
1227 int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]);
1228 int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]);
1230 size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx);
1231 size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx);
1240 int EVP_MAC_final(EVP_MAC_CTX *ctx,
1246 const OSSL_PARAM *EVP_MAC_CTX_gettable_params(EVP_MAC_CTX *ctx);
[all …]
H A Dtypes.h115 typedef struct evp_mac_ctx_st EVP_MAC_CTX; typedef
/openssl/demos/mac/
H A Dgmac.c62 EVP_MAC_CTX *mctx = NULL; in main()
H A Dsiphash.c49 EVP_MAC_CTX *mctx = NULL; in main()
H A Dcmac-aes256.c71 EVP_MAC_CTX *mctx = NULL; in main()
H A Dhmac-sha512.c81 EVP_MAC_CTX *mctx = NULL; in main()
H A Dpoly1305.c90 EVP_MAC_CTX *mctx = NULL; in main()
/openssl/providers/fips/
H A Dself_test.c208 EVP_MAC_CTX *ctx = EVP_MAC_CTX_new(mac); in integrity_self_test()
252 EVP_MAC_CTX *ctx = NULL; in verify_integrity()
/openssl/providers/common/
H A Dprovider_util.c223 int ossl_prov_set_macctx(EVP_MAC_CTX *macctx, in ossl_prov_set_macctx()
289 int ossl_prov_macctx_load_from_params(EVP_MAC_CTX **macctx, in ossl_prov_macctx_load_from_params()
/openssl/doc/designs/
H A Dpassing-algorithmidentifier-parameters.md92 EVP_MAC_CTX_set_algor_params(EVP_MAC_CTX *ctx, const X509_ALGOR *alg);
93 EVP_MAC_CTX_get_algor_params(EVP_MAC_CTX *ctx, X509_ALGOR *alg);
94 EVP_MAC_CTX_get_algor(EVP_MAC_CTX *ctx, X509_ALGOR **alg);
/openssl/ssl/record/methods/
H A Dtls13_meth.c27 EVP_MAC_CTX *mac_ctx; in tls13_set_crypto_state()
100 EVP_MAC_CTX *mac_ctx = NULL; in tls13_cipher()
/openssl/providers/implementations/rands/
H A Ddrbg_hmac.c56 EVP_MAC_CTX *ctx = hmac->ctx; in do_hmac()
208 EVP_MAC_CTX *ctx = hmac->ctx; in ossl_drbg_hmac_generate()
/openssl/apps/
H A Dmac.c80 EVP_MAC_CTX *ctx = NULL; in mac_main()
/openssl/include/crypto/
H A Dmodes.h231 EVP_MAC_CTX *mac_ctx_init;

Completed in 111 milliseconds

12