Functions
third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/internal.h File Reference
#include <stdlib.h>
#include <openssl/cpu.h>
Include dependency graph for third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

OPENSSL_INLINE void aes_hw_cbc_encrypt (const uint8_t *in, uint8_t *out, size_t length, const AES_KEY *key, uint8_t *ivec, int enc)
 
OPENSSL_INLINE void aes_hw_ctr32_encrypt_blocks (const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, const uint8_t ivec[16])
 
OPENSSL_INLINE void aes_hw_decrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key)
 
OPENSSL_INLINE void aes_hw_encrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key)
 
OPENSSL_INLINE int aes_hw_set_decrypt_key (const uint8_t *user_key, int bits, AES_KEY *key)
 
OPENSSL_INLINE int aes_hw_set_encrypt_key (const uint8_t *user_key, int bits, AES_KEY *key)
 
void aes_nohw_cbc_encrypt (const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t *ivec, const int enc)
 
void aes_nohw_ctr32_encrypt_blocks (const uint8_t *in, uint8_t *out, size_t blocks, const AES_KEY *key, const uint8_t ivec[16])
 
void aes_nohw_decrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key)
 
void aes_nohw_encrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key)
 
int aes_nohw_set_decrypt_key (const uint8_t *key, unsigned bits, AES_KEY *aeskey)
 
int aes_nohw_set_encrypt_key (const uint8_t *key, unsigned bits, AES_KEY *aeskey)
 
OPENSSL_INLINE char bsaes_capable (void)
 
OPENSSL_INLINE void bsaes_cbc_encrypt (const uint8_t *in, uint8_t *out, size_t length, const AES_KEY *key, uint8_t ivec[16], int enc)
 
OPENSSL_INLINE void bsaes_ctr32_encrypt_blocks (const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, const uint8_t ivec[16])
 
OPENSSL_INLINE int hwaes_capable (void)
 
OPENSSL_INLINE char vpaes_capable (void)
 
OPENSSL_INLINE void vpaes_cbc_encrypt (const uint8_t *in, uint8_t *out, size_t length, const AES_KEY *key, uint8_t *ivec, int enc)
 
OPENSSL_INLINE void vpaes_decrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key)
 
OPENSSL_INLINE void vpaes_decrypt_key_to_bsaes (AES_KEY *out_bsaes, const AES_KEY *vpaes)
 
OPENSSL_INLINE void vpaes_encrypt (const uint8_t *in, uint8_t *out, const AES_KEY *key)
 
OPENSSL_INLINE void vpaes_encrypt_key_to_bsaes (AES_KEY *out_bsaes, const AES_KEY *vpaes)
 
OPENSSL_INLINE int vpaes_set_decrypt_key (const uint8_t *userKey, int bits, AES_KEY *key)
 
OPENSSL_INLINE int vpaes_set_encrypt_key (const uint8_t *userKey, int bits, AES_KEY *key)
 

Function Documentation

◆ aes_hw_cbc_encrypt()

OPENSSL_INLINE void aes_hw_cbc_encrypt ( const uint8_t in,
uint8_t out,
size_t  length,
const AES_KEY key,
uint8_t ivec,
int  enc 
)

◆ aes_hw_ctr32_encrypt_blocks()

OPENSSL_INLINE void aes_hw_ctr32_encrypt_blocks ( const uint8_t in,
uint8_t out,
size_t  len,
const AES_KEY key,
const uint8_t  ivec[16] 
)

◆ aes_hw_decrypt()

OPENSSL_INLINE void aes_hw_decrypt ( const uint8_t in,
uint8_t out,
const AES_KEY key 
)

◆ aes_hw_encrypt()

OPENSSL_INLINE void aes_hw_encrypt ( const uint8_t in,
uint8_t out,
const AES_KEY key 
)

◆ aes_hw_set_decrypt_key()

