Crate bitcoinsecp256k1_keys

Source

Structs§

KeyPair
| Opaque data structure that holds a keypair | consisting of a secret and a public key. | | The exact representation of data inside | is implementation defined and not guaranteed | to be portable between different platforms | or versions. It is however guaranteed | to be 96 bytes in size, and can be safely | copied/moved. |

Functions§

api_test_context
extrakeys_ge_even_y
| Keeps a group element as is if it has an | even Y and otherwise negates it. y_parity | is set to 0 in the former case and to 1 in | the latter case. | | Requires that the coordinates of r are | normalized. |
keypair_create
keypair_load
| Load a keypair into pk and sk (if non-NULL). | This function declassifies pk and ARG_CHECKs | that the keypair is not invalid. It always | initializes sk and pk with dummy values. |
keypair_pub
keypair_save
keypair_sec
keypair_seckey_load
keypair_xonly_pub
keypair_xonly_tweak_add
run_extrakeys_tests
test_exhaustive_extrakeys
test_keypair
test_keypair_add
test_xonly_pubkey
test_xonly_pubkey_comparison
test_xonly_pubkey_tweak
test_xonly_pubkey_tweak_check
test_xonly_pubkey_tweak_recursive
| Starts with an initial pubkey and recursively | creates N_PUBKEYS - 1 additional pubkeys | by calling tweak_add. Then verifies | every tweak starting from the last pubkey. |
xonly_pubkey_cmp
xonly_pubkey_from_pubkey
xonly_pubkey_load
xonly_pubkey_parse
xonly_pubkey_save
xonly_pubkey_serialize
xonly_pubkey_tweak_add
xonly_pubkey_tweak_add_check