#include <openssl/base.h>
#include <assert.h>
#include <string.h>
#include <openssl/mem.h>
#include <openssl/cpu.h>
#include "internal.h"
#include "../../internal.h"
Go to the source code of this file.
|
int | CRYPTO_gcm128_aad (GCM128_CONTEXT *ctx, const uint8_t *aad, size_t len) |
|
int | CRYPTO_gcm128_decrypt (GCM128_CONTEXT *ctx, const AES_KEY *key, const unsigned char *in, unsigned char *out, size_t len) |
|
int | CRYPTO_gcm128_decrypt_ctr32 (GCM128_CONTEXT *ctx, const AES_KEY *key, const uint8_t *in, uint8_t *out, size_t len, ctr128_f stream) |
|
int | CRYPTO_gcm128_encrypt (GCM128_CONTEXT *ctx, const AES_KEY *key, const uint8_t *in, uint8_t *out, size_t len) |
|
int | CRYPTO_gcm128_encrypt_ctr32 (GCM128_CONTEXT *ctx, const AES_KEY *key, const uint8_t *in, uint8_t *out, size_t len, ctr128_f stream) |
|
int | CRYPTO_gcm128_finish (GCM128_CONTEXT *ctx, const uint8_t *tag, size_t len) |
|
void | CRYPTO_gcm128_init_key (GCM128_KEY *gcm_key, const AES_KEY *aes_key, block128_f block, int block_is_hwaes) |
|
void | CRYPTO_gcm128_setiv (GCM128_CONTEXT *ctx, const AES_KEY *key, const uint8_t *iv, size_t len) |
|
void | CRYPTO_gcm128_tag (GCM128_CONTEXT *ctx, unsigned char *tag, size_t len) |
|
void | CRYPTO_ghash_init (gmult_func *out_mult, ghash_func *out_hash, u128 *out_key, u128 out_table[16], int *out_is_avx, const uint8_t gcm_key[16]) |
|
◆ GCM_MUL
Definition at line 66 of file gcm.c.
◆ GHASH
Definition at line 67 of file gcm.c.
◆ GHASH_CHUNK
#define GHASH_CHUNK (3 * 1024) |
Definition at line 72 of file gcm.c.
◆ CRYPTO_gcm128_aad()
◆ CRYPTO_gcm128_decrypt()
◆ CRYPTO_gcm128_decrypt_ctr32()
◆ CRYPTO_gcm128_encrypt()
◆ CRYPTO_gcm128_encrypt_ctr32()
◆ CRYPTO_gcm128_finish()
◆ CRYPTO_gcm128_init_key()
◆ CRYPTO_gcm128_setiv()
◆ CRYPTO_gcm128_tag()
void CRYPTO_gcm128_tag |
( |
GCM128_CONTEXT * |
ctx, |
|
|
unsigned char * |
tag, |
|
|
size_t |
len |
|
) |
| |
◆ CRYPTO_ghash_init()
◆ kSizeTWithoutLower4Bits
const size_t kSizeTWithoutLower4Bits = (size_t) -16 |
|
static |
Definition at line 63 of file gcm.c.