ocean.util.cipher.gcrypt.c.gcrypt

D bindings to the libgcrypt library.

Requires linking with libgcrypt:

-L-lgcrypt

Public Imports

ocean.util.cipher.gcrypt.c.general
public import ocean.util.cipher.gcrypt.c.general;
Undocumented in source.

Members

Aliases

gcry_cipher_hd_t
alias gcry_cipher_hd_t = gcry_cipher_handle*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

gcry_cipher_algos
enum gcry_cipher_algos

See original's library documentation for details.

gcry_cipher_modes
enum gcry_cipher_modes

See original's library documentation for details.

Functions

gcry_cipher_close
void gcry_cipher_close(gcry_cipher_hd_t h)

See original's library documentation for details.

gcry_cipher_decrypt
gcry_error_t gcry_cipher_decrypt(gcry_cipher_hd_t h, const(void)* out_, size_t outsize, const(void)* in_, size_t inlen)

See original's library documentation for details.

gcry_cipher_encrypt
gcry_error_t gcry_cipher_encrypt(gcry_cipher_hd_t h, const(void)* out_, size_t outsize, const(void)* in_, size_t inlen)

See original's library documentation for details.

gcry_cipher_get_algo_blklen
size_t gcry_cipher_get_algo_blklen(int algo)

See original's library documentation for details.

gcry_cipher_get_algo_keylen
size_t gcry_cipher_get_algo_keylen(int algo)

See original's library documentation for details.

gcry_cipher_open
gcry_error_t gcry_cipher_open(gcry_cipher_hd_t* hd, gcry_cipher_algos algo, gcry_cipher_modes mode, uint flags)

See original's library documentation for details.

gcry_cipher_setiv
gcry_error_t gcry_cipher_setiv(gcry_cipher_hd_t h, const(void)* k, size_t l)

See original's library documentation for details.

gcry_cipher_setkey
gcry_error_t gcry_cipher_setkey(gcry_cipher_hd_t h, const(void)* k, size_t l)

See original's library documentation for details.

Structs

gcry_cipher_handle
struct gcry_cipher_handle

See original's library documentation for details.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).

Bear in mind this module provides bindings to an external library that has its own license, which might be more restrictive. Please check the external library license to see which conditions apply for linking.