#include <openssl/crypto.h>
#include "modes_lcl.h"
#include <string.h>
#include <assert.h>
Go to the source code of this file.
|
void | CRYPTO_ccm128_init (CCM128_CONTEXT *ctx, unsigned int M, unsigned int L, void *key, block128_f block) |
|
int | CRYPTO_ccm128_setiv (CCM128_CONTEXT *ctx, const unsigned char *nonce, size_t nlen, size_t mlen) |
|
void | CRYPTO_ccm128_aad (CCM128_CONTEXT *ctx, const unsigned char *aad, size_t alen) |
|
int | CRYPTO_ccm128_encrypt (CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len) |
|
int | CRYPTO_ccm128_decrypt (CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len) |
|
int | CRYPTO_ccm128_encrypt_ccm64 (CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len, ccm128_f stream) |
|
int | CRYPTO_ccm128_decrypt_ccm64 (CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len, ccm128_f stream) |
|
size_t | CRYPTO_ccm128_tag (CCM128_CONTEXT *ctx, unsigned char *tag, size_t len) |
|
int CRYPTO_ccm128_decrypt |
( |
CCM128_CONTEXT * |
ctx, |
|
|
const unsigned char * |
inp, |
|
|
unsigned char * |
out, |
|
|
size_t |
len |
|
) |
| |
int CRYPTO_ccm128_decrypt_ccm64 |
( |
CCM128_CONTEXT * |
ctx, |
|
|
const unsigned char * |
inp, |
|
|
unsigned char * |
out, |
|
|
size_t |
len, |
|
|
ccm128_f |
stream |
|
) |
| |
int CRYPTO_ccm128_encrypt |
( |
CCM128_CONTEXT * |
ctx, |
|
|
const unsigned char * |
inp, |
|
|
unsigned char * |
out, |
|
|
size_t |
len |
|
) |
| |
int CRYPTO_ccm128_encrypt_ccm64 |
( |
CCM128_CONTEXT * |
ctx, |
|
|
const unsigned char * |
inp, |
|
|
unsigned char * |
out, |
|
|
size_t |
len, |
|
|
ccm128_f |
stream |
|
) |
| |
int CRYPTO_ccm128_setiv |
( |
CCM128_CONTEXT * |
ctx, |
|
|
const unsigned char * |
nonce, |
|
|
size_t |
nlen, |
|
|
size_t |
mlen |
|
) |
| |
size_t CRYPTO_ccm128_tag |
( |
CCM128_CONTEXT * |
ctx, |
|
|
unsigned char * |
tag, |
|
|
size_t |
len |
|
) |
| |