mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 09:58:27 +00:00
20 lines
533 B
C
20 lines
533 B
C
|
#ifndef ED25519_KECCAK_H
|
||
|
#define ED25519_KECCAK_H
|
||
|
|
||
|
#include "ed25519.h"
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
void ed25519_publickey_keccak(const ed25519_secret_key sk, ed25519_public_key pk);
|
||
|
|
||
|
int ed25519_sign_open_keccak(const unsigned char *m, size_t mlen, const ed25519_public_key pk, const ed25519_signature RS);
|
||
|
void ed25519_sign_keccak(const unsigned char *m, size_t mlen, const ed25519_secret_key sk, const ed25519_public_key pk, ed25519_signature RS);
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif // ED25519_KECCAK_H
|