more refactor and features (hmac collection)

This commit is contained in:
2024-08-06 00:42:54 +02:00
parent 0a0fb18527
commit 107b9bf59f
3 changed files with 253 additions and 23 deletions

View File

@@ -75,16 +75,16 @@ namespace P2PRNG::Events {
struct HMAC {
const ByteSpan id;
int32_t have;
int32_t out_of;
uint16_t have;
uint16_t out_of;
};
// received a secret (or own, when first)
struct Secret {
const ByteSpan id;
int32_t have;
int32_t out_of;
uint16_t have;
uint16_t out_of;
};
struct Done {