Searched refs:okm (Results 1 – 2 of 2) sorted by relevance
241 uint8_t *okm, uint16_t *okm_len) in hkdf() argument257 if (ikm == NULL || okm == NULL || ikm_len == 0) { in hkdf()319 memcpy(&okm[off], T, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE); in hkdf()322 memcpy(&okm[off], T, len); in hkdf()
727 let okm = match prk.expand(&[b"MCUBoot_ECIES_v1"], OkmLen(okm_len)) { in make_tlv() localVariable728 Ok(okm) => okm, in make_tlv()732 match okm.fill(&mut buf) { in make_tlv()