Home
last modified time | relevance | path

Searched refs:wrapped_key (Results 1 – 1 of 1) sorted by relevance

/mcuboot-latest/boot/bootutil/include/bootutil/crypto/
Daes_kw.h56 static inline int bootutil_aes_kw_unwrap(bootutil_aes_kw_context *ctx, const uint8_t *wrapped_key, … in bootutil_aes_kw_unwrap() argument
59 …return mbedtls_nist_kw_unwrap(ctx, MBEDTLS_KW_MODE_KW, wrapped_key, wrapped_key_len, key, &olen, k… in bootutil_aes_kw_unwrap()
94 static int bootutil_aes_kw_unwrap(bootutil_aes_kw_context *ctx, const uint8_t *wrapped_key, uint32_… in bootutil_aes_kw_unwrap() argument
105 A[k] = wrapped_key[k]; in bootutil_aes_kw_unwrap()
106 key[k] = wrapped_key[8 + k]; in bootutil_aes_kw_unwrap()
107 key[8 + k] = wrapped_key[16 + k]; in bootutil_aes_kw_unwrap()