Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/modules/multiset/main_impl.h
/*********************************************************************** | /*********************************************************************** | ||||
* Copyright (c) 2017 Tomas van der Wansem * | * Copyright (c) 2017 Tomas van der Wansem * | ||||
* Distributed under the MIT software license, see the accompanying * | * Distributed under the MIT software license, see the accompanying * | ||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.* | * file COPYING or https://www.opensource.org/licenses/mit-license.php.* | ||||
***********************************************************************/ | ***********************************************************************/ | ||||
#ifndef _SECP256K1_MODULE_MULTISET_MAIN_ | #ifndef SECP256K1_MODULE_MULTISET_MAIN_H | ||||
#define _SECP256K1_MODULE_MULTISET_MAIN_ | #define SECP256K1_MODULE_MULTISET_MAIN_H | ||||
#include "include/secp256k1_multiset.h" | #include "include/secp256k1_multiset.h" | ||||
#include "hash.h" | #include "hash.h" | ||||
#include "field.h" | #include "field.h" | ||||
#include "group.h" | #include "group.h" | ||||
▲ Show 20 Lines • Show All 185 Lines • ▼ Show 20 Lines | int secp256k1_multiset_init(const secp256k1_context* ctx, secp256k1_multiset *multiset) { | ||||
VERIFY_CHECK(ctx != NULL); | VERIFY_CHECK(ctx != NULL); | ||||
multiset_from_gej_var(multiset, &inf); | multiset_from_gej_var(multiset, &inf); | ||||
return 1; | return 1; | ||||
} | } | ||||
#endif /* _SECP256K1_MODULE_MULTISET_MAIN_ */ | #endif /* SECP256K1_MODULE_MULTISET_MAIN_H */ |