30#ifndef OCRYPTO_ED25519_H
31#define OCRYPTO_ED25519_H
44#define ocrypto_ed25519_PUBLIC_KEY_BYTES (32)
49#define ocrypto_ed25519_SECRET_KEY_BYTES (32)
54#define ocrypto_ed25519_BYTES (64)
84 const uint8_t *m,
size_t m_len,
104 const uint8_t *m,
size_t m_len,
139 const uint8_t *m,
size_t m_len,
161 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:44
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:49
#define ocrypto_ed25519_BYTES
Definition ocrypto_ed25519.h:54
Declaration of internal types used in public interfaces.
Definition ocrypto_types_25519.h:86