noise

Contains bindings for some noise functions

Members

Functions

NOISE_ID
int NOISE_ID(char ch, int num)
Undocumented in source. Be warned that the author may not have intended to support it.
noise_buffer_init
void noise_buffer_init(NoiseBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
noise_buffer_set_inout
void noise_buffer_set_inout(NoiseBuffer buffer, uint8_t* ptr, size_t len, size_t max)
Undocumented in source. Be warned that the author may not have intended to support it.
noise_buffer_set_input
void noise_buffer_set_input(NoiseBuffer buffer, uint8_t* ptr, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
noise_buffer_set_output
void noise_buffer_set_output(NoiseBuffer buffer, uint8_t* ptr, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
noise_cipherstate_decrypt
int noise_cipherstate_decrypt(NoiseCipherState* state, NoiseBuffer* buffer)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_cipherstate_encrypt
int noise_cipherstate_encrypt(NoiseCipherState* state, NoiseBuffer* buffer)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_cipherstate_free
int noise_cipherstate_free(NoiseCipherState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_free
int noise_dhstate_free(NoiseDHState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_generate_keypair
int noise_dhstate_generate_keypair(NoiseDHState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_get_keypair
int noise_dhstate_get_keypair(NoiseDHState* state, uint8_t* private_key, size_t private_key_len, uint8_t* public_key, size_t public_key_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_get_private_key_length
size_t noise_dhstate_get_private_key_length(NoiseDHState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_get_public_key
int noise_dhstate_get_public_key(NoiseDHState* state, uint8_t* public_key, size_t public_key_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_get_public_key_length
size_t noise_dhstate_get_public_key_length(NoiseDHState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_new_by_id
int noise_dhstate_new_by_id(NoiseDHState** state, int id)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_dhstate_set_keypair_private
int noise_dhstate_set_keypair_private(NoiseDHState* state, uint8_t* private_key, size_t private_key_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_free
int noise_handshakestate_free(NoiseHandshakeState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_get_action
int noise_handshakestate_get_action(NoiseHandshakeState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_get_local_keypair_dh
NoiseDHState* noise_handshakestate_get_local_keypair_dh(NoiseHandshakeState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_get_remote_public_key_dh
NoiseDHState* noise_handshakestate_get_remote_public_key_dh(NoiseHandshakeState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_new_by_name
int noise_handshakestate_new_by_name(NoiseHandshakeState** state, char* protocol_name, int role)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_read_message
int noise_handshakestate_read_message(NoiseHandshakeState* state, NoiseBuffer* message, NoiseBuffer* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_split
int noise_handshakestate_split(NoiseHandshakeState* state, NoiseCipherState** send, NoiseCipherState** receive)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_start
int noise_handshakestate_start(NoiseHandshakeState* state)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_handshakestate_write_message
int noise_handshakestate_write_message(NoiseHandshakeState* state, NoiseBuffer* message, NoiseBuffer* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_init
int noise_init()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
noise_strerror
int noise_strerror(int err, char* buf, size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

NOISE_ACTION_COMPLETE
enum NOISE_ACTION_COMPLETE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ACTION_FAILED
enum NOISE_ACTION_FAILED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ACTION_NONE
enum NOISE_ACTION_NONE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ACTION_READ_MESSAGE
enum NOISE_ACTION_READ_MESSAGE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ACTION_SPLIT
enum NOISE_ACTION_SPLIT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ACTION_WRITE_MESSAGE
enum NOISE_ACTION_WRITE_MESSAGE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_DH_CURVE25519
enum NOISE_DH_CURVE25519;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_FORMAT
enum NOISE_ERROR_INVALID_FORMAT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_LENGTH
enum NOISE_ERROR_INVALID_LENGTH;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_NONCE
enum NOISE_ERROR_INVALID_NONCE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_PARAM
enum NOISE_ERROR_INVALID_PARAM;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_PRIVATE_KEY
enum NOISE_ERROR_INVALID_PRIVATE_KEY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_PUBLIC_KEY
enum NOISE_ERROR_INVALID_PUBLIC_KEY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_SIGNATURE
enum NOISE_ERROR_INVALID_SIGNATURE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_INVALID_STATE
enum NOISE_ERROR_INVALID_STATE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_LOCAL_KEY_REQUIRED
enum NOISE_ERROR_LOCAL_KEY_REQUIRED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_MAC_FAILURE
enum NOISE_ERROR_MAC_FAILURE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_NONE
enum NOISE_ERROR_NONE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_NOT_APPLICABLE
enum NOISE_ERROR_NOT_APPLICABLE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_NO_MEMORY
enum NOISE_ERROR_NO_MEMORY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_PSK_REQUIRED
enum NOISE_ERROR_PSK_REQUIRED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_REMOTE_KEY_REQUIRED
enum NOISE_ERROR_REMOTE_KEY_REQUIRED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_SYSTEM
enum NOISE_ERROR_SYSTEM;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_UNKNOWN_ID
enum NOISE_ERROR_UNKNOWN_ID;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ERROR_UNKNOWN_NAME
enum NOISE_ERROR_UNKNOWN_NAME;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ROLE_INITIATOR
enum NOISE_ROLE_INITIATOR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NOISE_ROLE_RESPONDER
enum NOISE_ROLE_RESPONDER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

NoiseBuffer
struct NoiseBuffer
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NoiseCipherState
struct NoiseCipherState
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NoiseDHState
struct NoiseDHState
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NoiseHandshakeState
struct NoiseHandshakeState
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta