Module bindings

Source

Structs§

ConstSlice_ConstStr
A const reference to a string represnted in a contiguous array of bytes
ConstSlice_u32
A const reference to a string represnted in a contiguous array of bytes
ConstStr
A const reference to a string represnted in a contiguous array of bytes
HeapString
A heap allocated string The caller should call sodot_dealloc_heap_string on the struct after use.
ResultFFI
Room
Parameters for joining a room

Constants§

SODOT_EXECUTOR_ERROR
SODOT_INVALID_API_KEY
SODOT_INVALID_DERIVATION_ELEM_ERR
SODOT_INVALID_HOST_URL
SODOT_INVALID_KEYGEN_ID_ERR
SODOT_INVALID_KEYGEN_INIT_KEYPAIR_ERR
SODOT_INVALID_MESSAGE_ERR
SODOT_INVALID_NUMBER_OF_PARTIES_ERR
SODOT_INVALID_PRIVATE_KEY
SODOT_INVALID_PUBLIC_KEY
SODOT_INVALID_SECRET_SHARE_ERR
SODOT_INVALID_SPRIV_ERR
SODOT_INVALID_SPUB_ERR
SODOT_INVALID_TWEAK
SODOT_INVALID_UUID
SODOT_INVALID_XPRIV_ERR
SODOT_INVALID_XPUB_ERR
SODOT_NULL_POINTER
SODOT_OK
SODOT_PANIC_ERR
SODOT_PLATFORM_ERR

Functions§

sodot_bip340_derive_private_key_from_xpriv
sodot_bip340_derive_pubkey_from_xpub
sodot_bip340_derive_tweak_pubkey
sodot_bip340_export_full_private_key
sodot_bip340_get_export_id
sodot_bip340_get_xpub
sodot_bip340_import_private_key_importer
sodot_bip340_import_private_key_recipient
sodot_bip340_keygen
sodot_bip340_offline_export_full_private_key
sodot_bip340_refresh
sodot_bip340_reshare_new_party
sodot_bip340_reshare_remaining_party
sodot_bip340_sign
sodot_create_room
sodot_dealloc_heap_string
Deallocates the heap array This should be called after the struct is no longer needed
sodot_ecdsa_derive_private_key_from_xpriv
sodot_ecdsa_derive_pubkey
sodot_ecdsa_derive_pubkey_from_xpub
sodot_ecdsa_export_full_private_key
sodot_ecdsa_get_export_id
sodot_ecdsa_get_xpub
sodot_ecdsa_import_private_key_importer
sodot_ecdsa_import_private_key_recipient
sodot_ecdsa_keygen
sodot_ecdsa_offline_export_full_private_key
sodot_ecdsa_refresh
sodot_ecdsa_reshare_new_party
sodot_ecdsa_reshare_remaining_party
sodot_ecdsa_sign
sodot_ed25519_derive_private_key_from_spriv
sodot_ed25519_derive_pubkey
sodot_ed25519_derive_pubkey_from_spub
sodot_ed25519_export_full_private_key
sodot_ed25519_get_export_id
sodot_ed25519_get_spub
sodot_ed25519_import_private_key_importer
sodot_ed25519_import_private_key_recipient
sodot_ed25519_keygen
sodot_ed25519_offline_export_full_private_key
sodot_ed25519_refresh
sodot_ed25519_reshare_new_party
sodot_ed25519_reshare_remaining_party
sodot_ed25519_sign
sodot_exportable_ed25519_export_full_private_key
sodot_exportable_ed25519_get_export_id
sodot_exportable_ed25519_get_pubkey
sodot_exportable_ed25519_import_private_key_importer
sodot_exportable_ed25519_import_private_key_recipient
sodot_exportable_ed25519_offline_export_full_private_key
sodot_exportable_ed25519_receive_key
sodot_exportable_ed25519_refresh
sodot_exportable_ed25519_reshare_new_party
sodot_exportable_ed25519_reshare_remaining_party
sodot_exportable_ed25519_sample_key
sodot_exportable_ed25519_sign
sodot_init_keygen
sodot_keccak256
Computes the Keccak256 hash of the given data. The data is expected to be a pointer to a byte array of length len. The hash is written to the hash32 pointer, which should point to a 32-byte array.
sodot_sha256
Computes the SHA256 hash of the given data. The data is expected to be a pointer to a byte array of length len. The hash is written to the hash32 pointer, which should point to a 32-byte array.
sodot_sr25519_derive_private_key_from_private_key
sodot_sr25519_derive_pubkey
sodot_sr25519_derive_pubkey_from_pubkey
sodot_sr25519_export_full_private_key
sodot_sr25519_get_export_id
sodot_sr25519_get_pubkey
sodot_sr25519_import_private_key_importer
sodot_sr25519_import_private_key_recipient
sodot_sr25519_keygen
sodot_sr25519_offline_export_full_private_key
sodot_sr25519_refresh
sodot_sr25519_reshare_new_party
sodot_sr25519_reshare_remaining_party
sodot_sr25519_sign