/openssl/crypto/evp/ |
H A D | mac_lib.c | 22 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 D | mac_meth.c | 216 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 D | tls1_prf.c | 86 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 D | kbkdf.c | 61 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 D | sskdf.c | 58 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 D | EVP_MAC.pod | 8 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 D | SSL_CTX_set_tlsext_ticket_key_cb.pod | 16 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 D | provider_util.h | 95 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 D | hmac_drbg.h | 18 EVP_MAC_CTX *ctx; /* H(x) = HMAC_hash OR H(x) = KMAC */
|
/openssl/crypto/modes/ |
H A D | siv128.c | 94 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 D | quic_srt_gen.c | 15 EVP_MAC_CTX *mac_ctx;
|
/openssl/include/openssl/ |
H A D | evp.h | 1223 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 D | types.h | 115 typedef struct evp_mac_ctx_st EVP_MAC_CTX; typedef
|
/openssl/demos/mac/ |
H A D | gmac.c | 62 EVP_MAC_CTX *mctx = NULL; in main()
|
H A D | siphash.c | 49 EVP_MAC_CTX *mctx = NULL; in main()
|
H A D | cmac-aes256.c | 71 EVP_MAC_CTX *mctx = NULL; in main()
|
H A D | hmac-sha512.c | 81 EVP_MAC_CTX *mctx = NULL; in main()
|
H A D | poly1305.c | 90 EVP_MAC_CTX *mctx = NULL; in main()
|
/openssl/providers/fips/ |
H A D | self_test.c | 208 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 D | provider_util.c | 223 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 D | passing-algorithmidentifier-parameters.md | 92 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 D | tls13_meth.c | 27 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 D | drbg_hmac.c | 56 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 D | mac.c | 80 EVP_MAC_CTX *ctx = NULL; in mac_main()
|
/openssl/include/crypto/ |
H A D | modes.h | 231 EVP_MAC_CTX *mac_ctx_init;
|