Home
last modified time | relevance | path

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

/mcuboot-latest/boot/bootutil/src/
Dimage_ecdsa.c46 uint8_t *pubkey; in bootutil_verify_sig() local
49 pubkey = (uint8_t *)bootutil_keys[key_id].key; in bootutil_verify_sig()
50 end = pubkey + *bootutil_keys[key_id].len; in bootutil_verify_sig()
53 rc = bootutil_ecdsa_parse_public_key(&ctx, &pubkey, end); in bootutil_verify_sig()
58 rc = bootutil_ecdsa_verify(&ctx, pubkey, end-pubkey, hash, hlen, sig, slen); in bootutil_verify_sig()
Dimage_ed25519.c74 uint8_t *pubkey; in bootutil_verify_sig() local
82 pubkey = (uint8_t *)bootutil_keys[key_id].key; in bootutil_verify_sig()
83 end = pubkey + *bootutil_keys[key_id].len; in bootutil_verify_sig()
85 rc = bootutil_import_key(&pubkey, end); in bootutil_verify_sig()
91 rc = ED25519_verify(hash, IMAGE_HASH_SIZE, sig, pubkey); in bootutil_verify_sig()
/mcuboot-latest/sim/mcuboot-sys/src/
Dc.rs134 pub fn rsa_oaep_encrypt(pubkey: &[u8], seckey: &[u8]) -> Result<[u8; 256], &'static str> { in rsa_oaep_encrypt()
137 if raw::rsa_oaep_encrypt_(pubkey.as_ptr(), pubkey.len() as u32,
186 pub fn rsa_oaep_encrypt_(pubkey: *const u8, pubkey_len: libc::c_uint, in rsa_oaep_encrypt_()
/mcuboot-latest/sim/mcuboot-sys/csupport/
Drun.c133 int rsa_oaep_encrypt_(const uint8_t *pubkey, unsigned pubkey_len, in rsa_oaep_encrypt_() argument
152 cp = (uint8_t *)pubkey; in rsa_oaep_encrypt_()
176 (void)pubkey; in rsa_oaep_encrypt_()
/mcuboot-latest/docs/
Dreadme-mynewt.md38 `newt create-image <target> <version> <pubkey> -2`
Dreadme-zephyr.md156 The generated public key is saved in `build/zephyr/autogen-pubkey.h`, which is included
/mcuboot-latest/boot/espressif/
DCMakeLists.txt202 set(GENERATED_PUBKEY ${CMAKE_CURRENT_BINARY_DIR}/autogen-pubkey.c)
/mcuboot-latest/boot/zephyr/
DCMakeLists.txt296 set(GENERATED_PUBKEY ${ZEPHYR_BINARY_DIR}/autogen-pubkey.c)