mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-30 18:10:56 +00:00
9 lines
372 B
C
9 lines
372 B
C
/* Calculates nQ where Q is the x-coordinate of a point on the curve
|
|
*
|
|
* mypublic: the packed little endian x coordinate of the resulting curve point
|
|
* n: a little endian, 32-byte number
|
|
* basepoint: a packed little endian point of the curve
|
|
*/
|
|
|
|
void curve25519_scalarmult_donna(curve25519_key mypublic, const curve25519_key n, const curve25519_key basepoint);
|