nettle  3.7.3
About: Nettle is a low-level cryptographic library.
  Fossies Dox: nettle-3.7.3.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

nettle-types.h File Reference
#include <stddef.h>
#include <stdint.h>
Include dependency graph for nettle-types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  nettle_block16
 
union  nettle_block8
 

Macros

#define _NETTLE_ATTRIBUTE_PURE
 
#define _NETTLE_ATTRIBUTE_DEPRECATED
 

Typedefs

typedef void nettle_random_func(void *ctx, size_t length, uint8_t *dst)
 
typedef void nettle_progress_func(void *ctx, int c)
 
typedef void * nettle_realloc_func(void *ctx, void *p, size_t length)
 
typedef void nettle_set_key_func(void *ctx, const uint8_t *key)
 
typedef void nettle_cipher_func(const void *ctx, size_t length, uint8_t *dst, const uint8_t *src)
 
typedef void nettle_crypt_func(void *ctx, size_t length, uint8_t *dst, const uint8_t *src)
 
typedef void nettle_hash_init_func(void *ctx)
 
typedef void nettle_hash_update_func(void *ctx, size_t length, const uint8_t *src)
 
typedef void nettle_hash_digest_func(void *ctx, size_t length, uint8_t *dst)
 
typedef size_t nettle_armor_length_func(size_t length)
 
typedef void nettle_armor_init_func(void *ctx)
 
typedef size_t nettle_armor_encode_update_func(void *ctx, char *dst, size_t src_length, const uint8_t *src)
 
typedef size_t nettle_armor_encode_final_func(void *ctx, char *dst)
 
typedef int nettle_armor_decode_update_func(void *ctx, size_t *dst_length, uint8_t *dst, size_t src_length, const char *src)
 
typedef int nettle_armor_decode_final_func(void *ctx)
 

Macro Definition Documentation

◆ _NETTLE_ATTRIBUTE_DEPRECATED

#define _NETTLE_ATTRIBUTE_DEPRECATED

Definition at line 52 of file nettle-types.h.

◆ _NETTLE_ATTRIBUTE_PURE

#define _NETTLE_ATTRIBUTE_PURE

Definition at line 51 of file nettle-types.h.

Typedef Documentation

◆ nettle_armor_decode_final_func

typedef int nettle_armor_decode_final_func(void *ctx)

Definition at line 125 of file nettle-types.h.

◆ nettle_armor_decode_update_func

typedef int nettle_armor_decode_update_func(void *ctx, size_t *dst_length, uint8_t *dst, size_t src_length, const char *src)

Definition at line 119 of file nettle-types.h.

◆ nettle_armor_encode_final_func

typedef size_t nettle_armor_encode_final_func(void *ctx, char *dst)

Definition at line 117 of file nettle-types.h.

◆ nettle_armor_encode_update_func

typedef size_t nettle_armor_encode_update_func(void *ctx, char *dst, size_t src_length, const uint8_t *src)

Definition at line 112 of file nettle-types.h.

◆ nettle_armor_init_func

typedef void nettle_armor_init_func(void *ctx)

Definition at line 110 of file nettle-types.h.

◆ nettle_armor_length_func

typedef size_t nettle_armor_length_func(size_t length)

Definition at line 109 of file nettle-types.h.

◆ nettle_cipher_func

typedef void nettle_cipher_func(const void *ctx, size_t length, uint8_t *dst, const uint8_t *src)

Definition at line 88 of file nettle-types.h.

◆ nettle_crypt_func

typedef void nettle_crypt_func(void *ctx, size_t length, uint8_t *dst, const uint8_t *src)

Definition at line 95 of file nettle-types.h.

◆ nettle_hash_digest_func

typedef void nettle_hash_digest_func(void *ctx, size_t length, uint8_t *dst)

Definition at line 104 of file nettle-types.h.

◆ nettle_hash_init_func

typedef void nettle_hash_init_func(void *ctx)

Definition at line 100 of file nettle-types.h.

◆ nettle_hash_update_func

typedef void nettle_hash_update_func(void *ctx, size_t length, const uint8_t *src)

Definition at line 101 of file nettle-types.h.

◆ nettle_progress_func

typedef void nettle_progress_func(void *ctx, int c)

Definition at line 79 of file nettle-types.h.

◆ nettle_random_func

typedef void nettle_random_func(void *ctx, size_t length, uint8_t *dst)

Definition at line 75 of file nettle-types.h.

◆ nettle_realloc_func

typedef void* nettle_realloc_func(void *ctx, void *p, size_t length)

Definition at line 82 of file nettle-types.h.

◆ nettle_set_key_func

typedef void nettle_set_key_func(void *ctx, const uint8_t *key)

Definition at line 85 of file nettle-types.h.