]> Git Repo - secp256k1.git/blame - src/ecdsa.h
Merge #655: jni: Use only Guava for hex encoding and decoding
[secp256k1.git] / src / ecdsa.h
CommitLineData
71712b27
GM
1/**********************************************************************
2 * Copyright (c) 2013, 2014 Pieter Wuille *
3 * Distributed under the MIT software license, see the accompanying *
4 * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
5 **********************************************************************/
0a433ea2 6
abe2d3e8
DR
7#ifndef SECP256K1_ECDSA_H
8#define SECP256K1_ECDSA_H
83e640f0 9
788038d3
LD
10#include <stddef.h>
11
f24041d6
PW
12#include "scalar.h"
13#include "group.h"
a9b6595e 14#include "ecmult.h"
f24041d6 15
dd891e0e
PW
16static int secp256k1_ecdsa_sig_parse(secp256k1_scalar *r, secp256k1_scalar *s, const unsigned char *sig, size_t size);
17static int secp256k1_ecdsa_sig_serialize(unsigned char *sig, size_t *size, const secp256k1_scalar *r, const secp256k1_scalar *s);
18static int secp256k1_ecdsa_sig_verify(const secp256k1_ecmult_context *ctx, const secp256k1_scalar* r, const secp256k1_scalar* s, const secp256k1_ge *pubkey, const secp256k1_scalar *message);
19static int secp256k1_ecdsa_sig_sign(const secp256k1_ecmult_gen_context *ctx, secp256k1_scalar* r, secp256k1_scalar* s, const secp256k1_scalar *seckey, const secp256k1_scalar *message, const secp256k1_scalar *nonce, int *recid);
83e640f0 20
abe2d3e8 21#endif /* SECP256K1_ECDSA_H */
This page took 0.041091 seconds and 4 git commands to generate.