Searched refs:hmac (Results 1 – 7 of 7) sorted by relevance
/mcuboot-latest/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() 279 bootutil_hmac_sha256_drop(&hmac); in hkdf() 289 bootutil_hmac_sha256_init(&hmac); in hkdf() 291 rc = bootutil_hmac_sha256_set_key(&hmac, prk, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE); in hkdf() 299 rc = bootutil_hmac_sha256_update(&hmac, T, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE); in hkdf() 305 rc = bootutil_hmac_sha256_update(&hmac, info, info_len); in hkdf() [all …]
|
/mcuboot-latest/ext/tinycrypt/lib/ |
D | Makefile | 17 hmac.o \
|
/mcuboot-latest/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-latest/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-latest/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-latest/scripts/imgtool/ |
D | image.py | 39 from cryptography.hazmat.primitives import hashes, hmac 446 mac = hmac.HMAC(derived_key[16:], hashes.SHA256(),
|
/mcuboot-latest/boot/zephyr/ |
D | CMakeLists.txt | 280 ${TINYCRYPT_DIR}/source/hmac.c
|