mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
17 lines
439 B
C
17 lines
439 B
C
#ifndef URCRYPT_H
|
|
#define URCRYPT_H
|
|
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <ed25519.h>
|
|
#include <ge-additions.h>
|
|
|
|
int urcrypt_ed_point_add(uint8_t a[32], uint8_t b[32], uint8_t out[32]);
|
|
int urcrypt_ed_scalarmult(uint8_t a[32], uint8_t b[32], uint8_t out[32]);
|
|
void urcrypt_ed_sign(uint8_t *message,
|
|
size_t length,
|
|
uint8_t seed[32],
|
|
uint8_t signature[64]);
|
|
|
|
#endif
|