bitcoinpqc 0.4.0

Post-Quantum Cryptographic signature algorithms for Bitcoin (BIP-360)
1
2
3
4
5
6
7
8
9
10
11
#ifndef RANDOMBYTES_UNIFIED_H
#define RANDOMBYTES_UNIFIED_H

#include <stddef.h>
#include <stdint.h>

// Unified randombytes declaration that works for both Dilithium and SPHINCS+
// Using size_t which is 32-bit in WASM
void randombytes(uint8_t *out, size_t outlen);

#endif