Bitcoin Core
28.99.0
P2P Digital Currency
src
secp256k1
src
modules
musig
session.h
Go to the documentation of this file.
1
/***********************************************************************
2
* Distributed under the MIT software license, see the accompanying *
3
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
4
***********************************************************************/
5
6
#ifndef SECP256K1_MODULE_MUSIG_SESSION_H
7
#define SECP256K1_MODULE_MUSIG_SESSION_H
8
9
#include "../../../include/secp256k1.h"
10
#include "../../../include/secp256k1_musig.h"
11
12
#include "../../scalar.h"
13
14
typedef
struct
{
15
int
fin_nonce_parity
;
16
unsigned
char
fin_nonce[32];
17
secp256k1_scalar
noncecoef
;
18
secp256k1_scalar
challenge
;
19
secp256k1_scalar
s_part
;
20
}
secp256k1_musig_session_internal
;
21
22
static
int
secp256k1_musig_session_load
(
const
secp256k1_context
* ctx,
secp256k1_musig_session_internal
*session_i,
const
secp256k1_musig_session
*session);
23
24
#endif
secp256k1_musig_session_load
static int secp256k1_musig_session_load(const secp256k1_context *ctx, secp256k1_musig_session_internal *session_i, const secp256k1_musig_session *session)
secp256k1_context_struct
Definition:
secp256k1.c:61
secp256k1_musig_session_internal
Definition:
session.h:14
secp256k1_musig_session_internal::noncecoef
secp256k1_scalar noncecoef
Definition:
session.h:17
secp256k1_musig_session_internal::fin_nonce_parity
int fin_nonce_parity
Definition:
session.h:15
secp256k1_musig_session_internal::s_part
secp256k1_scalar s_part
Definition:
session.h:19
secp256k1_musig_session_internal::challenge
secp256k1_scalar challenge
Definition:
session.h:18
secp256k1_musig_session
Opaque data structure that holds a MuSig session.
Definition:
secp256k1_musig.h:87
secp256k1_scalar
A scalar modulo the group order of the secp256k1 curve.
Definition:
scalar_4x64.h:13
Generated on Wed Dec 18 2024 20:00:11 for Bitcoin Core by
1.9.4