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
19
app/src/main/cpp/pq/mldsa65/rounding.h
Normal file
19
app/src/main/cpp/pq/mldsa65/rounding.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef ROUNDING_H
|
||||
#define ROUNDING_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "params.h"
|
||||
|
||||
#define power2round DILITHIUM_NAMESPACE(power2round)
|
||||
int32_t power2round(int32_t *a0, int32_t a);
|
||||
|
||||
#define decompose DILITHIUM_NAMESPACE(decompose)
|
||||
int32_t decompose(int32_t *a0, int32_t a);
|
||||
|
||||
#define make_hint DILITHIUM_NAMESPACE(make_hint)
|
||||
unsigned int make_hint(int32_t a0, int32_t a1);
|
||||
|
||||
#define use_hint DILITHIUM_NAMESPACE(use_hint)
|
||||
int32_t use_hint(int32_t a, unsigned int hint);
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue