barnacl_sys 0.1.1

FFI binding to libsodium

Crate barnacl_sys [] [src]

Structs

crypto_auth_hmacsha256_state
crypto_auth_hmacsha512_state
crypto_hash_sha256_state
crypto_hash_sha512_state

Constants

crypto_aead_chacha20poly1305_ABYTES
crypto_aead_chacha20poly1305_KEYBYTES
crypto_aead_chacha20poly1305_NPUBBYTES
crypto_aead_chacha20poly1305_NSECBYTES
crypto_auth_BYTES
crypto_auth_KEYBYTES
crypto_auth_PRIMITIVE
crypto_auth_hmacsha256_BYTES
crypto_auth_hmacsha256_KEYBYTES
crypto_auth_hmacsha512256_BYTES
crypto_auth_hmacsha512256_KEYBYTES
crypto_auth_hmacsha512_BYTES
crypto_auth_hmacsha512_KEYBYTES
crypto_box_BEFORENMBYTES
crypto_box_BOXZEROBYTES
crypto_box_MACBYTES
crypto_box_NONCEBYTES
crypto_box_PRIMITIVE
crypto_box_PUBLICKEYBYTES
crypto_box_SECRETKEYBYTES
crypto_box_SEEDBYTES
crypto_box_ZEROBYTES
crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES
crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
crypto_box_curve25519xsalsa20poly1305_MACBYTES
crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES
crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES
crypto_box_curve25519xsalsa20poly1305_SEEDBYTES
crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
crypto_core_hsalsa20_CONSTBYTES
crypto_core_hsalsa20_INPUTBYTES
crypto_core_hsalsa20_KEYBYTES
crypto_core_hsalsa20_OUTPUTBYTES
crypto_core_salsa2012_CONSTBYTES
crypto_core_salsa2012_INPUTBYTES
crypto_core_salsa2012_KEYBYTES
crypto_core_salsa2012_OUTPUTBYTES
crypto_core_salsa208_CONSTBYTES
crypto_core_salsa208_INPUTBYTES
crypto_core_salsa208_KEYBYTES
crypto_core_salsa208_OUTPUTBYTES
crypto_core_salsa20_CONSTBYTES
crypto_core_salsa20_INPUTBYTES
crypto_core_salsa20_KEYBYTES
crypto_core_salsa20_OUTPUTBYTES
crypto_generichash_BYTES
crypto_generichash_BYTES_MAX
crypto_generichash_BYTES_MIN
crypto_generichash_KEYBYTES
crypto_generichash_KEYBYTES_MAX
crypto_generichash_KEYBYTES_MIN
crypto_generichash_PRIMITIVE
crypto_generichash_blake2b_BYTES
crypto_generichash_blake2b_BYTES_MAX
crypto_generichash_blake2b_BYTES_MIN
crypto_generichash_blake2b_KEYBYTES
crypto_generichash_blake2b_KEYBYTES_MAX
crypto_generichash_blake2b_KEYBYTES_MIN
crypto_generichash_blake2b_PERSONALBYTES
crypto_generichash_blake2b_SALTBYTES
crypto_hash_BYTES
crypto_hash_PRIMITIVE
crypto_hash_sha256_BYTES
crypto_hash_sha512_BYTES
crypto_onetimeauth_BYTES
crypto_onetimeauth_KEYBYTES
crypto_onetimeauth_PRIMITIVE
crypto_onetimeauth_poly1305_BYTES
crypto_onetimeauth_poly1305_KEYBYTES
crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE
crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE
crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE
crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE
crypto_pwhash_scryptsalsa208sha256_SALTBYTES
crypto_pwhash_scryptsalsa208sha256_STRBYTES
crypto_pwhash_scryptsalsa208sha256_STRPREFIX
crypto_scalarmult_BYTES
crypto_scalarmult_PRIMITIVE
crypto_scalarmult_SCALARBYTES
crypto_scalarmult_curve25519_BYTES
crypto_scalarmult_curve25519_SCALARBYTES
crypto_secretbox_xsalsa20poly1305_BOXZEROBYTES
crypto_secretbox_xsalsa20poly1305_KEYBYTES
crypto_secretbox_xsalsa20poly1305_MACBYTES
crypto_secretbox_xsalsa20poly1305_NONCEBYTES
crypto_secretbox_xsalsa20poly1305_ZEROBYTES
crypto_shorthash_siphash24_BYTES
crypto_shorthash_siphash24_KEYBYTES
crypto_sign_ed25519_BYTES
crypto_sign_ed25519_PUBLICKEYBYTES
crypto_sign_ed25519_SECRETKEYBYTES
crypto_sign_ed25519_SEEDBYTES
crypto_sign_edwards25519sha512batch_BYTES
crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES
crypto_sign_edwards25519sha512batch_SECRETKEYBYTES
crypto_stream_KEYBYTES
crypto_stream_NONCEBYTES
crypto_stream_PRIMITIVE
crypto_stream_aes128ctr_BEFORENMBYTES
crypto_stream_aes128ctr_KEYBYTES
crypto_stream_aes128ctr_NONCEBYTES
crypto_stream_chacha20_KEYBYTES
crypto_stream_chacha20_NONCEBYTES
crypto_stream_salsa2012_KEYBYTES
crypto_stream_salsa2012_NONCEBYTES
crypto_stream_salsa208_KEYBYTES
crypto_stream_salsa208_NONCEBYTES
crypto_stream_salsa20_KEYBYTES
crypto_stream_salsa20_NONCEBYTES
crypto_stream_xsalsa20_KEYBYTES
crypto_stream_xsalsa20_NONCEBYTES
crypto_verify_16_BYTES
crypto_verify_32_BYTES
crypto_verify_64_BYTES

