mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-27 01:41:40 +00:00
4d0082fa43
Also fixes some tidy issues Not sure why my local clang-tidy doesn't complain
22 lines
667 B
C
22 lines
667 B
C
#ifndef SIGN_H
|
|
#define SIGN_H
|
|
|
|
#include "params.h"
|
|
#include "poly.h"
|
|
#include "polyvec.h"
|
|
|
|
void expand_mat(polyvecl mat[K], const unsigned char rho[SEEDBYTES]);
|
|
void challenge(poly *c, const unsigned char mu[CRHBYTES], const polyveck *w1);
|
|
|
|
int crypto_sign_keypair(unsigned char *pk, unsigned char *sk);
|
|
|
|
int crypto_sign(unsigned char *sm, unsigned long long *smlen,
|
|
const unsigned char *m, unsigned long long mlen,
|
|
const unsigned char *sk);
|
|
|
|
int crypto_sign_open(unsigned char *m, unsigned long long *mlen,
|
|
const unsigned char *sm, unsigned long long smlen,
|
|
const unsigned char *pk);
|
|
|
|
#endif
|