assh/assh_cipher.h header reference

Description  

This header file contains API descriptors for cipher algorithm modules implemented in the library.

See also Cipher algorithms and Core and modules.

Members  

Type  

Functions  

  • const assh_algo_cipher_s * assh_algo_cipher(const assh_algo_s *algo)
  • assh_status_t assh_algo_cipher_by_name(assh_context_s *c, const char *name, size_t name_len, const assh_algo_cipher_s **ca, const assh_algo_name_s **namep)
  • assh_status_t assh_algo_cipher_by_name_static(const assh_algo_s **table, const char *name, size_t name_len, const assh_algo_cipher_s **ca, const assh_algo_name_s **namep)

Constant  

Members detail  

const assh_algo_cipher_s * assh_algo_cipher(const assh_algo_s *algo)  

This function is declared in assh/assh_cipher.h source file, line 112.

This function casts and returns the passed pointer if the algorithm class is ASSH_ALGO_CIPHER. In other cases, NULL is returned.

assh_status_t assh_algo_cipher_by_name(assh_context_s *c, const char *name, size_t name_len, const assh_algo_cipher_s **ca, const assh_algo_name_s **namep)  

This function is declared in assh/assh_cipher.h source file, line 136.

This function finds a registered cipher algorithm.

See also assh_algo_by_name.

assh_status_t assh_algo_cipher_by_name_static(const assh_algo_s **table, const char *name, size_t name_len, const assh_algo_cipher_s **ca, const assh_algo_name_s **namep)  

This function is declared in assh/assh_cipher.h source file, line 125.

This function finds a cipher algorithm in a NULL terminated array of pointers to algorithm descriptors.

See also assh_algo_by_name_static.

struct assh_algo_cipher_s  

This struct is declared in assh/assh_cipher.h source file, line 84.

This struct is the cipher algorithm descriptor. It can be casted to the assh_algo_s type.

See also Core and modules.

const assh_algo_cipher_s assh_cipher_none  

This constant is declared in assh/assh_cipher.h source file, line 144.

This constant is a cipher algorithm implementation descriptor for the dummy none algorithm.

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Sep 27 13:33:12 2020 using MkDoc