forked from cerc-io/plugeth
e0ceeab0d1
- Use defined constants instead of hard-coding their integer value. - Allocate secp256k1 structs on the C stack instead of converting []byte - Remove dead code
16 lines
554 B
C
16 lines
554 B
C
/**********************************************************************
|
|
* Copyright (c) 2015 Andrew Poelstra *
|
|
* Distributed under the MIT software license, see the accompanying *
|
|
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
|
|
**********************************************************************/
|
|
|
|
#ifndef _SECP256K1_SCALAR_REPR_
|
|
#define _SECP256K1_SCALAR_REPR_
|
|
|
|
#include <stdint.h>
|
|
|
|
/** A scalar modulo the group order of the secp256k1 curve. */
|
|
typedef uint32_t secp256k1_scalar;
|
|
|
|
#endif
|