/mcuboot-2.7.6/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-2.7.6/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-2.7.6/boot/bootutil/src/ |
D | encrypted.c | 167 parse_ec256_enckey(uint8_t **p, uint8_t *end, uint8_t *private_key) in parse_ec256_enckey() argument 228 memcpy(private_key, *p, len); in parse_ec256_enckey() 245 parse_x25519_enckey(uint8_t **p, uint8_t *end, uint8_t *private_key) in parse_x25519_enckey() argument 287 memcpy(private_key, *p, PRIV_KEY_LEN); in parse_x25519_enckey() 483 uint8_t private_key[PRIV_KEY_LEN]; in boot_enc_decrypt() local 524 rc = parse_ec256_enckey(&cp, cpend, private_key); in boot_enc_decrypt() 534 rc = bootutil_ecdh_p256_shared_secret(&ecdh_p256, &buf[EC_PUBK_INDEX], private_key, shared); in boot_enc_decrypt() 551 rc = parse_x25519_enckey(&cp, cpend, private_key); in boot_enc_decrypt() 562 rc = bootutil_ecdh_x25519_shared_secret(&ecdh_x25519, &buf[EC_PUBK_INDEX], private_key, shared); in boot_enc_decrypt()
|
/mcuboot-2.7.6/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-2.7.6/ext/fiat/src/ |
D | curve25519.c | 1305 int X25519(uint8_t out_shared_key[32], const uint8_t private_key[32], in X25519() 1308 x25519_scalar_mult_generic(out_shared_key, private_key, peer_public_value); in X25519()
|