Bitcoin Core
28.99.0
P2P Digital Currency
src
secp256k1
tools
Namespaces
|
Functions
|
Variables
tests_wycheproof_generate.py File Reference
Go to the source code of this file.
Namespaces
namespace
tests_wycheproof_generate
Functions
def
tests_wycheproof_generate.to_c_array
(x)
Variables
tests_wycheproof_generate.filename_input
= sys.argv[1]
tests_wycheproof_generate.doc
= json.load(f)
tests_wycheproof_generate.num_groups
= len(doc['testGroups'])
int
tests_wycheproof_generate.num_vectors
= 0
tests_wycheproof_generate.offset_msg_running
tests_wycheproof_generate.offset_pk_running
tests_wycheproof_generate.offset_sig
string
tests_wycheproof_generate.out
= ""
string
tests_wycheproof_generate.messages
= ""
string
tests_wycheproof_generate.signatures
= ""
string
tests_wycheproof_generate.public_keys
= ""
dictionary
tests_wycheproof_generate.cache_msgs
= {}
dictionary
tests_wycheproof_generate.cache_public_keys
= {}
tests_wycheproof_generate.group
= doc['testGroups'][i]
tests_wycheproof_generate.num_tests
= len(group['tests'])
tests_wycheproof_generate.public_key
= group['publicKey']
tests_wycheproof_generate.test_vector
= group['tests'][j]
int
tests_wycheproof_generate.sig_size
= len(test_vector['sig']) // 2
int
tests_wycheproof_generate.msg_size
= len(test_vector['msg']) // 2
int
tests_wycheproof_generate.expected_verify
= 0
bool
tests_wycheproof_generate.new_msg
= False
def
tests_wycheproof_generate.msg
= to_c_array(test_vector['msg'])
tests_wycheproof_generate.msg_offset
= offset_msg_running
bool
tests_wycheproof_generate.new_pk
= False
def
tests_wycheproof_generate.pk
= to_c_array(public_key['uncompressed'])
tests_wycheproof_generate.pk_offset
= offset_pk_running
string
tests_wycheproof_generate.struct_definition
Generated on Wed Dec 18 2024 20:00:22 for Bitcoin Core by
1.9.4