| /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| H A D | hmac.h | 25 size_t HMAC_size(const HMAC_CTX *e); 26 HMAC_CTX *HMAC_CTX_new(void); 27 int HMAC_CTX_reset(HMAC_CTX *ctx); 28 void HMAC_CTX_free(HMAC_CTX *ctx); 30 DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, 33 /*__owur*/ int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, 35 /*__owur*/ int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, 37 /*__owur*/ int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, 42 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); 44 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/ |
| H A D | hmac.h | 32 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 …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/hmac/ |
| H A D | hmac.c | 18 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, in HMAC_Init_ex() 92 int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) in HMAC_Init() 100 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in HMAC_Update() 107 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in HMAC_Final() 128 size_t HMAC_size(const HMAC_CTX *ctx) in HMAC_size() 135 HMAC_CTX *HMAC_CTX_new(void) in HMAC_CTX_new() 137 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX)); in HMAC_CTX_new() 148 static void hmac_ctx_cleanup(HMAC_CTX *ctx) in hmac_ctx_cleanup() 156 void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free() 167 static int hmac_ctx_alloc_mds(HMAC_CTX *ctx) in hmac_ctx_alloc_mds() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/hmac/ |
| H A D | hmac.c | 25 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, in HMAC_Init_ex() 102 int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) in HMAC_Init() 110 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) in HMAC_Update() 117 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in HMAC_Final() 138 size_t HMAC_size(const HMAC_CTX *ctx) in HMAC_size() 145 HMAC_CTX *HMAC_CTX_new(void) in HMAC_CTX_new() 147 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(HMAC_CTX)); in HMAC_CTX_new() 158 static void hmac_ctx_cleanup(HMAC_CTX *ctx) in hmac_ctx_cleanup() 166 void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free() 177 static int hmac_ctx_alloc_mds(HMAC_CTX *ctx) in hmac_ctx_alloc_mds() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | HMAC.pod | 27 HMAC_CTX *HMAC_CTX_new(void); 28 int HMAC_CTX_reset(HMAC_CTX *ctx); 30 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int key_len, 32 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len); 33 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); 35 void HMAC_CTX_free(HMAC_CTX *ctx); 37 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); 38 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags); 39 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); 41 size_t HMAC_size(const HMAC_CTX *e); [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| H A D | hmac.h | 58 typedef struct hc_HMAC_CTX HMAC_CTX; typedef 71 void HMAC_CTX_init(HMAC_CTX *); 72 void HMAC_CTX_cleanup(HMAC_CTX *ctx); 74 size_t HMAC_size(const HMAC_CTX *ctx); 76 void HMAC_Init_ex(HMAC_CTX *, const void *, size_t, 78 void HMAC_Update(HMAC_CTX *ctx, const void *data, size_t len); 79 void HMAC_Final(HMAC_CTX *ctx, void *md, unsigned int *len);
|
| H A D | hmac.c | 42 HMAC_CTX_init(HMAC_CTX *ctx) in HMAC_CTX_init() 48 HMAC_CTX_cleanup(HMAC_CTX *ctx) in HMAC_CTX_cleanup() 72 HMAC_size(const HMAC_CTX *ctx) in HMAC_size() 78 HMAC_Init_ex(HMAC_CTX *ctx, in HMAC_Init_ex() 133 HMAC_Update(HMAC_CTX *ctx, const void *data, size_t len) in HMAC_Update() 139 HMAC_Final(HMAC_CTX *ctx, void *md, unsigned int *len) in HMAC_Final() 155 HMAC_CTX ctx; in HMAC()
|
| H A D | test_hmac.c | 50 HMAC_CTX c; in main()
|
| H A D | validate.c | 275 HMAC_CTX c; in check_hmac()
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | tsig-openssl.c | 174 HMAC_CTX *context = (HMAC_CTX *) data; in cleanup_context() 193 HMAC_CTX *context = HMAC_CTX_new(); in create_context() 195 HMAC_CTX *context = (HMAC_CTX *) malloc(sizeof(HMAC_CTX)); in create_context() 218 HMAC_CTX *ctx = (HMAC_CTX *) context; in init_context() 262 HMAC_CTX *ctx = (HMAC_CTX *) context; in update() 276 HMAC_CTX *ctx = (HMAC_CTX *) context; in final()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
| H A D | openssl_shim.c | 87 HMAC_CTX * 89 HMAC_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in HMAC_CTX_new() 102 HMAC_CTX_free(HMAC_CTX *ctx) { in HMAC_CTX_free() 112 HMAC_CTX_reset(HMAC_CTX *ctx) { in HMAC_CTX_reset() 120 HMAC_CTX_get_md(const HMAC_CTX *ctx) { in HMAC_CTX_get_md()
|
| H A D | openssl_shim.h | 60 HMAC_CTX * 66 HMAC_CTX_free(HMAC_CTX *ctx); 71 HMAC_CTX_reset(HMAC_CTX *ctx); 76 HMAC_CTX_get_md(const HMAC_CTX *ctx);
|
| H A D | hmac.c | 32 HMAC_CTX *hmac = HMAC_CTX_new(); in isc_hmac_new()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | sp800-108-kdf.c | 61 HMAC_CTX *c; in _krb5_SP800_108_HMAC_KDF() 71 HMAC_CTX cs; in _krb5_SP800_108_HMAC_KDF()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/kafs/ |
| H A D | rxkad_kdf.c | 89 HMAC_CTX *mctx; in rxkad_derive_des_key() 94 HMAC_CTX mctxs; in rxkad_derive_des_key()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | crypto_openssl.c | 1731 HMAC_CTX *c = HMAC_CTX_new(); 1797 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l); 1805 HMAC_CTX *c = (HMAC_CTX *)cv; 1847 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l); 1854 HMAC_CTX *c = (HMAC_CTX *)cv; 1897 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l); 1904 HMAC_CTX *c = (HMAC_CTX *)cv; 1948 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l); 1955 HMAC_CTX *c = (HMAC_CTX *)cv; 1998 HMAC_Update((HMAC_CTX *)c, (unsigned char *) data->v, data->l); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | hmactest.c | 112 HMAC_CTX *ctx = NULL; in test_hmac_bad() 133 HMAC_CTX *ctx = NULL; in test_hmac_run() 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; in test_hmac_copy()
|
| /netbsd-src/external/bsd/libfido2/dist/fuzz/ |
| H A D | wrap.c | 444 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),
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/ |
| H A D | hmactest.c | 111 HMAC_CTX *ctx = NULL; in test_hmac_bad() 132 HMAC_CTX *ctx = NULL; in test_hmac_run() 223 HMAC_CTX *ctx = NULL, *ctx2 = NULL; in test_hmac_copy()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/kdc/ |
| H A D | kx509.c | 69 HMAC_CTX *ctx; in verify_req_hash() 79 HMAC_CTX ctxs; in verify_req_hash() 113 HMAC_CTX *ctx; in calculate_reply_hash() 116 HMAC_CTX ctxs; in calculate_reply_hash()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| H A D | otp.c | 52 #define TOTP_HMAC_CTX HMAC_CTX * 55 static HMAC_CTX * 58 HMAC_CTX *ctx = OPENSSL_malloc( sizeof(*ctx) ); in HMAC_CTX_new() 66 HMAC_CTX_free( HMAC_CTX *ctx ) in HMAC_CTX_free()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/macs/ |
| H A D | hmac_prov.c | 50 HMAC_CTX *ctx; /* HMAC context */ 106 HMAC_CTX *ctx; in hmac_dup()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/totp/ |
| H A D | slapd-totp.c | 46 #define TOTP_HMAC_CTX HMAC_CTX * 49 static HMAC_CTX *HMAC_CTX_new(void) in HMAC_CTX_new() 51 HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx)); in HMAC_CTX_new() 58 static void HMAC_CTX_free(HMAC_CTX *ctx) in HMAC_CTX_free()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/ntlm/ |
| H A D | ntlm.c | 1328 HMAC_CTX *c; in heim_ntlm_v2_base_session() 1340 HMAC_CTX cs; in heim_ntlm_v2_base_session() 1571 HMAC_CTX* c; in heim_ntlm_ntlmv2_key() 1574 HMAC_CTX cs; in heim_ntlm_ntlmv2_key() 2059 HMAC_CTX *c; in heim_ntlm_derive_ntlm2_sess() 2063 HMAC_CTX cs; in heim_ntlm_derive_ntlm2_sess()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/ssl/ |
| H A D | tls_depr.c | 143 HMAC_CTX *ssl_hmac_get0_HMAC_CTX(SSL_HMAC *ctx) in ssl_hmac_get0_HMAC_CTX()
|