| /openbmc/qemu/tests/unit/ |
| H A D | test-crypto-hmac.c | 97 QCryptoHmac *hmac = NULL; in test_hmac_alloc() local 110 hmac = qcrypto_hmac_new(data->alg, (const uint8_t *)KEY, in test_hmac_alloc() 112 g_assert(hmac != NULL); in test_hmac_alloc() 114 ret = qcrypto_hmac_bytes(hmac, (const char *)INPUT_TEXT, in test_hmac_alloc() 124 qcrypto_hmac_free(hmac); in test_hmac_alloc() 136 QCryptoHmac *hmac = NULL; in test_hmac_prealloc() local 152 hmac = qcrypto_hmac_new(data->alg, (const uint8_t *)KEY, in test_hmac_prealloc() 154 g_assert(hmac != NULL); in test_hmac_prealloc() 156 ret = qcrypto_hmac_bytes(hmac, (const char *)INPUT_TEXT, in test_hmac_prealloc() 169 qcrypto_hmac_free(hmac); in test_hmac_prealloc() [all …]
|
| /openbmc/openbmc-test-automation/security/ |
| H A D | test_bmc_ssh_security.robot | 40 …# debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.co… 41 # hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com, 42 # umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 43 …# debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.co… 44 # hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com, 45 # umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/ |
| H A D | 0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch | 43 427 | MD5_memset(&hmac, 0, sizeof(hmac)); 55 435 | MD5_memset(hmac, 0, sizeof(HMAC_MD5_CTX)); 92 @@ -397,9 +397,9 @@ void _saslauthd_hmac_md5_init(HMAC_MD5_CTX *hmac, 93 _saslauthd_MD5Update(&hmac->octx, k_opad, 64); /* apply outer pad */ 106 state->istate[lupe] = htonl(hmac.ictx.state[lupe]); 107 state->ostate[lupe] = htonl(hmac.octx.state[lupe]); 109 - MD5_memset(&hmac, 0, sizeof(hmac)); 110 + MD5_memset((POINTER)&hmac, 0, sizeof(hmac)); 114 @@ -432,7 +432,7 @@ void _saslauthd_hmac_md5_import(HMAC_MD5_CTX *hmac, 118 - MD5_memset(hmac, 0, sizeof(HMAC_MD5_CTX)); [all …]
|
| /openbmc/qemu/tests/bench/ |
| H A D | benchmark-crypto-hmac.c | 23 QCryptoHmac *hmac = NULL; in test_hmac_speed() local 43 hmac = qcrypto_hmac_new(QCRYPTO_HASH_ALGO_SHA256, in test_hmac_speed() 46 g_assert(hmac != NULL); in test_hmac_speed() 48 ret = qcrypto_hmac_bytesv(hmac, &iov, 1, &out, &out_len, &err); in test_hmac_speed() 52 qcrypto_hmac_free(hmac); in test_hmac_speed()
|
| H A D | meson.build | 26 'benchmark-crypto-hmac': [crypto],
|
| /openbmc/qemu/crypto/ |
| H A D | hash-afalg.c | 240 qcrypto_afalg_hash_hmac_bytesv(QCryptoAFAlgo *hmac, in qcrypto_afalg_hash_hmac_bytesv() argument 249 ret = qcrypto_afalg_send_to_kernel(hmac, iov, niov, false, errp); in qcrypto_afalg_hash_hmac_bytesv() 251 ret = qcrypto_afalg_recv_from_kernel(hmac, alg, result, in qcrypto_afalg_hash_hmac_bytesv() 259 qcrypto_afalg_hmac_bytesv(QCryptoHmac *hmac, in qcrypto_afalg_hmac_bytesv() argument 265 return qcrypto_afalg_hash_hmac_bytesv(hmac->opaque, hmac->alg, in qcrypto_afalg_hmac_bytesv() 270 static void qcrypto_afalg_hmac_ctx_free(QCryptoHmac *hmac) in qcrypto_afalg_hmac_ctx_free() argument 274 afalg = hmac->opaque; in qcrypto_afalg_hmac_ctx_free()
|
| H A D | hmacpriv.h | 21 int (*hmac_bytesv)(QCryptoHmac *hmac, 28 void (*hmac_free)(QCryptoHmac *hmac);
|
| /openbmc/openbmc/poky/meta/recipes-support/gnutls/gnutls/ |
| H A D | 0001-Creating-.hmac-file-should-be-excuted-in-target-envi.patch | 4 Subject: [PATCH] Creating .hmac file should be excuted in target environment, 17 @@ -272,8 +272,7 @@ hmac_file = .libs/.$(gnutls_so).hmac 23 +.libs/.$(gnutls_so).hmac:
|
| /openbmc/ipmitool/src/plugins/lanplus/ |
| H A D | lanplus_crypt.h | 45 const uint8_t * hmac, 48 const uint8_t * hmac,
|
| /openbmc/u-boot/board/gdsys/a38x/ |
| H A D | keyprogram.c | 109 struct key_program *result = NULL, *hmac = NULL; in parse_and_check_keyprog() local 118 if (extract_subprogram(&progdata, MAGIC_HMAC, &hmac)) in parse_and_check_keyprog() 121 free(hmac); in parse_and_check_keyprog()
|
| /openbmc/openbmc/poky/meta/recipes-support/gnutls/ |
| H A D | gnutls_3.8.9.bb | 23 file://0001-Creating-.hmac-file-should-be-excuted-in-target-envi.patch \ 95 ${bindir}/fipshmac ${libdir}/libgnutls.so.30.*.* > ${libdir}/.libgnutls.so.30.hmac 96 ${bindir}/fipshmac ${libdir}/libnettle.so.8.* > ${libdir}/.libnettle.so.8.hmac 97 ${bindir}/fipshmac ${libdir}/libgmp.so.10.*.* > ${libdir}/.libgmp.so.10.hmac 98 ${bindir}/fipshmac ${libdir}/libhogweed.so.6.* > ${libdir}/.libhogweed.so.6.hmac
|
| /openbmc/u-boot/board/gdsys/p1022/ |
| H A D | controlcenterd-id.c | 754 static int check_hmac(struct key_program *hmac, in check_hmac() argument 760 type = get_unaligned_be32(hmac->code); in check_hmac() 771 return memcmp(computed_hmac, hmac->code + 4, 20); in check_hmac() 793 struct key_program *result = NULL, *hmac = NULL; in load_sd_key_program() local 847 hmac = malloc(sizeof(struct key_program) + header.code_size); in load_sd_key_program() 848 if (!hmac) in load_sd_key_program() 850 *hmac = header; in load_sd_key_program() 852 if (ccdm_mmc_read(mmc, code_offset, hmac->code, in load_sd_key_program() 853 hmac->code_size) < 0) in load_sd_key_program() 855 if (verify_program(hmac)) in load_sd_key_program() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-crypto/libkcapi/ |
| H A D | libkcapi_1.5.0.bb | 24 rm -f ${D}${bindir}/.*.hmac 25 rm -f ${D}${libdir}/.*.hmac
|
| /openbmc/openbmc/poky/meta/recipes-connectivity/openssh/openssh/ |
| H A D | ssh_config | 40 # MACs hmac-md5,hmac-sha1,umac-64@openssh.com
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dibbler/dibbler/ |
| H A D | 0002-make-Do-not-enforce-c99.patch | 32 libMisc_a_SOURCES += hmac-sha-md5.h hmac-sha-md5.c
|
| /openbmc/openbmc/meta-phosphor/recipes-connectivity/openssh/ |
| H A D | openssh_%.bbappend | 12 echo "MACs -hmac-sha1*,umac-64*"
|
| /openbmc/openbmc/meta-openembedded/meta-perl/recipes-core/packagegroups/ |
| H A D | packagegroup-meta-perl.bb | 24 libdigest-hmac-perl \ 99 libdigest-hmac-perl-ptest \
|
| /openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libauthen/ |
| H A D | libauthen-sasl-perl_2.1800.bb | 12 RDEPENDS:${PN} = "libdigest-hmac-perl"
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/ |
| H A D | 0009-net-snmp-fix-for-disable-des.patch | 21 #include <openssl/hmac.h>
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/ |
| H A D | 0002-Avoid-strict-prototype-compiler-errors.patch | 31 src/lib/crypto/openssl/hmac.c | 2 +- 210 diff --git a/src/lib/crypto/openssl/hmac.c b/src/lib/crypto/openssl/hmac.c 212 --- a/src/lib/crypto/openssl/hmac.c 213 +++ b/src/lib/crypto/openssl/hmac.c
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/strongswan/ |
| H A D | strongswan_6.0.1.bb | 46 PACKAGECONFIG[hmac] = "--enable-hmac,--disable-hmac,,${PN}-plugin-hmac"
|
| /openbmc/openbmc/meta-openembedded/meta-perl/conf/include/ |
| H A D | ptest-packagelists-meta-perl.inc | 12 libdigest-hmac-perl \
|
| /openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libnet/ |
| H A D | libnet-dns-perl_1.50.bb | 23 libdigest-hmac-perl \
|
| /openbmc/openbmc/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/ |
| H A D | gbs.cfg | 123 # Enable hmac api for UUID
|
| /openbmc/qemu/target/s390x/ |
| H A D | cpu_features_def.h.inc | 250 DEF_FEAT(KMAC_HMAC_SHA_224, "kmac-hmac-sha-224", KMAC, 112, "KMAC HMAC-SHA-224") 251 DEF_FEAT(KMAC_HMAC_SHA_256, "kmac-hmac-sha-246", KMAC, 113, "KMAC HMAC-SHA-256") 252 DEF_FEAT(KMAC_HMAC_SHA_384, "kmac-hmac-sha-384", KMAC, 114, "KMAC HMAC-SHA-384") 253 DEF_FEAT(KMAC_HMAC_SHA_512, "kmac-hmac-sha-512", KMAC, 115, "KMAC HMAC-SHA-512") 254 DEF_FEAT(KMAC_HMAC_ESHA_224, "kmac-hmac-esha-224", KMAC, 120, "KMAC HMAC-Encrypted-SHA-224") 255 DEF_FEAT(KMAC_HMAC_ESHA_256, "kmac-hmac-esha-246", KMAC, 121, "KMAC HMAC-Encrypted-SHA-256") 256 DEF_FEAT(KMAC_HMAC_ESHA_384, "kmac-hmac-esha-384", KMAC, 122, "KMAC HMAC-Encrypted-SHA-384") 257 DEF_FEAT(KMAC_HMAC_ESHA_512, "kmac-hmac-esha-512", KMAC, 123, "KMAC HMAC-Encrypted-SHA-512") 337 DEF_FEAT(PCKMO_HMAC_512, "pckmo-hmac-512", PCKMO, 118, "PCKMO Encrypt-HMAC-512-Key") 338 DEF_FEAT(PCKMO_HMAC_1024, "pckmo-hmac-1024", PCKMO, 122, "PCKMO Encrypt-HMAC-1024-Key")
|