mirror of
https://github.com/matrix-construct/construct
synced 2024-06-02 10:08:56 +02:00
ircd::ed25519: Add exception hierarchy here; add bad_sig exception.
This commit is contained in:
parent
0d2430fc32
commit
c5f6a316b0
|
@ -27,6 +27,9 @@
|
|||
|
||||
namespace ircd::ed25519
|
||||
{
|
||||
IRCD_EXCEPTION(ircd::error, error)
|
||||
IRCD_EXCEPTION(error, bad_sig)
|
||||
|
||||
const size_t SK_SZ { 32 + 32 };
|
||||
const size_t PK_SZ { 32 };
|
||||
const size_t SIG_SZ { 64 };
|
||||
|
|
Loading…
Reference in a new issue