/freebsd/crypto/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() 40 void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_free() 51 EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src) in EVP_MAC_CTX_dup() 53 EVP_MAC_CTX *dst; in EVP_MAC_CTX_dup() 80 EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get0_mac() 85 static size_t get_size_t_ctx_param(EVP_MAC_CTX *ctx, const char *name) in get_size_t_ctx_param() 108 size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_mac_size() 113 size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_get_block_size() 118 int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, in EVP_MAC_init() [all …]
|
H A D | mac_meth.c | 219 const OSSL_PARAM *EVP_MAC_CTX_gettable_params(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_gettable_params() 229 const OSSL_PARAM *EVP_MAC_CTX_settable_params(EVP_MAC_CTX *ctx) in EVP_MAC_CTX_settable_params()
|
/freebsd/crypto/openssl/providers/implementations/kdfs/ |
H A D | tls1_prf.c | 74 static int tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx, 86 EVP_MAC_CTX *P_hash; 88 EVP_MAC_CTX *P_sha1; 287 static int tls1_prf_P_hash(EVP_MAC_CTX *ctx_init, in tls1_prf_P_hash() 293 EVP_MAC_CTX *ctx = NULL, *ctx_Ai = NULL; in tls1_prf_P_hash() 373 static int tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx, in tls1_prf_alg()
|
H A D | sskdf.c | 56 EVP_MAC_CTX *macctx; /* H(x) = HMAC_hash OR H(x) = KMAC */ 159 static int kmac_init(EVP_MAC_CTX *ctx, const unsigned char *custom, in kmac_init() 212 static int SSKDF_mac_kdm(EVP_MAC_CTX *ctx_init, in SSKDF_mac_kdm() 225 EVP_MAC_CTX *ctx = NULL; in SSKDF_mac_kdm()
|
H A D | kbkdf.c | 60 EVP_MAC_CTX *ctx_init; 151 static int derive(EVP_MAC_CTX *ctx_init, kbkdf_mode mode, unsigned char *iv, in derive() 158 EVP_MAC_CTX *ctx = NULL; in derive()
|
/freebsd/crypto/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); 40 int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]); 41 int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]); 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); [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)
|
/freebsd/crypto/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,
|
/freebsd/crypto/openssl/providers/implementations/rands/ |
H A D | drbg_hmac.c | 36 EVP_MAC_CTX *ctx; /* H(x) = HMAC_hash OR H(x) = KMAC */ 62 EVP_MAC_CTX *ctx = hmac->ctx; in do_hmac() 199 EVP_MAC_CTX *ctx = hmac->ctx; in drbg_hmac_generate()
|
/freebsd/crypto/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()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | evp.h | 1208 EVP_MAC_CTX *EVP_MAC_CTX_new(EVP_MAC *mac); 1209 void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx); 1210 EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src); 1211 EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx); 1212 int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]); 1213 int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]); 1215 size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx); 1216 size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx); 1222 int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, 1224 int EVP_MAC_update(EVP_MAC_CTX *ctx, const unsigned char *data, size_t datalen); [all …]
|
H A D | types.h | 106 typedef struct evp_mac_ctx_st EVP_MAC_CTX; typedef
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_hmac_private.h | 82 typedef EVP_MAC_CTX *archive_hmac_sha1_ctx;
|
/freebsd/crypto/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()
|
/freebsd/crypto/openssl/providers/common/ |
H A D | provider_util.c | 224 int ossl_prov_set_macctx(EVP_MAC_CTX *macctx, in ossl_prov_set_macctx() 290 int ossl_prov_macctx_load_from_params(EVP_MAC_CTX **macctx, in ossl_prov_macctx_load_from_params()
|
/freebsd/crypto/openssl/apps/ |
H A D | fipsinstall.c | 77 static int do_mac(EVP_MAC_CTX *ctx, unsigned char *tmp, BIO *in, in do_mac() 303 EVP_MAC_CTX *ctx = NULL, *ctx2 = NULL; in fipsinstall_main()
|
H A D | mac.c | 80 EVP_MAC_CTX *ctx = NULL; in mac_main()
|
/freebsd/crypto/openssl/include/crypto/ |
H A D | modes.h | 218 EVP_MAC_CTX *mac_ctx_init;
|
/freebsd/crypto/openssl/providers/implementations/signature/ |
H A D | mac_legacy_sig.c | 47 EVP_MAC_CTX *macctx;
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test.c | 188 EVP_MAC_CTX *ctx = NULL; in verify_integrity()
|
/freebsd/crypto/openssl/util/ |
H A D | check-format-test-negatives.c | 233 EVP_MAC_CTX *new_mac_ctx; in g()
|