Home
last modified time | relevance | path

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

/mcuboot-latest/testplan/mynewt/keys/ec256/src/
Dkeys.c12 static unsigned int key_len = 91; variable
16 .len = &key_len,
/mcuboot-latest/testplan/mynewt/keys/rsa/src/
Dkeys.c27 static unsigned int key_len = 270; variable
31 .len = &key_len,
/mcuboot-latest/boot/bootutil/include/bootutil/crypto/
Daes_kw.h56 …context *ctx, const uint8_t *wrapped_key, uint32_t wrapped_key_len, uint8_t *key, uint32_t key_len) in bootutil_aes_kw_unwrap() argument
59 …mbedtls_nist_kw_unwrap(ctx, MBEDTLS_KW_MODE_KW, wrapped_key, wrapped_key_len, key, &olen, key_len); in bootutil_aes_kw_unwrap()
94 …context *ctx, const uint8_t *wrapped_key, uint32_t wrapped_key_len, uint8_t *key, uint32_t key_len) in bootutil_aes_kw_unwrap() argument
100 if (wrapped_key_len != 24 || key_len != 16) { in bootutil_aes_kw_unwrap()
/mcuboot-latest/boot/bootutil/src/
Dimage_validate.c257 bootutil_find_key(uint8_t image_index, uint8_t *key, uint16_t key_len) in bootutil_find_key() argument
267 bootutil_sha_update(&sha_ctx, key, key_len); in bootutil_find_key()
285 pub_key_len = key_len; in bootutil_find_key()
/mcuboot-latest/sim/mcuboot-sys/csupport/
Drun.c189 int key_len = 256; in kw_encrypt_() local
193 int key_len = 128; in kw_encrypt_()
205 rc = mbedtls_nist_kw_setkey(&kw, MBEDTLS_CIPHER_ID_AES, kek, key_len, 1); in kw_encrypt_()