Searched refs:hmac (Results 1 – 7 of 7) sorted by relevance
/mcuboot-3.6.0/boot/bootutil/src/ |
D | encrypted.c | 243 bootutil_hmac_sha256_context hmac; in hkdf() local 261 bootutil_hmac_sha256_init(&hmac); in hkdf() 264 rc = bootutil_hmac_sha256_set_key(&hmac, salt, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE); in hkdf() 269 rc = bootutil_hmac_sha256_update(&hmac, ikm, ikm_len); in hkdf() 274 rc = bootutil_hmac_sha256_finish(&hmac, prk, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE); in hkdf() 287 bootutil_hmac_sha256_init(&hmac); in hkdf() 289 rc = bootutil_hmac_sha256_set_key(&hmac, prk, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE); in hkdf() 297 rc = bootutil_hmac_sha256_update(&hmac, T, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE); in hkdf() 303 rc = bootutil_hmac_sha256_update(&hmac, info, info_len); in hkdf() 308 rc = bootutil_hmac_sha256_update(&hmac, &counter, 1); in hkdf() [all …]
|
/mcuboot-3.6.0/ext/tinycrypt/lib/ |
D | Makefile | 17 hmac.o \
|
/mcuboot-3.6.0/ext/tinycrypt/tests/ |
D | Makefile | 49 test_hmac$(DOTEXE): test_hmac.o hmac.o sha256.o utils.o 52 test_hmac_prng$(DOTEXE): test_hmac_prng.o hmac_prng.o hmac.o \
|
/mcuboot-3.6.0/ext/mbedtls-asn1/include/mbedtls/ |
D | md.h | 180 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac );
|
/mcuboot-3.6.0/sim/src/ |
D | tlv.rs | 24 use ring::{digest, rand, agreement, hkdf, hmac}; 757 let key = hmac::Key::new(hmac::HMAC_SHA256, &derived_key[size..]); in make_tlv() 758 let tag = hmac::sign(&key, &cipherkey); in make_tlv()
|
/mcuboot-3.6.0/scripts/imgtool/ |
D | image.py | 38 from cryptography.hazmat.primitives import hashes, hmac 304 mac = hmac.HMAC(derived_key[16:], hashes.SHA256(),
|
/mcuboot-3.6.0/boot/zephyr/ |
D | CMakeLists.txt | 244 ${TINYCRYPT_DIR}/source/hmac.c
|