assh/assh_mac.h header reference
Description [link]
This header file contains API descriptors for message authentication algorithm modules implemented in the library.
See also Message authentication algorithms and Core and modules.
Members [link]
Type [link]
- struct assh_algo_mac_s
Functions [link]
- const struct assh_algo_mac_s * assh_algo_mac(const struct assh_algo_s *algo)
- assh_status_t assh_algo_mac_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_mac_s **ma, const struct assh_algo_name_s **namep)
- assh_status_t assh_algo_mac_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_mac_s **ma, const struct assh_algo_name_s **namep)
Constant [link]
- const struct assh_algo_mac_s assh_mac_none
Members detail [link]
const struct assh_algo_mac_s * assh_algo_mac(const struct assh_algo_s *algo) [link]
This function is declared in assh/assh_mac.h source file, line 94.
This function casts and returns the passed pointer if the algorithm class is ASSH_ALGO_MAC. In other cases, NULL is returned.
assh_status_t assh_algo_mac_by_name(struct assh_context_s *c, const char *name, size_t name_len, const struct assh_algo_mac_s **ma, const struct assh_algo_name_s **namep) [link]
This function is declared in assh/assh_mac.h source file, line 118.
This function finds a registered mac algorithm.
See also assh_algo_by_name.
assh_status_t assh_algo_mac_by_name_static(const struct assh_algo_s **table, const char *name, size_t name_len, const struct assh_algo_mac_s **ma, const struct assh_algo_name_s **namep) [link]
This function is declared in assh/assh_mac.h source file, line 107.
This function finds a mac algorithm in a NULL terminated array of pointers to algorithm descriptors.
See also assh_algo_by_name_static.
struct assh_algo_mac_s [link]
This struct is declared in assh/assh_mac.h source file, line 74.
This struct is the mac algorithm descriptor structure. It can be casted to the struct assh_algo_s type.
See also Core and modules.
const struct assh_algo_mac_s assh_mac_none [link]
This constant is declared in assh/assh_mac.h source file, line 125.
This constant is a mac algorithm implementation descriptor.
See also Message authentication algorithms.