Home
last modified time | relevance | path

Searched refs:hmac (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/qemu/tests/unit/
H A Dtest-crypto-hmac.c97 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 Dtest_bmc_ssh_security.robot40 …# 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 D0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch43 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 Dbenchmark-crypto-hmac.c23 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 Dmeson.build26 'benchmark-crypto-hmac': [crypto],
/openbmc/qemu/crypto/
H A Dhash-afalg.c240 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 Dhmacpriv.h21 int (*hmac_bytesv)(QCryptoHmac *hmac,
28 void (*hmac_free)(QCryptoHmac *hmac);
/openbmc/openbmc/poky/meta/recipes-support/gnutls/gnutls/
H A D0001-Creating-.hmac-file-should-be-excuted-in-target-envi.patch4 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 Dlanplus_crypt.h45 const uint8_t * hmac,
48 const uint8_t * hmac,
/openbmc/u-boot/board/gdsys/a38x/
H A Dkeyprogram.c109 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 Dgnutls_3.8.9.bb23 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 Dcontrolcenterd-id.c754 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 Dlibkcapi_1.5.0.bb24 rm -f ${D}${bindir}/.*.hmac
25 rm -f ${D}${libdir}/.*.hmac
/openbmc/openbmc/poky/meta/recipes-connectivity/openssh/openssh/
H A Dssh_config40 # MACs hmac-md5,hmac-sha1,umac-64@openssh.com
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dibbler/dibbler/
H A D0002-make-Do-not-enforce-c99.patch32 libMisc_a_SOURCES += hmac-sha-md5.h hmac-sha-md5.c
/openbmc/openbmc/meta-phosphor/recipes-connectivity/openssh/
H A Dopenssh_%.bbappend12 echo "MACs -hmac-sha1*,umac-64*"
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-core/packagegroups/
H A Dpackagegroup-meta-perl.bb24 libdigest-hmac-perl \
99 libdigest-hmac-perl-ptest \
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libauthen/
H A Dlibauthen-sasl-perl_2.1800.bb12 RDEPENDS:${PN} = "libdigest-hmac-perl"
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/
H A D0009-net-snmp-fix-for-disable-des.patch21 #include <openssl/hmac.h>
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/
H A D0002-Avoid-strict-prototype-compiler-errors.patch31 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 Dstrongswan_6.0.1.bb46 PACKAGECONFIG[hmac] = "--enable-hmac,--disable-hmac,,${PN}-plugin-hmac"
/openbmc/openbmc/meta-openembedded/meta-perl/conf/include/
H A Dptest-packagelists-meta-perl.inc12 libdigest-hmac-perl \
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libnet/
H A Dlibnet-dns-perl_1.50.bb23 libdigest-hmac-perl \
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/
H A Dgbs.cfg123 # Enable hmac api for UUID
/openbmc/qemu/target/s390x/
H A Dcpu_features_def.h.inc250 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")

12