1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-09-01 07:58:12 +02:00

move vendor/secp256k1-0.3.0 to vendor/secp256k1/repo

This commit is contained in:
Henrik Hautakoski 2023-03-14 18:45:20 +01:00
parent e8ee3fc0de
commit 9587586968
132 changed files with 0 additions and 0 deletions

19
vendor/secp256k1/repo/src/scalar_4x64.h vendored Normal file
View file

@ -0,0 +1,19 @@
/***********************************************************************
* Copyright (c) 2014 Pieter Wuille *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
***********************************************************************/
#ifndef SECP256K1_SCALAR_REPR_H
#define SECP256K1_SCALAR_REPR_H
#include <stdint.h>
/** A scalar modulo the group order of the secp256k1 curve. */
typedef struct {
uint64_t d[4];
} secp256k1_scalar;
#define SECP256K1_SCALAR_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{((uint64_t)(d1)) << 32 | (d0), ((uint64_t)(d3)) << 32 | (d2), ((uint64_t)(d5)) << 32 | (d4), ((uint64_t)(d7)) << 32 | (d6)}}
#endif /* SECP256K1_SCALAR_REPR_H */