24#ifndef OCRYPTO_ED25519_H
25#define OCRYPTO_ED25519_H
38#define ocrypto_ed25519_PUBLIC_KEY_BYTES (32)
43#define ocrypto_ed25519_SECRET_KEY_BYTES (32)
48#define ocrypto_ed25519_BYTES (64)
78 const uint8_t *m,
size_t m_len,
98 const uint8_t *m,
size_t m_len,
133 const uint8_t *m,
size_t m_len,
155 const uint8_t *m,
size_t m_len,
int ocrypto_ed25519_verify(const uint8_t sig[(64)], const uint8_t *m, size_t m_len, const uint8_t pk[(32)])
void ocrypto_ed25519_public_key_ctx(ocrypto_ed25519_ctx *ctx, uint8_t pk[(32)], const uint8_t sk[(32)])
#define ocrypto_ed25519_PUBLIC_KEY_BYTES
Definition ocrypto_ed25519.h:38
void ocrypto_ed25519_public_key(uint8_t pk[(32)], const uint8_t sk[(32)])
void ocrypto_ed25519_sign(uint8_t sig[(64)], const uint8_t *m, size_t m_len, const uint8_t sk[(32)], const uint8_t pk[(32)])
int ocrypto_ed25519_verify_ctx(ocrypto_ed25519_ctx *ctx, const uint8_t sig[(64)], const uint8_t *m, size_t m_len, const uint8_t pk[(32)])
void ocrypto_ed25519_sign_ctx(ocrypto_ed25519_ctx *ctx, uint8_t sig[(64)], const uint8_t *m, size_t m_len, const uint8_t sk[(32)], const uint8_t pk[(32)])
#define ocrypto_ed25519_SECRET_KEY_BYTES
Definition ocrypto_ed25519.h:43
#define ocrypto_ed25519_BYTES
Definition ocrypto_ed25519.h:48
Definition ocrypto_types.h:76