Searched refs:pubkey (Results 1 – 8 of 8) sorted by relevance
/mcuboot-latest/boot/bootutil/src/ |
D | image_ecdsa.c | 46 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()
|
D | image_ed25519.c | 74 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/ |
D | c.rs | 134 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/ |
D | run.c | 133 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/ |
D | readme-mynewt.md | 38 `newt create-image <target> <version> <pubkey> -2`
|
D | readme-zephyr.md | 156 The generated public key is saved in `build/zephyr/autogen-pubkey.h`, which is included
|
/mcuboot-latest/boot/espressif/ |
D | CMakeLists.txt | 202 set(GENERATED_PUBKEY ${CMAKE_CURRENT_BINARY_DIR}/autogen-pubkey.c)
|
/mcuboot-latest/boot/zephyr/ |
D | CMakeLists.txt | 296 set(GENERATED_PUBKEY ${ZEPHYR_BINARY_DIR}/autogen-pubkey.c)
|