My Project
Loading...
Searching...
No Matches
ed448.h File Reference

Go to the source code of this file.

Data Structures

struct  ed448_key
 

Functions

WOLFSSL_API int wc_ed448_make_public (ed448_key *key, unsigned char *pubKey, word32 pubKeySz)
 
WOLFSSL_API int wc_ed448_make_key (WC_RNG *rng, int keysize, ed448_key *key)
 
WOLFSSL_API int wc_ed448_sign_msg (const byte *in, word32 inLen, byte *out, word32 *outLen, ed448_key *key, const byte *context, byte contextLen)
 
WOLFSSL_API int wc_ed448ph_sign_hash (const byte *hash, word32 hashLen, byte *out, word32 *outLen, ed448_key *key, const byte *context, byte contextLen)
 
WOLFSSL_API int wc_ed448ph_sign_msg (const byte *in, word32 inLen, byte *out, word32 *outLen, ed448_key *key, const byte *context, byte contextLen)
 
WOLFSSL_API int wc_ed448_verify_msg (const byte *sig, word32 sigLen, const byte *msg, word32 msgLen, int *stat, ed448_key *key, const byte *context, byte contextLen)
 
WOLFSSL_API int wc_ed448ph_verify_hash (const byte *sig, word32 sigLen, const byte *hash, word32 hashLen, int *stat, ed448_key *key, const byte *context, byte contextLen)
 
WOLFSSL_API int wc_ed448ph_verify_msg (const byte *sig, word32 sigLen, const byte *msg, word32 msgLen, int *stat, ed448_key *key, const byte *context, byte contextLen)
 
WOLFSSL_API int wc_ed448_init (ed448_key *key)
 
WOLFSSL_API void wc_ed448_free (ed448_key *key)
 
WOLFSSL_API int wc_ed448_import_public (const byte *in, word32 inLen, ed448_key *key)
 
WOLFSSL_API int wc_ed448_import_private_only (const byte *priv, word32 privSz, ed448_key *key)
 
WOLFSSL_API int wc_ed448_import_private_key (const byte *priv, word32 privSz, const byte *pub, word32 pubSz, ed448_key *key)
 
WOLFSSL_API int wc_ed448_export_public (ed448_key *, byte *out, word32 *outLen)
 
WOLFSSL_API int wc_ed448_export_private_only (ed448_key *key, byte *out, word32 *outLen)
 
WOLFSSL_API int wc_ed448_export_private (ed448_key *key, byte *out, word32 *outLen)
 
WOLFSSL_API int wc_ed448_export_key (ed448_key *key, byte *priv, word32 *privSz, byte *pub, word32 *pubSz)
 
WOLFSSL_API int wc_ed448_check_key (ed448_key *key)
 
WOLFSSL_API int wc_ed448_size (ed448_key *key)
 
WOLFSSL_API int wc_ed448_priv_size (ed448_key *key)
 
WOLFSSL_API int wc_ed448_pub_size (ed448_key *key)
 
WOLFSSL_API int wc_ed448_sig_size (ed448_key *key)
 

Variables

 C
 

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
#define ED448_KEY_SIZE 57
#define ED448_SIG_SIZE 114
#define ED448_PUB_KEY_SIZE 57
#define ED448_PRV_KEY_SIZE (ED448_PUB_KEY_SIZE+ED448_KEY_SIZE)
enum {
Ed448 = 0,
Ed448ph = 1,
}