/mcuboot-latest/ext/tinycrypt/lib/source/ |
D | ecc_dh.c | 68 int uECC_make_key_with_d(uint8_t *public_key, uint8_t *private_key, in uECC_make_key_with_d() argument 84 uECC_vli_nativeToBytes(private_key, in uECC_make_key_with_d() 102 int uECC_make_key(uint8_t *public_key, uint8_t *private_key, uECC_Curve curve) in uECC_make_key() argument 125 uECC_vli_nativeToBytes(private_key, in uECC_make_key() 144 int uECC_shared_secret(const uint8_t *public_key, const uint8_t *private_key, in uECC_shared_secret() argument 161 private_key, in uECC_shared_secret()
|
D | ecc_dsa.c | 99 int uECC_sign_with_k(const uint8_t *private_key, const uint8_t *message_hash, in uECC_sign_with_k() argument 144 uECC_vli_bytesToNative(tmp, private_key, BITS_TO_BYTES(curve->num_n_bits)); in uECC_sign_with_k() 161 int uECC_sign(const uint8_t *private_key, const uint8_t *message_hash, in uECC_sign() argument 179 if (uECC_sign_with_k(private_key, message_hash, hash_size, k, signature, in uECC_sign()
|
D | ecc.c | 792 uECC_word_t *private_key, in EccPoint_compute_public_key() argument 803 carry = regularize_k(private_key, tmp1, tmp2, curve); in EccPoint_compute_public_key() 908 int uECC_compute_public_key(const uint8_t *private_key, uint8_t *public_key, in uECC_compute_public_key() argument 917 private_key, in uECC_compute_public_key()
|
/mcuboot-latest/boot/bootutil/src/ |
D | encrypted.c | 103 parse_ec256_enckey(uint8_t **p, uint8_t *end, uint8_t *private_key) in parse_ec256_enckey() argument 164 memcpy(private_key, *p, len); in parse_ec256_enckey() 181 parse_x25519_enckey(uint8_t **p, uint8_t *end, uint8_t *private_key) in parse_x25519_enckey() argument 223 memcpy(private_key, *p, PRIV_KEY_LEN); in parse_x25519_enckey() 346 int boot_enc_retrieve_private_key(struct bootutil_key **private_key) in boot_enc_retrieve_private_key() argument 348 *private_key = (struct bootutil_key *)&bootutil_enc_key; in boot_enc_retrieve_private_key() 455 uint8_t private_key[PRIV_KEY_LEN]; in boot_decrypt_key() local 508 rc = parse_ec256_enckey(&cp, cpend, private_key); in boot_decrypt_key() 518 rc = bootutil_ecdh_p256_shared_secret(&ecdh_p256, &buf[EC_PUBK_INDEX], private_key, shared); in boot_decrypt_key() 535 rc = parse_x25519_enckey(&cp, cpend, private_key); in boot_decrypt_key() [all …]
|
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/ |
D | ecc_dsa.h | 113 int uECC_sign_with_k(const uint8_t *private_key, const uint8_t *message_hash,
|
D | ecc.h | 266 int uECC_compute_public_key(const uint8_t *private_key, 277 uECC_word_t *private_key, uECC_Curve curve);
|
/mcuboot-latest/boot/bootutil/include/bootutil/crypto/ |
D | ecdh_x25519.h | 25 extern int X25519(uint8_t out_shared_key[32], const uint8_t private_key[32],
|
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | enc_key.h | 58 int boot_enc_retrieve_private_key(struct bootutil_key **private_key);
|
/mcuboot-latest/ext/fiat/src/ |
D | curve25519.c | 1308 int X25519(uint8_t out_shared_key[32], const uint8_t private_key[32], in X25519() 1311 x25519_scalar_mult_generic(out_shared_key, private_key, peer_public_value); in X25519()
|