File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121#include <stddef.h>
2222#include <stdint.h>
2323
24- #define SILKPRE_BLAKE2B_BLOCKBYTES 128
25-
2624#if defined(__cplusplus )
2725extern "C" {
2826#endif
2927
28+ enum { SILKPRE_BLAKE2B_BLOCKBYTES = 128 };
29+
3030typedef struct SilkpreBlake2bState__ {
3131 uint64_t h [8 ];
3232 uint64_t t [2 ];
Original file line number Diff line number Diff line change 2424#include <stddef.h>
2525#include <stdint.h>
2626
27- #define SILKPRE_SECP256K1_CONTEXT_FLAGS (SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY)
28-
2927#if defined(__cplusplus )
3028extern "C" {
3129#endif
3230
31+ enum { SILKPRE_SECP256K1_CONTEXT_FLAGS = (SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY ) };
32+
3333//! \brief Tries recover the address used for message signing
3434//! \param [in] message : the signed message
3535//! \param [in] signature : the signature
You can’t perform that action at this time.
0 commit comments