0
0
Fork 0
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:
Jason Volk 2017-10-15 21:14:38 -07:00
parent 0d2430fc32
commit c5f6a316b0

View file

@ -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 };