Merge remote-tracking branch 'public/pr/2876' into baremetal
This commit is contained in:
commit
a3877007e6
57 changed files with 319 additions and 290 deletions
|
@ -82,7 +82,7 @@ int uECC_make_key_with_d(uint8_t *public_key, uint8_t *private_key,
|
|||
/* This function is designed for test purposes-only (such as validating NIST
|
||||
* test vectors) as it uses a provided value for d instead of generating
|
||||
* it uniformly at random. */
|
||||
memcpy (_private, d, NUM_ECC_BYTES);
|
||||
mbedtls_platform_memcpy (_private, d, NUM_ECC_BYTES);
|
||||
|
||||
/* Computing public-key from private: */
|
||||
if (EccPoint_compute_public_key(_public, _private, curve)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue