github.com/ethereum/go-ethereum@v1.16.1/crypto/secp256k1/libsecp256k1/src/modules/musig/session.h (about) 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