aboutsummaryrefslogtreecommitdiff
path: root/src/scalar_4x64.h
blob: 5a751c68622387af1c5465baaa90b57f0f47cfda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**********************************************************************
 * Copyright (c) 2014 Pieter Wuille                                   *
 * 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 struct {
    uint64_t d[4];
} secp256k1_scalar_t;

#endif