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