Go to the source code of this file.
|
ret_type | gcm_init_and_key (const unsigned char key[], unsigned long key_len, gcm_ctx ctx[1]) |
|
void | gf_mul_hh (gf_t a, gcm_ctx ctx[1]) |
|
ret_type | gcm_init_message (const unsigned char iv[], unsigned long iv_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_auth_header (const unsigned char hdr[], unsigned long hdr_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_auth_data (const unsigned char data[], unsigned long data_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_crypt_data (unsigned char data[], unsigned long data_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_compute_tag (unsigned char tag[], unsigned long tag_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_end (gcm_ctx ctx[1]) |
|
ret_type | gcm_encrypt (unsigned char data[], unsigned long data_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_decrypt (unsigned char data[], unsigned long data_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_encrypt_message (const unsigned char iv[], unsigned long iv_len, const unsigned char hdr[], unsigned long hdr_len, unsigned char msg[], unsigned long msg_len, unsigned char tag[], unsigned long tag_len, gcm_ctx ctx[1]) |
|
ret_type | gcm_decrypt_message (const unsigned char iv[], unsigned long iv_len, const unsigned char hdr[], unsigned long hdr_len, unsigned char msg[], unsigned long msg_len, const unsigned char tag[], unsigned long tag_len, gcm_ctx ctx[1]) |
|
#define BLK_ADR_MASK (BLOCK_SIZE - 1) /* mask for 'in block' address */ |
Definition at line 96 of file gcm.c.
Definition at line 95 of file gcm.c.
Definition at line 97 of file gcm.c.
Definition at line 99 of file gcm.c.
ret_type gcm_compute_tag |
( |
unsigned char |
tag[], |
|
|
unsigned long |
tag_len, |
|
|
gcm_ctx |
ctx[1] |
|
) |
| |
ret_type gcm_crypt_data |
( |
unsigned char |
data[], |
|
|
unsigned long |
data_len, |
|
|
gcm_ctx |
ctx[1] |
|
) |
| |
ret_type gcm_decrypt |
( |
unsigned char |
data[], |
|
|
unsigned long |
data_len, |
|
|
gcm_ctx |
ctx[1] |
|
) |
| |
ret_type gcm_decrypt_message |
( |
const unsigned char |
iv[], |
|
|
unsigned long |
iv_len, |
|
|
const unsigned char |
hdr[], |
|
|
unsigned long |
hdr_len, |
|
|
unsigned char |
msg[], |
|
|
unsigned long |
msg_len, |
|
|
const unsigned char |
tag[], |
|
|
unsigned long |
tag_len, |
|
|
gcm_ctx |
ctx[1] |
|
) |
| |
ret_type gcm_encrypt |
( |
unsigned char |
data[], |
|
|
unsigned long |
data_len, |
|
|
gcm_ctx |
ctx[1] |
|
) |
| |
ret_type gcm_encrypt_message |
( |
const unsigned char |
iv[], |
|
|
unsigned long |
iv_len, |
|
|
const unsigned char |
hdr[], |
|
|
unsigned long |
hdr_len, |
|
|
unsigned char |
msg[], |
|
|
unsigned long |
msg_len, |
|
|
unsigned char |
tag[], |
|
|
unsigned long |
tag_len, |
|
|
gcm_ctx |
ctx[1] |
|
) |
| |
void gf_mul_hh |
( |
gf_t |
a, |
|
|
gcm_ctx |
ctx[1] |
|
) |
| |