Go to the source code of this file.
|
| | UNIT_TYPEDEF (gcm_unit_t, UNIT_BITS) |
| |
| | BUFR_TYPEDEF (gcm_buf_t, UNIT_BITS, AES_BLOCK_SIZE) |
| |
| ret_type | gcm_init_and_key (const unsigned char key[], unsigned long key_len, gcm_ctx ctx[1]) |
| |
| ret_type | gcm_end (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]) |
| |
| 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_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_compute_tag (unsigned char tag[], unsigned long tag_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]) |
| |
Definition at line 85 of file gcm.h.
Definition at line 78 of file gcm.h.
Definition at line 77 of file gcm.h.
Definition at line 76 of file gcm.h.
Definition at line 49 of file gcm.h.
Definition at line 81 of file gcm.h.
| 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] |
|
) |
| |