Classes | Macros | Typedefs | Enumerations | Functions
aead.h File Reference
#include <openssl/base.h>
Include dependency graph for aead.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  evp_aead_ctx_st
 
union  evp_aead_ctx_st_state
 

Macros

#define EVP_AEAD_DEFAULT_TAG_LENGTH   0
 
#define EVP_AEAD_MAX_KEY_LENGTH   80
 
#define EVP_AEAD_MAX_NONCE_LENGTH   24
 
#define EVP_AEAD_MAX_OVERHEAD   64
 

Typedefs

typedef struct evp_aead_ctx_st EVP_AEAD_CTX
 

Enumerations

enum  evp_aead_direction_t { evp_aead_open, evp_aead_seal }
 

Functions

const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_cbc_sha1_tls (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_cbc_sha1_tls_implicit_iv (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_ccm_bluetooth (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_ccm_bluetooth_8 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_ctr_hmac_sha256 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_gcm (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_gcm_randnonce (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_gcm_siv (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_gcm_tls12 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_128_gcm_tls13 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_192_gcm (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_cbc_sha1_tls (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_cbc_sha1_tls_implicit_iv (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_ctr_hmac_sha256 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_gcm (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_gcm_randnonce (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_gcm_siv (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_gcm_tls12 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_aes_256_gcm_tls13 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_chacha20_poly1305 (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_AEAD_CTX_aead (const EVP_AEAD_CTX *ctx)
 
OPENSSL_EXPORT void EVP_AEAD_CTX_cleanup (EVP_AEAD_CTX *ctx)
 
OPENSSL_EXPORT void EVP_AEAD_CTX_free (EVP_AEAD_CTX *ctx)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_get_iv (const EVP_AEAD_CTX *ctx, const uint8_t **out_iv, size_t *out_len)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_init (EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, const uint8_t *key, size_t key_len, size_t tag_len, ENGINE *impl)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_init_with_direction (EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, const uint8_t *key, size_t key_len, size_t tag_len, enum evp_aead_direction_t dir)
 
OPENSSL_EXPORT EVP_AEAD_CTXEVP_AEAD_CTX_new (const EVP_AEAD *aead, const uint8_t *key, size_t key_len, size_t tag_len)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_open (const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, size_t max_out_len, const uint8_t *nonce, size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *ad, size_t ad_len)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_open_gather (const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *in_tag, size_t in_tag_len, const uint8_t *ad, size_t ad_len)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_seal (const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, size_t max_out_len, const uint8_t *nonce, size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *ad, size_t ad_len)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_seal_scatter (const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, size_t *out_tag_len, size_t max_out_tag_len, const uint8_t *nonce, size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, size_t extra_in_len, const uint8_t *ad, size_t ad_len)
 
OPENSSL_EXPORT int EVP_AEAD_CTX_tag_len (const EVP_AEAD_CTX *ctx, size_t *out_tag_len, const size_t in_len, const size_t extra_in_len)
 
OPENSSL_EXPORT void EVP_AEAD_CTX_zero (EVP_AEAD_CTX *ctx)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_des_ede3_cbc_sha1_tls (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_des_ede3_cbc_sha1_tls_implicit_iv (void)
 
OPENSSL_EXPORT size_t EVP_AEAD_key_length (const EVP_AEAD *aead)
 
OPENSSL_EXPORT size_t EVP_AEAD_max_overhead (const EVP_AEAD *aead)
 
OPENSSL_EXPORT size_t EVP_AEAD_max_tag_len (const EVP_AEAD *aead)
 
OPENSSL_EXPORT size_t EVP_AEAD_nonce_length (const EVP_AEAD *aead)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_null_sha1_tls (void)
 
const OPENSSL_EXPORT EVP_AEADEVP_aead_xchacha20_poly1305 (void)
 
OPENSSL_EXPORT int EVP_has_aes_hardware (void)
 

Macro Definition Documentation

◆ EVP_AEAD_DEFAULT_TAG_LENGTH

#define EVP_AEAD_DEFAULT_TAG_LENGTH   0

Definition at line 240 of file aead.h.

◆ EVP_AEAD_MAX_KEY_LENGTH

#define EVP_AEAD_MAX_KEY_LENGTH   80

Definition at line 227 of file aead.h.

◆ EVP_AEAD_MAX_NONCE_LENGTH

#define EVP_AEAD_MAX_NONCE_LENGTH   24

Definition at line 231 of file aead.h.

◆ EVP_AEAD_MAX_OVERHEAD

#define EVP_AEAD_MAX_OVERHEAD   64

Definition at line 235 of file aead.h.

Typedef Documentation

◆ EVP_AEAD_CTX

typedef struct evp_aead_ctx_st EVP_AEAD_CTX

Enumeration Type Documentation

◆ evp_aead_direction_t

Enumerator
evp_aead_open 
evp_aead_seal 

Definition at line 429 of file aead.h.

Function Documentation

◆ EVP_aead_aes_128_cbc_sha1_tls()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_cbc_sha1_tls ( void  )

Definition at line 577 of file e_tls.c.

◆ EVP_aead_aes_128_cbc_sha1_tls_implicit_iv()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_cbc_sha1_tls_implicit_iv ( void  )

Definition at line 581 of file e_tls.c.

◆ EVP_aead_aes_128_ccm_bluetooth()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_ccm_bluetooth ( void  )

Definition at line 419 of file e_aesccm.c.

◆ EVP_aead_aes_128_ccm_bluetooth_8()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_ccm_bluetooth_8 ( void  )

Definition at line 445 of file e_aesccm.c.

◆ EVP_aead_aes_128_ctr_hmac_sha256()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_ctr_hmac_sha256 ( void  )

Definition at line 277 of file e_aesctrhmac.c.

◆ EVP_aead_aes_128_gcm()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_gcm ( void  )

◆ EVP_aead_aes_128_gcm_randnonce()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_gcm_randnonce ( void  )

◆ EVP_aead_aes_128_gcm_siv()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_gcm_siv ( void  )

Definition at line 883 of file e_aesgcmsiv.c.

◆ EVP_aead_aes_128_gcm_tls12()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_gcm_tls12 ( void  )

◆ EVP_aead_aes_128_gcm_tls13()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_128_gcm_tls13 ( void  )

◆ EVP_aead_aes_192_gcm()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_192_gcm ( void  )

◆ EVP_aead_aes_256_cbc_sha1_tls()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_cbc_sha1_tls ( void  )

Definition at line 585 of file e_tls.c.

◆ EVP_aead_aes_256_cbc_sha1_tls_implicit_iv()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_cbc_sha1_tls_implicit_iv ( void  )

Definition at line 589 of file e_tls.c.

◆ EVP_aead_aes_256_ctr_hmac_sha256()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_ctr_hmac_sha256 ( void  )

Definition at line 281 of file e_aesctrhmac.c.

◆ EVP_aead_aes_256_gcm()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_gcm ( void  )

◆ EVP_aead_aes_256_gcm_randnonce()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_gcm_randnonce ( void  )

◆ EVP_aead_aes_256_gcm_siv()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_gcm_siv ( void  )

Definition at line 887 of file e_aesgcmsiv.c.

◆ EVP_aead_aes_256_gcm_tls12()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_gcm_tls12 ( void  )

◆ EVP_aead_aes_256_gcm_tls13()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_aes_256_gcm_tls13 ( void  )

◆ EVP_aead_chacha20_poly1305()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_chacha20_poly1305 ( void  )

Definition at line 337 of file e_chacha20poly1305.c.

◆ EVP_AEAD_CTX_aead()

const OPENSSL_EXPORT EVP_AEAD* EVP_AEAD_CTX_aead ( const EVP_AEAD_CTX ctx)

Definition at line 257 of file aead.c.

◆ EVP_AEAD_CTX_cleanup()

OPENSSL_EXPORT void EVP_AEAD_CTX_cleanup ( EVP_AEAD_CTX ctx)

Definition at line 96 of file aead.c.

◆ EVP_AEAD_CTX_free()

OPENSSL_EXPORT void EVP_AEAD_CTX_free ( EVP_AEAD_CTX ctx)

Definition at line 53 of file aead.c.

◆ EVP_AEAD_CTX_get_iv()

OPENSSL_EXPORT int EVP_AEAD_CTX_get_iv ( const EVP_AEAD_CTX ctx,
const uint8_t **  out_iv,
size_t *  out_len 
)

Definition at line 259 of file aead.c.

◆ EVP_AEAD_CTX_init()

OPENSSL_EXPORT int EVP_AEAD_CTX_init ( EVP_AEAD_CTX ctx,
const EVP_AEAD aead,
const uint8_t key,
size_t  key_len,
size_t  tag_len,
ENGINE impl 
)

Definition at line 58 of file aead.c.

◆ EVP_AEAD_CTX_init_with_direction()

OPENSSL_EXPORT int EVP_AEAD_CTX_init_with_direction ( EVP_AEAD_CTX ctx,
const EVP_AEAD aead,
const uint8_t key,
size_t  key_len,
size_t  tag_len,
enum evp_aead_direction_t  dir 
)

Definition at line 70 of file aead.c.

◆ EVP_AEAD_CTX_new()

OPENSSL_EXPORT EVP_AEAD_CTX* EVP_AEAD_CTX_new ( const EVP_AEAD aead,
const uint8_t key,
size_t  key_len,
size_t  tag_len 
)

Definition at line 40 of file aead.c.

◆ EVP_AEAD_CTX_open()

OPENSSL_EXPORT int EVP_AEAD_CTX_open ( const EVP_AEAD_CTX ctx,
uint8_t out,
size_t *  out_len,
size_t  max_out_len,
const uint8_t nonce,
size_t  nonce_len,
const uint8_t in,
size_t  in_len,
const uint8_t ad,
size_t  ad_len 
)

Definition at line 183 of file aead.c.

◆ EVP_AEAD_CTX_open_gather()

OPENSSL_EXPORT int EVP_AEAD_CTX_open_gather ( const EVP_AEAD_CTX ctx,
uint8_t out,
const uint8_t nonce,
size_t  nonce_len,
const uint8_t in,
size_t  in_len,
const uint8_t in_tag,
size_t  in_tag_len,
const uint8_t ad,
size_t  ad_len 
)

Definition at line 229 of file aead.c.

◆ EVP_AEAD_CTX_seal()

OPENSSL_EXPORT int EVP_AEAD_CTX_seal ( const EVP_AEAD_CTX ctx,
uint8_t out,
size_t *  out_len,
size_t  max_out_len,
const uint8_t nonce,
size_t  nonce_len,
const uint8_t in,
size_t  in_len,
const uint8_t ad,
size_t  ad_len 
)

Definition at line 115 of file aead.c.

◆ EVP_AEAD_CTX_seal_scatter()

OPENSSL_EXPORT int EVP_AEAD_CTX_seal_scatter ( const EVP_AEAD_CTX ctx,
uint8_t out,
uint8_t out_tag,
size_t *  out_tag_len,
size_t  max_out_tag_len,
const uint8_t nonce,
size_t  nonce_len,
const uint8_t in,
size_t  in_len,
const uint8_t extra_in,
size_t  extra_in_len,
const uint8_t ad,
size_t  ad_len 
)

Definition at line 150 of file aead.c.

◆ EVP_AEAD_CTX_tag_len()

OPENSSL_EXPORT int EVP_AEAD_CTX_tag_len ( const EVP_AEAD_CTX ctx,
size_t *  out_tag_len,
const size_t  in_len,
const size_t  extra_in_len 
)

Definition at line 268 of file aead.c.

◆ EVP_AEAD_CTX_zero()

OPENSSL_EXPORT void EVP_AEAD_CTX_zero ( EVP_AEAD_CTX ctx)

Definition at line 36 of file aead.c.

◆ EVP_aead_des_ede3_cbc_sha1_tls()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_des_ede3_cbc_sha1_tls ( void  )

Definition at line 593 of file e_tls.c.

◆ EVP_aead_des_ede3_cbc_sha1_tls_implicit_iv()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_des_ede3_cbc_sha1_tls_implicit_iv ( void  )

Definition at line 597 of file e_tls.c.

◆ EVP_AEAD_key_length()

OPENSSL_EXPORT size_t EVP_AEAD_key_length ( const EVP_AEAD aead)

Definition at line 28 of file aead.c.

◆ EVP_AEAD_max_overhead()

OPENSSL_EXPORT size_t EVP_AEAD_max_overhead ( const EVP_AEAD aead)

Definition at line 32 of file aead.c.

◆ EVP_AEAD_max_tag_len()

OPENSSL_EXPORT size_t EVP_AEAD_max_tag_len ( const EVP_AEAD aead)

Definition at line 34 of file aead.c.

◆ EVP_AEAD_nonce_length()

OPENSSL_EXPORT size_t EVP_AEAD_nonce_length ( const EVP_AEAD aead)

Definition at line 30 of file aead.c.

◆ EVP_aead_null_sha1_tls()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_null_sha1_tls ( void  )

Definition at line 601 of file e_tls.c.

◆ EVP_aead_xchacha20_poly1305()

const OPENSSL_EXPORT EVP_AEAD* EVP_aead_xchacha20_poly1305 ( void  )

Definition at line 341 of file e_chacha20poly1305.c.

◆ EVP_has_aes_hardware()

OPENSSL_EXPORT int EVP_has_aes_hardware ( void  )

Definition at line 1461 of file e_aes.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02