Rizin
unix-like reverse engineering framework and cli tools
nettle-types.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Classes

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 55 of file nettle-types.h.

◆ _NETTLE_ATTRIBUTE_PURE

#define _NETTLE_ATTRIBUTE_PURE

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

Typedef Documentation

◆ nettle_armor_decode_final_func

typedef int nettle_armor_decode_final_func(void *ctx)

Definition at line 128 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 122 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 120 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 115 of file nettle-types.h.

◆ nettle_armor_init_func

typedef void nettle_armor_init_func(void *ctx)

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

◆ nettle_armor_length_func

typedef size_t nettle_armor_length_func(size_t length)

Definition at line 112 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 91 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 98 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 107 of file nettle-types.h.

◆ nettle_hash_init_func

typedef void nettle_hash_init_func(void *ctx)

Definition at line 103 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 104 of file nettle-types.h.

◆ nettle_progress_func

typedef void nettle_progress_func(void *ctx, int c)

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

◆ nettle_random_func

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

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

◆ nettle_realloc_func

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

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

◆ nettle_set_key_func

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

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