Ocamlnet 4 Reference Manual : Nettls_nettle_bindings

`sig
type net_nettle_cipher_t
type net_nettle_cipher_ctx_t
type net_nettle_gcm_aes_ctx_t
type net_nettle_hash_t
type net_nettle_hash_ctx_t
val net_nettle_ciphers :
unit -> Nettls_nettle_bindings.net_nettle_cipher_t array
val net_ext_ciphers :
unit -> Nettls_nettle_bindings.net_nettle_cipher_t array
val net_nettle_cipher_name :
Nettls_nettle_bindings.net_nettle_cipher_t -> string
val net_nettle_create_cipher_ctx :
Nettls_nettle_bindings.net_nettle_cipher_t ->
Nettls_nettle_bindings.net_nettle_cipher_ctx_t
val net_nettle_set_encrypt_key :
Nettls_nettle_bindings.net_nettle_cipher_t ->
Nettls_nettle_bindings.net_nettle_cipher_ctx_t -> Stdlib.Bytes.t -> unit
val net_nettle_set_decrypt_key :
Nettls_nettle_bindings.net_nettle_cipher_t ->
Nettls_nettle_bindings.net_nettle_cipher_ctx_t -> Stdlib.Bytes.t -> unit
val net_nettle_encrypt :
Nettls_nettle_bindings.net_nettle_cipher_t ->
Nettls_nettle_bindings.net_nettle_cipher_ctx_t ->
int -> Netsys_mem.memory -> Netsys_mem.memory -> unit
val net_nettle_decrypt :
Nettls_nettle_bindings.net_nettle_cipher_t ->
Nettls_nettle_bindings.net_nettle_cipher_ctx_t ->
int -> Netsys_mem.memory -> Netsys_mem.memory -> unit
val net_nettle_gcm_aes_init :
unit -> Nettls_nettle_bindings.net_nettle_gcm_aes_ctx_t
val nettle_gcm_aes_set_key :
Nettls_nettle_bindings.net_nettle_gcm_aes_ctx_t -> Stdlib.Bytes.t -> unit
val nettle_gcm_aes_set_iv :
Nettls_nettle_bindings.net_nettle_gcm_aes_ctx_t -> Stdlib.Bytes.t -> unit
val nettle_gcm_aes_update :
Nettls_nettle_bindings.net_nettle_gcm_aes_ctx_t -> Stdlib.Bytes.t -> unit
val nettle_gcm_aes_encrypt :
Nettls_nettle_bindings.net_nettle_gcm_aes_ctx_t ->
int -> Netsys_mem.memory -> Netsys_mem.memory -> unit
val nettle_gcm_aes_decrypt :
Nettls_nettle_bindings.net_nettle_gcm_aes_ctx_t ->
int -> Netsys_mem.memory -> Netsys_mem.memory -> unit
val nettle_gcm_aes_digest :
Nettls_nettle_bindings.net_nettle_gcm_aes_ctx_t -> Stdlib.Bytes.t -> unit
val net_have_gcm_aes : unit -> bool
val net_nettle_hashes :
unit -> Nettls_nettle_bindings.net_nettle_hash_t array
val net_nettle_hash_name :
Nettls_nettle_bindings.net_nettle_hash_t -> string
val net_nettle_create_hash_ctx :
Nettls_nettle_bindings.net_nettle_hash_t ->
Nettls_nettle_bindings.net_nettle_hash_ctx_t
val net_nettle_hash_init :
Nettls_nettle_bindings.net_nettle_hash_t ->
Nettls_nettle_bindings.net_nettle_hash_ctx_t -> unit
val net_nettle_hash_update :
Nettls_nettle_bindings.net_nettle_hash_t ->
Nettls_nettle_bindings.net_nettle_hash_ctx_t -> Netsys_mem.memory -> unit
val net_nettle_hash_digest :
Nettls_nettle_bindings.net_nettle_hash_t ->
Nettls_nettle_bindings.net_nettle_hash_ctx_t -> Stdlib.Bytes.t -> unit
end`