mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 21:08:07 +00:00
0ad8a7c627
Using https://github.com/agl/curve25519-donna repository source.
12 lines
246 B
C
12 lines
246 B
C
#ifndef CURVE25519_H
|
|
#define CURVE25519_H
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef uint8_t u8;
|
|
|
|
void curve25519_scalarmult(u8 *result, const u8 *secret, const u8 *basepoint);
|
|
void curve25519_publickey(u8 *public, const u8 *secret);
|
|
|
|
#endif // CURVE25519_H
|