Functions

crypto_aead_chacha20poly1305_abytes
crypto_aead_chacha20poly1305_decrypt
crypto_aead_chacha20poly1305_encrypt
crypto_aead_chacha20poly1305_keybytes
crypto_aead_chacha20poly1305_npubbytes
crypto_aead_chacha20poly1305_nsecbytes
crypto_auth
crypto_auth_bytes
crypto_auth_hmacsha256
crypto_auth_hmacsha256_bytes
crypto_auth_hmacsha256_final
crypto_auth_hmacsha256_init
crypto_auth_hmacsha256_keybytes
crypto_auth_hmacsha256_update
crypto_auth_hmacsha256_verify
crypto_auth_hmacsha512
crypto_auth_hmacsha512256
crypto_auth_hmacsha512256_bytes
crypto_auth_hmacsha512256_final
crypto_auth_hmacsha512256_init
crypto_auth_hmacsha512256_keybytes
crypto_auth_hmacsha512256_update
crypto_auth_hmacsha512256_verify
crypto_auth_hmacsha512_bytes
crypto_auth_hmacsha512_final
crypto_auth_hmacsha512_init
crypto_auth_hmacsha512_keybytes
crypto_auth_hmacsha512_update
crypto_auth_hmacsha512_verify
crypto_auth_keybytes
crypto_auth_primitive
crypto_auth_verify
crypto_box
crypto_box_afternm
crypto_box_beforenm
crypto_box_beforenmbytes
crypto_box_boxzerobytes
crypto_box_curve25519xsalsa20poly1305
crypto_box_curve25519xsalsa20poly1305_afternm
crypto_box_curve25519xsalsa20poly1305_beforenm
crypto_box_curve25519xsalsa20poly1305_beforenmbytes
crypto_box_curve25519xsalsa20poly1305_boxzerobytes
crypto_box_curve25519xsalsa20poly1305_keypair
crypto_box_curve25519xsalsa20poly1305_macbytes
crypto_box_curve25519xsalsa20poly1305_noncebytes
crypto_box_curve25519xsalsa20poly1305_open
crypto_box_curve25519xsalsa20poly1305_open_afternm
crypto_box_curve25519xsalsa20poly1305_publickeybytes
crypto_box_curve25519xsalsa20poly1305_secretkeybytes
crypto_box_curve25519xsalsa20poly1305_seedbytes
crypto_box_curve25519xsalsa20poly1305_zerobytes
crypto_box_detached
crypto_box_easy
crypto_box_keypair
crypto_box_macbytes
crypto_box_noncebytes
crypto_box_open
crypto_box_open_afternm
crypto_box_open_detached
crypto_box_open_easy
crypto_box_primitive
crypto_box_publickeybytes
crypto_box_secretkeybytes
crypto_box_seed_keypair
crypto_box_seedbytes
crypto_box_zerobytes
crypto_core_hsalsa20
crypto_core_hsalsa20_constbytes
crypto_core_hsalsa20_inputbytes
crypto_core_hsalsa20_keybytes
crypto_core_hsalsa20_outputbytes
crypto_core_salsa20
crypto_core_salsa2012
crypto_core_salsa2012_constbytes
crypto_core_salsa2012_inputbytes
crypto_core_salsa2012_keybytes
crypto_core_salsa2012_outputbytes
crypto_core_salsa208
crypto_core_salsa208_constbytes
crypto_core_salsa208_inputbytes
crypto_core_salsa208_keybytes
crypto_core_salsa208_outputbytes
crypto_core_salsa20_constbytes
crypto_core_salsa20_inputbytes
crypto_core_salsa20_keybytes
crypto_core_salsa20_outputbytes
crypto_generichash
crypto_generichash_blake2b
crypto_generichash_blake2b_bytes
crypto_generichash_blake2b_bytes_max
crypto_generichash_blake2b_bytes_min
crypto_generichash_blake2b_keybytes
crypto_generichash_blake2b_keybytes_max
crypto_generichash_blake2b_keybytes_min
crypto_generichash_blake2b_personalbytes
crypto_generichash_blake2b_salt_personal
crypto_generichash_blake2b_saltbytes
crypto_generichash_bytes
crypto_generichash_bytes_max
crypto_generichash_bytes_min
crypto_generichash_keybytes
crypto_generichash_keybytes_max
crypto_generichash_keybytes_min
crypto_generichash_primitive
crypto_hash
crypto_hash_bytes
crypto_hash_primitive
crypto_hash_sha256
crypto_hash_sha256_bytes
crypto_hash_sha256_final
crypto_hash_sha256_init
crypto_hash_sha256_update
crypto_hash_sha512
crypto_hash_sha512_bytes
crypto_hash_sha512_final
crypto_hash_sha512_init
crypto_hash_sha512_update
crypto_onetimeauth_bytes
crypto_onetimeauth_keybytes
crypto_onetimeauth_poly1305
crypto_onetimeauth_poly1305_bytes
crypto_onetimeauth_poly1305_keybytes
crypto_onetimeauth_poly1305_verify
crypto_onetimeauth_primitive
crypto_pwhash_scryptsalsa208sha256
crypto_pwhash_scryptsalsa208sha256_ll
crypto_pwhash_scryptsalsa208sha256_memlimit_interactive
crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive
crypto_pwhash_scryptsalsa208sha256_opslimit_interactive
crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive
crypto_pwhash_scryptsalsa208sha256_saltbytes
crypto_pwhash_scryptsalsa208sha256_str
crypto_pwhash_scryptsalsa208sha256_str_verify
crypto_pwhash_scryptsalsa208sha256_strbytes
crypto_pwhash_scryptsalsa208sha256_strprefix
crypto_scalarmult
crypto_scalarmult_base
crypto_scalarmult_bytes
crypto_scalarmult_curve25519
crypto_scalarmult_curve25519_base
crypto_scalarmult_curve25519_bytes
crypto_scalarmult_curve25519_scalarbytes
crypto_scalarmult_primitive
crypto_scalarmult_scalarbytes
crypto_secretbox_xsalsa20poly1305
crypto_secretbox_xsalsa20poly1305_boxzerobytes
crypto_secretbox_xsalsa20poly1305_keybytes
crypto_secretbox_xsalsa20poly1305_macbytes
crypto_secretbox_xsalsa20poly1305_noncebytes
crypto_secretbox_xsalsa20poly1305_open
crypto_secretbox_xsalsa20poly1305_zerobytes
crypto_shorthash_siphash24
crypto_shorthash_siphash24_bytes
crypto_shorthash_siphash24_keybytes
crypto_sign_ed25519
crypto_sign_ed25519_bytes
crypto_sign_ed25519_detached
crypto_sign_ed25519_keypair
crypto_sign_ed25519_open
crypto_sign_ed25519_publickeybytes
crypto_sign_ed25519_secretkeybytes
crypto_sign_ed25519_seed_keypair
crypto_sign_ed25519_seedbytes
crypto_sign_ed25519_verify_detached
crypto_sign_edwards25519sha512batch
crypto_sign_edwards25519sha512batch_bytes
crypto_sign_edwards25519sha512batch_keypair
crypto_sign_edwards25519sha512batch_open
crypto_sign_edwards25519sha512batch_publickeybytes
crypto_sign_edwards25519sha512batch_secretkeybytes
crypto_stream_aes128ctr
crypto_stream_aes128ctr_beforenmbytes
crypto_stream_aes128ctr_keybytes
crypto_stream_aes128ctr_noncebytes
crypto_stream_aes128ctr_xor
crypto_stream_chacha20
crypto_stream_chacha20_keybytes
crypto_stream_chacha20_noncebytes
crypto_stream_chacha20_xor
crypto_stream_keybytes
crypto_stream_noncebytes
crypto_stream_primitive
crypto_stream_salsa20
crypto_stream_salsa2012
crypto_stream_salsa2012_keybytes
crypto_stream_salsa2012_noncebytes
crypto_stream_salsa2012_xor
crypto_stream_salsa208
crypto_stream_salsa208_keybytes
crypto_stream_salsa208_noncebytes
crypto_stream_salsa208_xor
crypto_stream_salsa20_keybytes
crypto_stream_salsa20_noncebytes
crypto_stream_salsa20_xor
crypto_stream_xsalsa20
crypto_stream_xsalsa20_keybytes
crypto_stream_xsalsa20_noncebytes
crypto_stream_xsalsa20_xor
crypto_verify_16
crypto_verify_16_bytes
crypto_verify_32
crypto_verify_32_bytes
crypto_verify_64
crypto_verify_64_bytes
randombytes_buf
sodium_init
sodium_memcmp
sodium_memzero

Type Definitions

crypto_auth_hmacsha512256_state