#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <stdint.h>
#include <stdio.h>
#include "aes.h"
Go to the source code of this file.
|
void | secure_aes_init (int verbose) |
|
int | aes_cbc_encrypt (const aes_block *in, aes_block *out, size_t nblocks, const aes_block *iv, aes_encrypt_ctx *ctx) |
|
int | aes_cbc_decrypt (const aes_block *in, aes_block *out, size_t nblocks, const aes_block *iv, aes_decrypt_ctx *ctx) |
|
int | aes_xcbc_prf_init (void **ctx, const uint8_t *key, size_t len) |
|
int | aes_xcbc_mac_init (void **ctx, const uint8_t *key, size_t len) |
|
void | aes_xcbc_mac_release (void **ctx) |
|
void | aes_xcbc_mac_128 (void *ctx, const uint8_t *buf, size_t len, aes_block *mac) |
|
void | secure_random_init (int verbose) |
|
void | secure_random_release (void) |
|
void | secure_audit (const char *event, uint32_t spi, uint32_t seq, const struct sockaddr *src) |
|
void | aes_ccm_tweak (void *ctx, uint32_t version) |
|
void | secure_pbkdf_init (int verbose) |
|
◆ aes_xcbc_prf_128
◆ aes_xcbc_prf_release
◆ bytes
#define bytes |
( |
|
bits | ) |
((bits) / 8) |
◆ aes_cbc_decrypt()
◆ aes_cbc_encrypt()
◆ aes_ccm_tweak()
void aes_ccm_tweak |
( |
void * |
ctx, |
|
|
uint32_t |
version |
|
) |
| |
◆ aes_xcbc_mac_128()
void aes_xcbc_mac_128 |
( |
void * |
ctx, |
|
|
const uint8_t * |
buf, |
|
|
size_t |
len, |
|
|
aes_block * |
mac |
|
) |
| |
◆ aes_xcbc_mac_init()
int aes_xcbc_mac_init |
( |
void ** |
ctx, |
|
|
const uint8_t * |
key, |
|
|
size_t |
len |
|
) |
| |
◆ aes_xcbc_mac_release()
void aes_xcbc_mac_release |
( |
void ** |
ctx | ) |
|
◆ aes_xcbc_prf_init()
int aes_xcbc_prf_init |
( |
void ** |
ctx, |
|
|
const uint8_t * |
key, |
|
|
size_t |
len |
|
) |
| |
◆ secure_aes_init()
void secure_aes_init |
( |
int |
verbose | ) |
|
◆ secure_audit()
void secure_audit |
( |
const char * |
event, |
|
|
uint32_t |
spi, |
|
|
uint32_t |
seq, |
|
|
const struct sockaddr * |
src |
|
) |
| |
◆ secure_pbkdf_init()
void secure_pbkdf_init |
( |
int |
verbose | ) |
|
◆ secure_random_init()
void secure_random_init |
( |
int |
verbose | ) |
|
◆ secure_random_release()
void secure_random_release |
( |
void |
| ) |
|