Add post-quantum wallet support and PQ transaction signing
This commit is contained in:
parent
45d9b111fb
commit
ba44de3cfd
67 changed files with 10102 additions and 269 deletions
15
app/src/main/cpp/pq/sphincsplus/randombytes.h
Normal file
15
app/src/main/cpp/pq/sphincsplus/randombytes.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef VEXTA_PQ_RANDOMBYTES_H
|
||||
#define VEXTA_PQ_RANDOMBYTES_H
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* VEXTA: unified prototype. Definition lives in pq_randombytes.cpp and is
|
||||
backed by Bitcoin's CSPRNG (GetStrongRandBytes). The upstream test-only
|
||||
randombytes.c files were deleted — they must never ship in a wallet. */
|
||||
void randombytes(uint8_t *out, size_t outlen);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Loading…
Reference in a new issue