QSC Post Quantum Cryptographic Library 1.3.0.0 (C1)
A post quantum secure library written in Ansi C
Loading...
Searching...
No Matches
eddsa448base.h
1/* 2020-2026 Quantum Resistant Cryptographic Solutions Corporation
2 * All Rights Reserved.
3 *
4 * NOTICE: See ed448.h for full license text.
5 *
6 * Written by: John G. Underhill
7 * Contact: contact@qrcscorp.ca
8 */
9
10#ifndef QSC_EDDSA448BASE_H
11#define QSC_EDDSA448BASE_H
12
13#include "qsccommon.h"
14
15/* \cond NO_DOCUMENT */
16
17QSC_CPLUSPLUS_ENABLED_START
18
37
42#define QSC_ED448_SEED_SIZE 57U
43
48#define QSC_ED448_PUBLICKEY_SIZE 57U
49
54#define QSC_ED448_PRIVATEKEY_SIZE 114U
55
60#define QSC_ED448_SIGNATURE_SIZE 114U
61
71void qsc_ed448_generate_keypair(uint8_t* publickey, uint8_t* privatekey, bool (*rng_generate)(uint8_t*, size_t));
72
82void qsc_ed448_generate_seeded_keypair(uint8_t* publickey, uint8_t* privatekey, const uint8_t* seed);
83
94bool qsc_ed448_sign(uint8_t* signedmsg, size_t* smsglen, const uint8_t* message, size_t msglen, const uint8_t* privatekey);
95
106bool qsc_ed448_verify(uint8_t* message, size_t* msglen, const uint8_t* signedmsg, size_t smsglen, const uint8_t* publickey);
107
108QSC_CPLUSPLUS_ENABLED_END
109
110/* \endcond NO_DOCUMENT */
111
112#endif
Contains common definitions for the Quantum Secure Cryptographic (QSC) library.