| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| hmac.c | 1 /* $NetBSD: hmac.c,v 1.1 2024/02/18 20:57:49 christos Exp $ */ 16 #include <openssl/hmac.h> 20 #include <isc/hmac.h> 32 HMAC_CTX *hmac = HMAC_CTX_new(); local 33 RUNTIME_CHECK(hmac != NULL); 34 return ((struct hmac *)hmac); 38 isc_hmac_free(isc_hmac_t *hmac) { 39 if (ISC_UNLIKELY(hmac == NULL)) { 43 HMAC_CTX_free(hmac); 128 isc_hmac_t *hmac = isc_hmac_new(); local [all...] |
| /src/tests/crypto/libcrypto/hmac/ |
| Makefile | 4 HELPER_DIR= hmac
|
| /src/external/mpl/bind/dist/bin/tests/system/tsig/ns1/ |
| named-md5.conf.j2 | 16 algorithm hmac-md5; 21 algorithm hmac-md5-80; 24 key "hmac-md5-legacy" { 25 algorithm "hmac-md5";
|
| named.conf.j2 | 33 algorithm hmac-sha1; 38 algorithm hmac-sha224; 43 algorithm hmac-sha256; 48 algorithm hmac-sha384; 53 algorithm hmac-sha512; 56 key "hmac-sha1-legacy" { 57 algorithm "hmac-sha1"; 61 key "hmac-sha224-legacy" { 62 algorithm "hmac-sha224"; 66 key "hmac-sha256-legacy" [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
| hmac.h | 1 /* $NetBSD: hmac.h,v 1.1 2024/02/18 20:57:52 christos Exp $ */ 17 * \file isc/hmac.h 56 * This function allocates, initializes and returns HMAC context. 63 * @md: HMAC context 65 * This function cleans up HMAC context and frees up the space allocated to it. 68 isc_hmac_free(isc_hmac_t *hmac); 72 * @md: HMAC context 73 * @key: HMAC key 74 * @keylen: HMAC key length 77 * This function sets up HMAC context to use a hash function of @type and ke [all...] |
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| hmac.h | 1 /* $NetBSD: hmac.h,v 1.8 2026/06/19 20:10:02 christos Exp $ */ 17 * \file isc/hmac.h 56 * This function allocates, initializes and returns HMAC context. 63 * @md: HMAC context 65 * This function cleans up HMAC context and frees up the space allocated to it. 68 isc_hmac_free(isc_hmac_t *hmac); 72 * @md: HMAC context 73 * @key: HMAC key 74 * @keylen: HMAC key length 77 * This function sets up HMAC context to use a hash function of @type and ke [all...] |
| /src/crypto/external/bsd/openssl/dist/demos/mac/ |
| Makefile | 14 all: gmac hmac-sha512 cmac-aes256 poly1305 17 hmac-sha512: hmac-sha512.o 21 gmac hmac-sha512 cmac-aes256 poly1305: 25 $(RM) gmac hmac-sha512 cmac-aes256 poly1305 *.o
|
| /src/crypto/external/apache2/openssl/dist/demos/mac/ |
| build.info | 8 hmac-sha512 \ 16 INCLUDE[hmac-sha512]=../../include 17 SOURCE[hmac-sha512]=hmac-sha512.c 18 DEPEND[hmac-sha512]=../../libcrypto
|
| Makefile | 8 hmac-sha512 \ 19 hmac-sha512: hmac-sha512.o
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/rands/ |
| drbg_hmac.c | 46 * hmac is an object that holds the input/output Key and Value (K and V). 52 * hmac->K = HMAC(hmac->K, hmac->V || inbyte || [in1] || [in2] || [in3]) 53 * hmac->V = HMAC(hmac->K, hmac->V) 57 static int do_hmac(PROV_DRBG_HMAC *hmac, unsigned char inbyte 99 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 127 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 198 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 252 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 267 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 276 PROV_DRBG_HMAC *hmac; local 308 PROV_DRBG_HMAC *hmac; local 321 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 360 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)ctx->data; local [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| test_hmac.c | 39 #include <hmac.h> 49 unsigned char hmac[EVP_MAX_MD_SIZE]; local 58 HMAC_Final(&c, hmac, &hmaclen); 66 if (ct_memcmp(hmac, answer, hmaclen) != 0) {
|
| /src/external/bsd/nsd/dist/ |
| tsig-openssl.h | 17 #include <openssl/hmac.h>
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/digest/ |
| hmac.d | 14 Source: $(PHOBOSSRC std/digest/hmac.d) 17 module std.digest.hmac; 25 * Template API HMAC implementation. 34 /// Compute HMAC over an input string 45 .hmac!SHA1(secret) 49 template HMAC(H) 52 alias HMAC = HMAC!(H, H.blockSize); 56 * Overload of HMAC to be used if H doesn't provide information about its 60 struct HMAC(H, size_t hashBlockSize [all...] |
| /src/crypto/external/apache2/openssl/dist/providers/implementations/rands/ |
| drbg_hmac.c | 43 * hmac is an object that holds the input/output Key and Value (K and V). 49 * hmac->K = HMAC(hmac->K, hmac->V || inbyte || [in1] || [in2] || [in3]) 50 * hmac->V = HMAC(hmac->K, hmac->V) 54 static int do_hmac(PROV_DRBG_HMAC *hmac, unsigned char inbyte 181 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 271 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 297 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 315 PROV_DRBG_HMAC *hmac; local 347 PROV_DRBG_HMAC *hmac; local 360 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)drbg->data; local 494 PROV_DRBG_HMAC *hmac = (PROV_DRBG_HMAC *)ctx->data; local [all...] |
| /src/tests/crypto/libcrypto/ |
| t_hashes.sh | 28 atf_test_case hmac 31 atf_set "descr" "Checks HMAC message authentication code" 60 atf_add_test_case hmac
|
| /src/external/mpl/bind/dist/bin/tests/system/_common/ |
| rndc.conf | 6 algorithm hmac-sha256;
|
| /src/external/mpl/bind/dist/bin/tests/system/rndc/ |
| setup.sh | 46 $FEATURETEST --md5 && make_key 1 ${EXTRAPORT1} hmac-md5 47 make_key 2 ${EXTRAPORT2} hmac-sha1 48 make_key 3 ${EXTRAPORT3} hmac-sha224 49 make_key 4 ${EXTRAPORT4} hmac-sha256 50 make_key 5 ${EXTRAPORT5} hmac-sha384 51 make_key 6 ${EXTRAPORT6} hmac-sha512
|
| /src/crypto/external/apache2/openssl/dist/crypto/rand/ |
| rand_local.h | 16 #include <openssl/hmac.h>
|
| /src/crypto/external/bsd/openssl/dist/crypto/rand/ |
| rand_local.h | 16 # include <openssl/hmac.h>
|
| /src/external/bsd/libfido2/dist/tools/ |
| test.sh | 12 # - assumes CTAP 2.1-like hmac-secret; 56 dd if=/dev/urandom bs=32 count=1 | base64 > hmac-salt 83 # wrap (non-resident) + hmac-secret 106 # resident + hmac-secret 153 get_assert no.tld "-h" wrap-cred hmac-salt wrap-assert 156 get_assert no.tld "-h -t pin=true" wrap-cred hmac-salt wrap-assert 160 get_assert no.tld "-h -t pin=false" wrap-cred hmac-salt wrap-assert 163 get_assert no.tld "-h -t up=true" wrap-cred hmac-salt wrap-assert 167 get_assert no.tld "-h -t up=true -t pin=true" wrap-cred hmac-salt wrap-assert 173 get_assert no.tld "-h -t up=true -t pin=false" wrap-cred hmac-salt wrap-asser [all...] |
| /src/crypto/external/apache2/openssl/dist/providers/implementations/kdfs/ |
| hmacdrbg_kdf.c | 142 KDF_HMAC_DRBG *hmac = (KDF_HMAC_DRBG *)vctx; local 143 PROV_DRBG_HMAC *drbg = &hmac->base; 180 KDF_HMAC_DRBG *hmac = (KDF_HMAC_DRBG *)vctx; local 181 PROV_DRBG_HMAC *drbg = &hmac->base; 182 OSSL_LIB_CTX *libctx = PROV_LIBCTX_OF(hmac->provctx); 196 OPENSSL_free(hmac->entropy); 197 hmac->entropy = ptr; 198 hmac->entropylen = size; 199 hmac->init = 0; 207 OPENSSL_free(hmac->nonce) [all...] |
| /src/crypto/external/apache2/openssl/dist/providers/implementations/include/prov/ |
| hmac_drbg.h | 29 int ossl_drbg_hmac_generate(PROV_DRBG_HMAC *hmac,
|
| /src/external/bsd/wpa/dist/src/tls/ |
| tlsv1_record.c | 140 * header, IV (TLS v1.1), and HMAC) 147 * This function fills in the TLS record layer header, adds HMAC, and encrypts 155 struct crypto_hash *hmac; local 207 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret, 209 if (hmac == NULL) { 211 "to initialize HMAC"); 214 crypto_hash_update(hmac, rl->write_seq_num, TLS_SEQ_NUM_LEN); 216 crypto_hash_update(hmac, ct_start, TLS_RECORD_HEADER_LEN); 217 crypto_hash_update(hmac, payload, payload_len); 222 crypto_hash_finish(hmac, NULL, NULL) 284 struct crypto_hash *hmac; local [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| sp800-108-kdf.c | 41 * As described in SP800-108 5.1 (for HMAC) 64 unsigned char hmac[EVP_MAX_MD_SIZE]; local 95 HMAC_Final(c, hmac, &h); 97 memcpy(p, hmac, len);
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| hmac_link.c | 38 #include <isc/hmac.h> 65 static isc_result_t hmac##alg##_createctx(dst_key_t *key, \ 69 static void hmac##alg##_destroyctx(dst_context_t *dctx) { \ 72 static isc_result_t hmac##alg##_adddata(dst_context_t *dctx, \ 76 static isc_result_t hmac##alg##_sign(dst_context_t *dctx, \ 80 static isc_result_t hmac##alg##_verify(dst_context_t *dctx, \ 84 static bool hmac##alg##_compare(const dst_key_t *key1, \ 88 static isc_result_t hmac##alg##_generate( \ 94 static bool hmac##alg##_isprivate(const dst_key_t *key) { \ 97 static void hmac##alg##_destroy(dst_key_t *key) { hmac_destroy(key); } [all...] |