bitcoinpqc 0.4.1

Tapscript signature algorithms for Bitcoin P2MR (BIP 360): secp256k1 Schnorr, ML-DSA-44, and SLH-DSA-SHA2-128s
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