Searched refs:cp (Results 1 – 9 of 9) sorted by relevance
/mcuboot-latest/boot/bootutil/include/bootutil/crypto/ |
D | ecdsa.h | 88 static int bootutil_import_key(uint8_t **cp, uint8_t *end) in bootutil_import_key() argument 94 if (mbedtls_asn1_get_tag(cp, end, &len, in bootutil_import_key() 98 end = *cp + len; in bootutil_import_key() 101 if (mbedtls_asn1_get_alg(cp, end, &alg, ¶m)) { in bootutil_import_key() 115 if (mbedtls_asn1_get_bitstring_null(cp, end, &len)) { in bootutil_import_key() 118 if (*cp + len != end) { in bootutil_import_key() 136 static int bootutil_read_bigint(uint8_t i[NUM_ECC_BYTES], uint8_t **cp, uint8_t *end) in bootutil_read_bigint() argument 140 if (mbedtls_asn1_get_tag(cp, end, &len, MBEDTLS_ASN1_INTEGER)) { in bootutil_read_bigint() 145 memcpy(i, *cp + len - NUM_ECC_BYTES, NUM_ECC_BYTES); in bootutil_read_bigint() 148 memcpy(i + NUM_ECC_BYTES - len, *cp, len); in bootutil_read_bigint() [all …]
|
/mcuboot-latest/boot/bootutil/src/ |
D | image_ed25519.c | 33 bootutil_import_key(uint8_t **cp, uint8_t *end) in bootutil_import_key() argument 39 if (mbedtls_asn1_get_tag(cp, end, &len, in bootutil_import_key() 43 end = *cp + len; in bootutil_import_key() 45 if (mbedtls_asn1_get_alg(cp, end, &alg, ¶m)) { in bootutil_import_key() 54 if (mbedtls_asn1_get_bitstring_null(cp, end, &len)) { in bootutil_import_key() 57 if (*cp + len != end) { in bootutil_import_key()
|
D | image_rsa.c | 268 uint8_t *cp; in bootutil_verify_sig() local 273 cp = (uint8_t *)bootutil_keys[key_id].key; in bootutil_verify_sig() 274 end = cp + *bootutil_keys[key_id].len; in bootutil_verify_sig() 277 rc = bootutil_rsa_parse_public_key(&ctx, &cp, end); in bootutil_verify_sig()
|
D | encrypted.c | 437 uint8_t *cp; in boot_decrypt_key() local 453 uint8_t *cp; in boot_decrypt_key() local 474 cp = (uint8_t *)bootutil_enc_key->key; in boot_decrypt_key() 475 cpend = cp + *bootutil_enc_key->len; in boot_decrypt_key() 478 rc = bootutil_rsa_parse_private_key(&rsa, &cp, cpend); in boot_decrypt_key() 501 cp = (uint8_t *)bootutil_enc_key->key; in boot_decrypt_key() 502 cpend = cp + *bootutil_enc_key->len; in boot_decrypt_key() 508 rc = parse_ec256_enckey(&cp, cpend, private_key); in boot_decrypt_key() 528 cp = (uint8_t *)bootutil_enc_key->key; in boot_decrypt_key() 529 cpend = cp + *bootutil_enc_key->len; in boot_decrypt_key() [all …]
|
/mcuboot-latest/ci/ |
D | mynewt_run.sh | 29 cp -r repos/apache-mynewt-core/targets/unittest targets
|
D | mynewt_install.sh | 28 cp newt/newt $HOME/bin
|
/mcuboot-latest/sim/mcuboot-sys/csupport/ |
D | run.c | 139 uint8_t *cp; in rsa_oaep_encrypt_() local 152 cp = (uint8_t *)pubkey; in rsa_oaep_encrypt_() 153 cpend = cp + pubkey_len; in rsa_oaep_encrypt_() 155 rc = parse_pubkey(&ctx, &cp, cpend); in rsa_oaep_encrypt_()
|
/mcuboot-latest/docs/ |
D | readme-mynewt.md | 45 This can be done either by editing `~/.newtmgr.cp.json` and setting the `mtu`
|
/mcuboot-latest/samples/zephyr/ |
D | Makefile | 118 cp $(BUILD_DIR_BOOT)/zephyr/zephyr.bin mcuboot.bin
|