OPENSSL_INLINE int aes_hw_set_decrypt_key ( const uint8_t user_key,
int  bits,
AES_KEY key 
)

◆ aes_hw_set_encrypt_key()

OPENSSL_INLINE int aes_hw_set_encrypt_key ( const uint8_t user_key,
int  bits,
AES_KEY key 
)

◆ aes_nohw_cbc_encrypt()

void aes_nohw_cbc_encrypt ( const uint8_t in,
uint8_t out,
size_t  len,
const AES_KEY key,
uint8_t ivec,
const int  enc 
)

Definition at line 1220 of file aes_nohw.c.

◆ aes_nohw_ctr32_encrypt_blocks()

void aes_nohw_ctr32_encrypt_blocks ( const uint8_t in,
uint8_t out,
size_t  blocks,
const AES_KEY key,
const uint8_t  ivec[16] 
)

Definition at line 1173 of file aes_nohw.c.

◆ aes_nohw_decrypt()

void aes_nohw_decrypt ( const uint8_t in,
uint8_t out,
const AES_KEY key 
)

Definition at line 1153 of file aes_nohw.c.

◆ aes_nohw_encrypt()

void aes_nohw_encrypt ( const uint8_t in,
uint8_t out,
const AES_KEY key 
)

Definition at line 1144 of file aes_nohw.c.

◆ aes_nohw_set_decrypt_key()

int aes_nohw_set_decrypt_key ( const uint8_t key,
unsigned  bits,
AES_KEY aeskey 
)

Definition at line 1139 of file aes_nohw.c.

◆ aes_nohw_set_encrypt_key()

int aes_nohw_set_encrypt_key ( const uint8_t key,
unsigned  bits,
AES_KEY aeskey 
)

Definition at line 1123 of file aes_nohw.c.

◆ bsaes_capable()

OPENSSL_INLINE char bsaes_capable ( void  )

◆ bsaes_cbc_encrypt()

OPENSSL_INLINE void bsaes_cbc_encrypt ( const uint8_t in,
uint8_t out,
size_t  length,
const AES_KEY key,
uint8_t  ivec[16],
int  enc 
)

◆ bsaes_ctr32_encrypt_blocks()

OPENSSL_INLINE void bsaes_ctr32_encrypt_blocks ( const uint8_t in,
uint8_t out,
size_t  len,
const AES_KEY key,
const uint8_t  ivec[16] 
)

◆ hwaes_capable()

OPENSSL_INLINE int hwaes_capable ( void  )

◆ vpaes_capable()

OPENSSL_INLINE char vpaes_capable ( void  )

◆ vpaes_cbc_encrypt()

OPENSSL_INLINE void vpaes_cbc_encrypt ( const uint8_t in,
uint8_t out,
size_t  length,
const AES_KEY key,
uint8_t ivec,
int  enc 
)

◆ vpaes_decrypt()

OPENSSL_INLINE void vpaes_decrypt ( const uint8_t in,
uint8_t out,
const AES_KEY key 
)

◆ vpaes_decrypt_key_to_bsaes()

OPENSSL_INLINE void vpaes_decrypt_key_to_bsaes ( AES_KEY out_bsaes,
const AES_KEY vpaes 
)

◆ vpaes_encrypt()

OPENSSL_INLINE void vpaes_encrypt ( const uint8_t in,
uint8_t out,
const AES_KEY key 
)

◆ vpaes_encrypt_key_to_bsaes()

OPENSSL_INLINE void vpaes_encrypt_key_to_bsaes ( AES_KEY out_bsaes,
const AES_KEY vpaes 
)

◆ vpaes_set_decrypt_key()

OPENSSL_INLINE int vpaes_set_decrypt_key ( const uint8_t userKey,
int  bits,
AES_KEY key 
)

◆ vpaes_set_encrypt_key()

OPENSSL_INLINE int vpaes_set_encrypt_key ( const uint8_t userKey,
int  bits,
AES_KEY key 
)


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