6ad5cdb Merge #479: Get rid of reserved _t in type names d1dc9df Get rid of reserved _t in type names 0b70241 Merge #474: Fix header guards using reserved identifiers ab1f89f Merge #478: Fixed multiple typos 8c7ea22 Fixed multiple typos abe2d3e Fix header guards using reserved identifiers f532bdc Merge #459: Add pubkey prefix constants to include/secp256k1.h cac7c55 Merge #470: Fix wnaf_const documentation 768514b Fix wnaf_const documentation with respect to return value and number of words set b8c26a3 Merge #458: Fix typo in API documentation 817fb20 Merge #440: Fix typos 12230f9 Merge #468: Remove redundant conditional expression 2e1ccdc Remove redundant conditional expression bc61b91 add pubkey prefix constants to include/secp256k1.h b0452e6 Fix typo in API documentation 4c0f32e Fix typo: "Agressive" → "Aggressive" 73aca83 Fix typo: "exectured" → "executed" git-subtree-dir: src/secp256k1 git-subtree-split: 6ad5cdb42a1a8257289a0423d644dcbdeab0f83c
26 lines
1.2 KiB
C
26 lines
1.2 KiB
C
/**********************************************************************
|
|
* Copyright (c) 2013, 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_ECKEY_H
|
|
#define SECP256K1_ECKEY_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "group.h"
|
|
#include "scalar.h"
|
|
#include "ecmult.h"
|
|
#include "ecmult_gen.h"
|
|
|
|
static int secp256k1_eckey_pubkey_parse(secp256k1_ge *elem, const unsigned char *pub, size_t size);
|
|
static int secp256k1_eckey_pubkey_serialize(secp256k1_ge *elem, unsigned char *pub, size_t *size, int compressed);
|
|
|
|
static int secp256k1_eckey_privkey_tweak_add(secp256k1_scalar *key, const secp256k1_scalar *tweak);
|
|
static int secp256k1_eckey_pubkey_tweak_add(const secp256k1_ecmult_context *ctx, secp256k1_ge *key, const secp256k1_scalar *tweak);
|
|
static int secp256k1_eckey_privkey_tweak_mul(secp256k1_scalar *key, const secp256k1_scalar *tweak);
|
|
static int secp256k1_eckey_pubkey_tweak_mul(const secp256k1_ecmult_context *ctx, secp256k1_ge *key, const secp256k1_scalar *tweak);
|
|
|
|
#endif /* SECP256K1_ECKEY_H */
|