webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Variables
aes_gcm_ossl.c File Reference
#include <openssl/evp.h>
#include "aes_icm_ossl.h"
#include "aes_gcm_ossl.h"
#include "alloc.h"
#include "err.h"
#include "crypto_types.h"

Macros

#define GCM_AUTH_TAG_LEN   16
 
#define GCM_AUTH_TAG_LEN_8   8
 

Variables

srtp_debug_module_t srtp_mod_aes_gcm
 
const srtp_cipher_type_t srtp_aes_gcm_128_openssl
 
const srtp_cipher_type_t srtp_aes_gcm_256_openssl
 

Macro Definition Documentation

◆ GCM_AUTH_TAG_LEN

#define GCM_AUTH_TAG_LEN   16

◆ GCM_AUTH_TAG_LEN_8

#define GCM_AUTH_TAG_LEN_8   8

Variable Documentation

◆ srtp_aes_gcm_128_openssl

const srtp_cipher_type_t srtp_aes_gcm_128_openssl
Initial value:
= {
srtp_aes_gcm_openssl_alloc,
srtp_aes_gcm_openssl_dealloc,
srtp_aes_gcm_openssl_context_init,
srtp_aes_gcm_openssl_set_aad,
srtp_aes_gcm_openssl_encrypt,
srtp_aes_gcm_openssl_decrypt,
srtp_aes_gcm_openssl_set_iv,
srtp_aes_gcm_openssl_get_tag,
srtp_aes_gcm_128_openssl_description,
&srtp_aes_gcm_test_case_0,
}
#define SRTP_AES_128_GCM
Definition: crypto_types.h:90

◆ srtp_aes_gcm_256_openssl

const srtp_cipher_type_t srtp_aes_gcm_256_openssl
Initial value:
= {
srtp_aes_gcm_openssl_alloc,
srtp_aes_gcm_openssl_dealloc,
srtp_aes_gcm_openssl_context_init,
srtp_aes_gcm_openssl_set_aad,
srtp_aes_gcm_openssl_encrypt,
srtp_aes_gcm_openssl_decrypt,
srtp_aes_gcm_openssl_set_iv,
srtp_aes_gcm_openssl_get_tag,
srtp_aes_gcm_256_openssl_description,
&srtp_aes_gcm_test_case_1,
}
#define SRTP_AES_256_GCM
Definition: crypto_types.h:98

◆ srtp_mod_aes_gcm

srtp_debug_module_t srtp_mod_aes_gcm
Initial value:
= {
0,
"aes gcm"
}