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

Go to the source code of this file.

Classes

struct  evp_cipher_ctx_st
 
struct  evp_cipher_info_st
 
struct  evp_cipher_st
 

Macros

#define CIPHER_R_AES_KEY_SETUP_FAILED   100
 
#define CIPHER_R_BAD_DECRYPT   101
 
#define CIPHER_R_BAD_KEY_LENGTH   102
 
#define CIPHER_R_BUFFER_TOO_SMALL   103
 
#define CIPHER_R_CTRL_NOT_IMPLEMENTED   104
 
#define CIPHER_R_CTRL_OPERATION_NOT_IMPLEMENTED   105
 
#define CIPHER_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH   106
 
#define CIPHER_R_INITIALIZATION_ERROR   107
 
#define CIPHER_R_INPUT_NOT_INITIALIZED   108
 
#define CIPHER_R_INVALID_AD_SIZE   109
 
#define CIPHER_R_INVALID_KEY_LENGTH   110
 
#define CIPHER_R_INVALID_NONCE   125
 
#define CIPHER_R_INVALID_NONCE_SIZE   111
 
#define CIPHER_R_INVALID_OPERATION   112
 
#define CIPHER_R_IV_TOO_LARGE   113
 
#define CIPHER_R_NO_CIPHER_SET   114
 
#define CIPHER_R_NO_DIRECTION_SET   124
 
#define CIPHER_R_OUTPUT_ALIASES_INPUT   115
 
#define CIPHER_R_TAG_TOO_LARGE   116
 
#define CIPHER_R_TOO_LARGE   117
 
#define CIPHER_R_UNSUPPORTED_AD_SIZE   118
 
#define CIPHER_R_UNSUPPORTED_INPUT_SIZE   119
 
#define CIPHER_R_UNSUPPORTED_KEY_SIZE   120
 
#define CIPHER_R_UNSUPPORTED_NONCE_SIZE   121
 
#define CIPHER_R_UNSUPPORTED_TAG_SIZE   122
 
#define CIPHER_R_WRONG_FINAL_BLOCK_LENGTH   123
 
#define EVP_CIPH_ALWAYS_CALL_INIT   0x80
 
#define EVP_CIPH_CBC_MODE   0x2
 
#define EVP_CIPH_CCM_MODE   (-1)
 
#define EVP_CIPH_CFB_MODE   0x3
 
#define EVP_CIPH_CTR_MODE   0x5
 
#define EVP_CIPH_CTRL_INIT   0x200
 
#define EVP_CIPH_CUSTOM_COPY   0x1000
 
#define EVP_CIPH_CUSTOM_IV   0x100
 
#define EVP_CIPH_ECB_MODE   0x1
 
#define EVP_CIPH_FLAG_AEAD_CIPHER   0x800
 
#define EVP_CIPH_FLAG_CUSTOM_CIPHER   0x400
 
#define EVP_CIPH_FLAG_NON_FIPS_ALLOW   0
 
#define EVP_CIPH_GCM_MODE   0x6
 
#define EVP_CIPH_NO_PADDING   0x800
 
#define EVP_CIPH_OCB_MODE   (-2)
 
#define EVP_CIPH_OFB_MODE   0x4
 
#define EVP_CIPH_STREAM_CIPHER   0x0
 
#define EVP_CIPH_VARIABLE_LENGTH   0x40
 
#define EVP_CIPH_WRAP_MODE   (-3)
 
#define EVP_CIPH_XTS_MODE   0x7
 
#define EVP_CIPHER_CTX_FLAG_WRAP_ALLOW   0
 
#define EVP_CTRL_AEAD_GET_TAG   0x10
 
#define EVP_CTRL_AEAD_SET_IV_FIXED   0x12
 
#define EVP_CTRL_AEAD_SET_IVLEN   0x9
 
#define EVP_CTRL_AEAD_SET_MAC_KEY   0x17
 
#define EVP_CTRL_AEAD_SET_TAG   0x11
 
#define EVP_CTRL_COPY   0x8
 
#define EVP_CTRL_GCM_GET_TAG   EVP_CTRL_AEAD_GET_TAG
 
#define EVP_CTRL_GCM_IV_GEN   0x13
 
#define EVP_CTRL_GCM_SET_IV_FIXED   EVP_CTRL_AEAD_SET_IV_FIXED
 
#define EVP_CTRL_GCM_SET_IV_INV   0x18
 
#define EVP_CTRL_GCM_SET_IVLEN   EVP_CTRL_AEAD_SET_IVLEN
 
#define EVP_CTRL_GCM_SET_TAG   EVP_CTRL_AEAD_SET_TAG
 
#define EVP_CTRL_GET_RC2_KEY_BITS   0x2
 
#define EVP_CTRL_GET_RC5_ROUNDS   0x4
 
#define EVP_CTRL_INIT   0x0
 
#define EVP_CTRL_PBE_PRF_NID   0x7
 
#define EVP_CTRL_RAND_KEY   0x6
 
#define EVP_CTRL_SET_KEY_LENGTH   0x1
 
#define EVP_CTRL_SET_RC2_KEY_BITS   0x3
 
#define EVP_CTRL_SET_RC5_ROUNDS   0x5
 
#define EVP_GCM_TLS_EXPLICIT_IV_LEN   8
 
#define EVP_GCM_TLS_FIXED_IV_LEN   4
 
#define EVP_GCM_TLS_TAG_LEN   16
 
#define EVP_MAX_BLOCK_LENGTH   32
 
#define EVP_MAX_IV_LENGTH   16
 
#define EVP_MAX_KEY_LENGTH   64
 

Typedefs

typedef struct evp_cipher_info_st EVP_CIPHER_INFO
 

Functions

OPENSSL_EXPORT int EVP_add_cipher_alias (const char *a, const char *b)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_128_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_128_cfb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_128_cfb128 (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_128_ctr (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_128_ecb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_128_gcm (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_128_ofb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_192_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_192_cfb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_192_cfb128 (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_192_ctr (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_192_ecb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_192_gcm (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_192_ofb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_cfb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_cfb128 (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_ctr (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_ecb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_gcm (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_ofb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_aes_256_xts (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_bf_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_bf_cfb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_bf_ecb (void)
 
OPENSSL_EXPORT int EVP_BytesToKey (const EVP_CIPHER *type, const EVP_MD *md, const uint8_t *salt, const uint8_t *data, size_t data_len, unsigned count, uint8_t *key, uint8_t *iv)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_cast5_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_cast5_ecb (void)
 
OPENSSL_EXPORT int EVP_Cipher (EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len)
 
OPENSSL_EXPORT unsigned EVP_CIPHER_block_size (const EVP_CIPHER *cipher)
 
OPENSSL_EXPORT unsigned EVP_CIPHER_CTX_block_size (const EVP_CIPHER_CTX *ctx)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_CIPHER_CTX_cipher (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup (EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_copy (EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_ctrl (EVP_CIPHER_CTX *ctx, int command, int arg, void *ptr)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_encrypting (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT uint32_t EVP_CIPHER_CTX_flags (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT void EVP_CIPHER_CTX_free (EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT void * EVP_CIPHER_CTX_get_app_data (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT void EVP_CIPHER_CTX_init (EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT unsigned EVP_CIPHER_CTX_iv_length (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT unsigned EVP_CIPHER_CTX_key_length (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT uint32_t EVP_CIPHER_CTX_mode (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT EVP_CIPHER_CTXEVP_CIPHER_CTX_new (void)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_nid (const EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_reset (EVP_CIPHER_CTX *ctx)
 
OPENSSL_EXPORT void EVP_CIPHER_CTX_set_app_data (EVP_CIPHER_CTX *ctx, void *data)
 
OPENSSL_EXPORT void EVP_CIPHER_CTX_set_flags (const EVP_CIPHER_CTX *ctx, uint32_t flags)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_set_key_length (EVP_CIPHER_CTX *ctx, unsigned key_len)
 
OPENSSL_EXPORT int EVP_CIPHER_CTX_set_padding (EVP_CIPHER_CTX *ctx, int pad)
 
OPENSSL_EXPORT uint32_t EVP_CIPHER_flags (const EVP_CIPHER *cipher)
 
OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length (const EVP_CIPHER *cipher)
 
OPENSSL_EXPORT unsigned EVP_CIPHER_key_length (const EVP_CIPHER *cipher)
 
OPENSSL_EXPORT uint32_t EVP_CIPHER_mode (const EVP_CIPHER *cipher)
 
OPENSSL_EXPORT int EVP_CIPHER_nid (const EVP_CIPHER *cipher)
 
OPENSSL_EXPORT int EVP_CipherFinal (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
OPENSSL_EXPORT int EVP_CipherFinal_ex (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
OPENSSL_EXPORT int EVP_CipherInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv, int enc)
 
OPENSSL_EXPORT int EVP_CipherInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *engine, const uint8_t *key, const uint8_t *iv, int enc)
 
OPENSSL_EXPORT int EVP_CipherUpdate (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len)
 
OPENSSL_EXPORT int EVP_DecryptFinal (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
OPENSSL_EXPORT int EVP_DecryptFinal_ex (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
OPENSSL_EXPORT int EVP_DecryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv)
 
OPENSSL_EXPORT int EVP_DecryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const uint8_t *key, const uint8_t *iv)
 
OPENSSL_EXPORT int EVP_DecryptUpdate (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_des_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_des_ecb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_des_ede (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_des_ede3 (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_des_ede3_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_des_ede3_ecb (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_des_ede_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_enc_null (void)
 
OPENSSL_EXPORT int EVP_EncryptFinal (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
OPENSSL_EXPORT int EVP_EncryptFinal_ex (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len)
 
OPENSSL_EXPORT int EVP_EncryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv)
 
OPENSSL_EXPORT int EVP_EncryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const uint8_t *key, const uint8_t *iv)
 
OPENSSL_EXPORT int EVP_EncryptUpdate (EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_get_cipherbyname (const char *name)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_get_cipherbynid (int nid)
 
const EVP_CIPHEREVP_rc2_40_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_rc2_cbc (void)
 
const OPENSSL_EXPORT EVP_CIPHEREVP_rc4 (void)
 

Macro Definition Documentation

◆ CIPHER_R_AES_KEY_SETUP_FAILED

#define CIPHER_R_AES_KEY_SETUP_FAILED   100

Definition at line 646 of file cipher.h.

◆ CIPHER_R_BAD_DECRYPT

#define CIPHER_R_BAD_DECRYPT   101

Definition at line 647 of file cipher.h.

◆ CIPHER_R_BAD_KEY_LENGTH

#define CIPHER_R_BAD_KEY_LENGTH   102

Definition at line 648 of file cipher.h.

◆ CIPHER_R_BUFFER_TOO_SMALL

#define CIPHER_R_BUFFER_TOO_SMALL   103

Definition at line 649 of file cipher.h.

◆ CIPHER_R_CTRL_NOT_IMPLEMENTED

#define CIPHER_R_CTRL_NOT_IMPLEMENTED   104

Definition at line 650 of file cipher.h.

◆ CIPHER_R_CTRL_OPERATION_NOT_IMPLEMENTED

#define CIPHER_R_CTRL_OPERATION_NOT_IMPLEMENTED   105

Definition at line 651 of file cipher.h.

◆ CIPHER_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH

#define CIPHER_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH   106

Definition at line 652 of file cipher.h.

◆ CIPHER_R_INITIALIZATION_ERROR

#define CIPHER_R_INITIALIZATION_ERROR   107

Definition at line 653 of file cipher.h.

◆ CIPHER_R_INPUT_NOT_INITIALIZED

#define CIPHER_R_INPUT_NOT_INITIALIZED   108

Definition at line 654 of file cipher.h.

◆ CIPHER_R_INVALID_AD_SIZE

#define CIPHER_R_INVALID_AD_SIZE   109

Definition at line 655 of file cipher.h.

◆ CIPHER_R_INVALID_KEY_LENGTH

#define CIPHER_R_INVALID_KEY_LENGTH   110

Definition at line 656 of file cipher.h.

◆ CIPHER_R_INVALID_NONCE

#define CIPHER_R_INVALID_NONCE   125

Definition at line 671 of file cipher.h.

◆ CIPHER_R_INVALID_NONCE_SIZE

#define CIPHER_R_INVALID_NONCE_SIZE   111

Definition at line 657 of file cipher.h.

◆ CIPHER_R_INVALID_OPERATION

#define CIPHER_R_INVALID_OPERATION   112

Definition at line 658 of file cipher.h.

◆ CIPHER_R_IV_TOO_LARGE

#define CIPHER_R_IV_TOO_LARGE   113

Definition at line 659 of file cipher.h.

◆ CIPHER_R_NO_CIPHER_SET

#define CIPHER_R_NO_CIPHER_SET   114

Definition at line 660 of file cipher.h.

◆ CIPHER_R_NO_DIRECTION_SET

#define CIPHER_R_NO_DIRECTION_SET   124

Definition at line 670 of file cipher.h.

◆ CIPHER_R_OUTPUT_ALIASES_INPUT

#define CIPHER_R_OUTPUT_ALIASES_INPUT   115

Definition at line 661 of file cipher.h.

◆ CIPHER_R_TAG_TOO_LARGE

#define CIPHER_R_TAG_TOO_LARGE   116

Definition at line 662 of file cipher.h.

◆ CIPHER_R_TOO_LARGE

#define CIPHER_R_TOO_LARGE   117

Definition at line 663 of file cipher.h.

◆ CIPHER_R_UNSUPPORTED_AD_SIZE

#define CIPHER_R_UNSUPPORTED_AD_SIZE   118

Definition at line 664 of file cipher.h.

◆ CIPHER_R_UNSUPPORTED_INPUT_SIZE

#define CIPHER_R_UNSUPPORTED_INPUT_SIZE   119

Definition at line 665 of file cipher.h.

◆ CIPHER_R_UNSUPPORTED_KEY_SIZE

#define CIPHER_R_UNSUPPORTED_KEY_SIZE   120

Definition at line 666 of file cipher.h.

◆ CIPHER_R_UNSUPPORTED_NONCE_SIZE

#define CIPHER_R_UNSUPPORTED_NONCE_SIZE   121

Definition at line 667 of file cipher.h.

◆ CIPHER_R_UNSUPPORTED_TAG_SIZE

#define CIPHER_R_UNSUPPORTED_TAG_SIZE   122

Definition at line 668 of file cipher.h.

◆ CIPHER_R_WRONG_FINAL_BLOCK_LENGTH

#define CIPHER_R_WRONG_FINAL_BLOCK_LENGTH   123

Definition at line 669 of file cipher.h.

◆ EVP_CIPH_ALWAYS_CALL_INIT

#define EVP_CIPH_ALWAYS_CALL_INIT   0x80

Definition at line 362 of file cipher.h.

◆ EVP_CIPH_CBC_MODE

#define EVP_CIPH_CBC_MODE   0x2

Definition at line 345 of file cipher.h.

◆ EVP_CIPH_CCM_MODE

#define EVP_CIPH_CCM_MODE   (-1)

Definition at line 487 of file cipher.h.

◆ EVP_CIPH_CFB_MODE

#define EVP_CIPH_CFB_MODE   0x3

Definition at line 346 of file cipher.h.

◆ EVP_CIPH_CTR_MODE

#define EVP_CIPH_CTR_MODE   0x5

Definition at line 348 of file cipher.h.

◆ EVP_CIPH_CTRL_INIT

#define EVP_CIPH_CTRL_INIT   0x200

Definition at line 370 of file cipher.h.

◆ EVP_CIPH_CUSTOM_COPY

#define EVP_CIPH_CUSTOM_COPY   0x1000

Definition at line 384 of file cipher.h.

◆ EVP_CIPH_CUSTOM_IV

#define EVP_CIPH_CUSTOM_IV   0x100

Definition at line 366 of file cipher.h.

◆ EVP_CIPH_ECB_MODE

#define EVP_CIPH_ECB_MODE   0x1

Definition at line 344 of file cipher.h.

◆ EVP_CIPH_FLAG_AEAD_CIPHER

#define EVP_CIPH_FLAG_AEAD_CIPHER   0x800

Definition at line 379 of file cipher.h.

◆ EVP_CIPH_FLAG_CUSTOM_CIPHER

#define EVP_CIPH_FLAG_CUSTOM_CIPHER   0x400

Definition at line 374 of file cipher.h.

◆ EVP_CIPH_FLAG_NON_FIPS_ALLOW

#define EVP_CIPH_FLAG_NON_FIPS_ALLOW   0

Definition at line 390 of file cipher.h.

◆ EVP_CIPH_GCM_MODE

#define EVP_CIPH_GCM_MODE   0x6

Definition at line 349 of file cipher.h.

◆ EVP_CIPH_NO_PADDING

#define EVP_CIPH_NO_PADDING   0x800

Definition at line 500 of file cipher.h.

◆ EVP_CIPH_OCB_MODE

#define EVP_CIPH_OCB_MODE   (-2)

Definition at line 488 of file cipher.h.

◆ EVP_CIPH_OFB_MODE

#define EVP_CIPH_OFB_MODE   0x4

Definition at line 347 of file cipher.h.

◆ EVP_CIPH_STREAM_CIPHER

#define EVP_CIPH_STREAM_CIPHER   0x0

Definition at line 343 of file cipher.h.

◆ EVP_CIPH_VARIABLE_LENGTH

#define EVP_CIPH_VARIABLE_LENGTH   0x40

Definition at line 357 of file cipher.h.

◆ EVP_CIPH_WRAP_MODE

#define EVP_CIPH_WRAP_MODE   (-3)

Definition at line 489 of file cipher.h.

◆ EVP_CIPH_XTS_MODE

#define EVP_CIPH_XTS_MODE   0x7

Definition at line 350 of file cipher.h.

◆ EVP_CIPHER_CTX_FLAG_WRAP_ALLOW

#define EVP_CIPHER_CTX_FLAG_WRAP_ALLOW   0

Definition at line 490 of file cipher.h.

◆ EVP_CTRL_AEAD_GET_TAG

#define EVP_CTRL_AEAD_GET_TAG   0x10

Definition at line 513 of file cipher.h.

◆ EVP_CTRL_AEAD_SET_IV_FIXED

#define EVP_CTRL_AEAD_SET_IV_FIXED   0x12

Definition at line 515 of file cipher.h.

◆ EVP_CTRL_AEAD_SET_IVLEN

#define EVP_CTRL_AEAD_SET_IVLEN   0x9

Definition at line 512 of file cipher.h.

◆ EVP_CTRL_AEAD_SET_MAC_KEY

#define EVP_CTRL_AEAD_SET_MAC_KEY   0x17

Definition at line 517 of file cipher.h.

◆ EVP_CTRL_AEAD_SET_TAG

#define EVP_CTRL_AEAD_SET_TAG   0x11

Definition at line 514 of file cipher.h.

◆ EVP_CTRL_COPY

#define EVP_CTRL_COPY   0x8

Definition at line 511 of file cipher.h.

◆ EVP_CTRL_GCM_GET_TAG

#define EVP_CTRL_GCM_GET_TAG   EVP_CTRL_AEAD_GET_TAG

Definition at line 528 of file cipher.h.

◆ EVP_CTRL_GCM_IV_GEN

#define EVP_CTRL_GCM_IV_GEN   0x13

Definition at line 516 of file cipher.h.

◆ EVP_CTRL_GCM_SET_IV_FIXED

#define EVP_CTRL_GCM_SET_IV_FIXED   EVP_CTRL_AEAD_SET_IV_FIXED

Definition at line 530 of file cipher.h.

◆ EVP_CTRL_GCM_SET_IV_INV

#define EVP_CTRL_GCM_SET_IV_INV   0x18

Definition at line 519 of file cipher.h.

◆ EVP_CTRL_GCM_SET_IVLEN

#define EVP_CTRL_GCM_SET_IVLEN   EVP_CTRL_AEAD_SET_IVLEN

Definition at line 527 of file cipher.h.

◆ EVP_CTRL_GCM_SET_TAG

#define EVP_CTRL_GCM_SET_TAG   EVP_CTRL_AEAD_SET_TAG

Definition at line 529 of file cipher.h.

◆ EVP_CTRL_GET_RC2_KEY_BITS

#define EVP_CTRL_GET_RC2_KEY_BITS   0x2

Definition at line 505 of file cipher.h.

◆ EVP_CTRL_GET_RC5_ROUNDS

#define EVP_CTRL_GET_RC5_ROUNDS   0x4

Definition at line 507 of file cipher.h.

◆ EVP_CTRL_INIT

#define EVP_CTRL_INIT   0x0

Definition at line 503 of file cipher.h.

◆ EVP_CTRL_PBE_PRF_NID

#define EVP_CTRL_PBE_PRF_NID   0x7

Definition at line 510 of file cipher.h.

◆ EVP_CTRL_RAND_KEY

#define EVP_CTRL_RAND_KEY   0x6

Definition at line 509 of file cipher.h.

◆ EVP_CTRL_SET_KEY_LENGTH

#define EVP_CTRL_SET_KEY_LENGTH   0x1

Definition at line 504 of file cipher.h.

◆ EVP_CTRL_SET_RC2_KEY_BITS

#define EVP_CTRL_SET_RC2_KEY_BITS   0x3

Definition at line 506 of file cipher.h.

◆ EVP_CTRL_SET_RC5_ROUNDS

#define EVP_CTRL_SET_RC5_ROUNDS   0x5

Definition at line 508 of file cipher.h.

◆ EVP_GCM_TLS_EXPLICIT_IV_LEN

#define EVP_GCM_TLS_EXPLICIT_IV_LEN   8

Definition at line 523 of file cipher.h.

◆ EVP_GCM_TLS_FIXED_IV_LEN

#define EVP_GCM_TLS_FIXED_IV_LEN   4

Definition at line 522 of file cipher.h.

◆ EVP_GCM_TLS_TAG_LEN

#define EVP_GCM_TLS_TAG_LEN   16

Definition at line 524 of file cipher.h.

◆ EVP_MAX_BLOCK_LENGTH

#define EVP_MAX_BLOCK_LENGTH   32

Definition at line 534 of file cipher.h.

◆ EVP_MAX_IV_LENGTH

#define EVP_MAX_IV_LENGTH   16

Definition at line 533 of file cipher.h.

◆ EVP_MAX_KEY_LENGTH

#define EVP_MAX_KEY_LENGTH   64

Definition at line 532 of file cipher.h.

Typedef Documentation

◆ EVP_CIPHER_INFO

Function Documentation

◆ EVP_add_cipher_alias()

OPENSSL_EXPORT int EVP_add_cipher_alias ( const char *  a,
const char *  b 
)

Definition at line 644 of file cipher.c.

◆ EVP_aes_128_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_128_cbc ( void  )

◆ EVP_aes_128_cfb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_128_cfb ( void  )

Definition at line 75 of file decrepit/cfb/cfb.c.

◆ EVP_aes_128_cfb128()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_128_cfb128 ( void  )

Definition at line 74 of file decrepit/cfb/cfb.c.

◆ EVP_aes_128_ctr()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_128_ctr ( void  )

◆ EVP_aes_128_ecb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_128_ecb ( void  )

◆ EVP_aes_128_gcm()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_128_gcm ( void  )

◆ EVP_aes_128_ofb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_128_ofb ( void  )

◆ EVP_aes_192_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_192_cbc ( void  )

◆ EVP_aes_192_cfb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_192_cfb ( void  )

Definition at line 77 of file decrepit/cfb/cfb.c.

◆ EVP_aes_192_cfb128()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_192_cfb128 ( void  )

Definition at line 76 of file decrepit/cfb/cfb.c.

◆ EVP_aes_192_ctr()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_192_ctr ( void  )

◆ EVP_aes_192_ecb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_192_ecb ( void  )

◆ EVP_aes_192_gcm()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_192_gcm ( void  )

◆ EVP_aes_192_ofb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_192_ofb ( void  )

◆ EVP_aes_256_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_cbc ( void  )

◆ EVP_aes_256_cfb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_cfb ( void  )

Definition at line 79 of file decrepit/cfb/cfb.c.

◆ EVP_aes_256_cfb128()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_cfb128 ( void  )

Definition at line 78 of file decrepit/cfb/cfb.c.

◆ EVP_aes_256_ctr()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_ctr ( void  )

◆ EVP_aes_256_ecb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_ecb ( void  )

◆ EVP_aes_256_gcm()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_gcm ( void  )

◆ EVP_aes_256_ofb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_ofb ( void  )

◆ EVP_aes_256_xts()

const OPENSSL_EXPORT EVP_CIPHER* EVP_aes_256_xts ( void  )

Definition at line 238 of file xts.c.

◆ EVP_bf_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_bf_cbc ( void  )

Definition at line 624 of file blowfish.c.

◆ EVP_bf_cfb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_bf_cfb ( void  )

Definition at line 626 of file blowfish.c.

◆ EVP_bf_ecb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_bf_ecb ( void  )

Definition at line 622 of file blowfish.c.

◆ EVP_BytesToKey()

OPENSSL_EXPORT int EVP_BytesToKey ( const EVP_CIPHER type,
const EVP_MD md,
const uint8_t salt,
const uint8_t data,
size_t  data_len,
unsigned  count,
uint8_t key,
uint8_t iv 
)

Definition at line 67 of file derive_key.c.

◆ EVP_cast5_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_cast5_cbc ( void  )

Definition at line 458 of file cast.c.

◆ EVP_cast5_ecb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_cast5_ecb ( void  )

Definition at line 456 of file cast.c.

◆ EVP_Cipher()

OPENSSL_EXPORT int EVP_Cipher ( EVP_CIPHER_CTX ctx,
uint8_t out,
const uint8_t in,
size_t  in_len 
)

Definition at line 486 of file cipher.c.

◆ EVP_CIPHER_block_size()

OPENSSL_EXPORT unsigned EVP_CIPHER_block_size ( const EVP_CIPHER cipher)

Definition at line 594 of file cipher.c.

◆ EVP_CIPHER_CTX_block_size()

OPENSSL_EXPORT unsigned EVP_CIPHER_CTX_block_size ( const EVP_CIPHER_CTX ctx)

Definition at line 520 of file cipher.c.

◆ EVP_CIPHER_CTX_cipher()

const OPENSSL_EXPORT EVP_CIPHER* EVP_CIPHER_CTX_cipher ( const EVP_CIPHER_CTX ctx)

Definition at line 508 of file cipher.c.

◆ EVP_CIPHER_CTX_cleanup()

OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup ( EVP_CIPHER_CTX ctx)

Definition at line 83 of file cipher.c.

◆ EVP_CIPHER_CTX_copy()

OPENSSL_EXPORT int EVP_CIPHER_CTX_copy ( EVP_CIPHER_CTX out,
const EVP_CIPHER_CTX in 
)

Definition at line 100 of file cipher.c.

◆ EVP_CIPHER_CTX_ctrl()

OPENSSL_EXPORT int EVP_CIPHER_CTX_ctrl ( EVP_CIPHER_CTX ctx,
int  command,
int  arg,
void *  ptr 
)

Definition at line 548 of file cipher.c.

◆ EVP_CIPHER_CTX_encrypting()

OPENSSL_EXPORT int EVP_CIPHER_CTX_encrypting ( const EVP_CIPHER_CTX ctx)

Definition at line 516 of file cipher.c.

◆ EVP_CIPHER_CTX_flags()

OPENSSL_EXPORT uint32_t EVP_CIPHER_CTX_flags ( const EVP_CIPHER_CTX ctx)

Definition at line 540 of file cipher.c.

◆ EVP_CIPHER_CTX_free()

OPENSSL_EXPORT void EVP_CIPHER_CTX_free ( EVP_CIPHER_CTX ctx)

Definition at line 93 of file cipher.c.

◆ EVP_CIPHER_CTX_get_app_data()

OPENSSL_EXPORT void* EVP_CIPHER_CTX_get_app_data ( const EVP_CIPHER_CTX ctx)

Definition at line 532 of file cipher.c.

◆ EVP_CIPHER_CTX_init()

OPENSSL_EXPORT void EVP_CIPHER_CTX_init ( EVP_CIPHER_CTX ctx)

Definition at line 71 of file cipher.c.

◆ EVP_CIPHER_CTX_iv_length()

OPENSSL_EXPORT unsigned EVP_CIPHER_CTX_iv_length ( const EVP_CIPHER_CTX ctx)

Definition at line 528 of file cipher.c.

◆ EVP_CIPHER_CTX_key_length()

OPENSSL_EXPORT unsigned EVP_CIPHER_CTX_key_length ( const EVP_CIPHER_CTX ctx)

Definition at line 524 of file cipher.c.

◆ EVP_CIPHER_CTX_mode()

OPENSSL_EXPORT uint32_t EVP_CIPHER_CTX_mode ( const EVP_CIPHER_CTX ctx)

Definition at line 544 of file cipher.c.

◆ EVP_CIPHER_CTX_new()

OPENSSL_EXPORT EVP_CIPHER_CTX* EVP_CIPHER_CTX_new ( void  )

Definition at line 75 of file cipher.c.

◆ EVP_CIPHER_CTX_nid()

OPENSSL_EXPORT int EVP_CIPHER_CTX_nid ( const EVP_CIPHER_CTX ctx)

Definition at line 512 of file cipher.c.

◆ EVP_CIPHER_CTX_reset()

OPENSSL_EXPORT int EVP_CIPHER_CTX_reset ( EVP_CIPHER_CTX ctx)

Definition at line 129 of file cipher.c.

◆ EVP_CIPHER_CTX_set_app_data()

OPENSSL_EXPORT void EVP_CIPHER_CTX_set_app_data ( EVP_CIPHER_CTX ctx,
void *  data 
)

Definition at line 536 of file cipher.c.

◆ EVP_CIPHER_CTX_set_flags()

OPENSSL_EXPORT void EVP_CIPHER_CTX_set_flags ( const EVP_CIPHER_CTX ctx,
uint32_t  flags 
)

Definition at line 648 of file cipher.c.

◆ EVP_CIPHER_CTX_set_key_length()

OPENSSL_EXPORT int EVP_CIPHER_CTX_set_key_length ( EVP_CIPHER_CTX ctx,
unsigned  key_len 
)

Definition at line 578 of file cipher.c.

◆ EVP_CIPHER_CTX_set_padding()

OPENSSL_EXPORT int EVP_CIPHER_CTX_set_padding ( EVP_CIPHER_CTX ctx,
int  pad 
)

Definition at line 569 of file cipher.c.

◆ EVP_CIPHER_flags()

OPENSSL_EXPORT uint32_t EVP_CIPHER_flags ( const EVP_CIPHER cipher)

Definition at line 606 of file cipher.c.

◆ EVP_CIPHER_iv_length()

OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length ( const EVP_CIPHER cipher)

Definition at line 602 of file cipher.c.

◆ EVP_CIPHER_key_length()

OPENSSL_EXPORT unsigned EVP_CIPHER_key_length ( const EVP_CIPHER cipher)

Definition at line 598 of file cipher.c.

◆ EVP_CIPHER_mode()

OPENSSL_EXPORT uint32_t EVP_CIPHER_mode ( const EVP_CIPHER cipher)

Definition at line 610 of file cipher.c.

◆ EVP_CIPHER_nid()

OPENSSL_EXPORT int EVP_CIPHER_nid ( const EVP_CIPHER cipher)

Definition at line 592 of file cipher.c.

◆ EVP_CipherFinal()

OPENSSL_EXPORT int EVP_CipherFinal ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len 
)

Definition at line 632 of file cipher.c.

◆ EVP_CipherFinal_ex()

OPENSSL_EXPORT int EVP_CipherFinal_ex ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len 
)

Definition at line 500 of file cipher.c.

◆ EVP_CipherInit()

OPENSSL_EXPORT int EVP_CipherInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const uint8_t key,
const uint8_t iv,
int  enc 
)

Definition at line 614 of file cipher.c.

◆ EVP_CipherInit_ex()

OPENSSL_EXPORT int EVP_CipherInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE engine,
const uint8_t key,
const uint8_t iv,
int  enc 
)

Definition at line 135 of file cipher.c.

◆ EVP_CipherUpdate()

OPENSSL_EXPORT int EVP_CipherUpdate ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len,
const uint8_t in,
int  in_len 
)

Definition at line 491 of file cipher.c.

◆ EVP_DecryptFinal()

OPENSSL_EXPORT int EVP_DecryptFinal ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len 
)

Definition at line 640 of file cipher.c.

◆ EVP_DecryptFinal_ex()

OPENSSL_EXPORT int EVP_DecryptFinal_ex ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len 
)

Definition at line 427 of file cipher.c.

◆ EVP_DecryptInit()

OPENSSL_EXPORT int EVP_DecryptInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const uint8_t key,
const uint8_t iv 
)

Definition at line 627 of file cipher.c.

◆ EVP_DecryptInit_ex()

OPENSSL_EXPORT int EVP_DecryptInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE impl,
const uint8_t key,
const uint8_t iv 
)

Definition at line 236 of file cipher.c.

◆ EVP_DecryptUpdate()

OPENSSL_EXPORT int EVP_DecryptUpdate ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len,
const uint8_t in,
int  in_len 
)

Definition at line 368 of file cipher.c.

◆ EVP_des_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_des_cbc ( void  )

◆ EVP_des_ecb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_des_ecb ( void  )

◆ EVP_des_ede()

const OPENSSL_EXPORT EVP_CIPHER* EVP_des_ede ( void  )

◆ EVP_des_ede3()

const OPENSSL_EXPORT EVP_CIPHER* EVP_des_ede3 ( void  )

◆ EVP_des_ede3_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_des_ede3_cbc ( void  )

◆ EVP_des_ede3_ecb()

const OPENSSL_EXPORT EVP_CIPHER* EVP_des_ede3_ecb ( void  )

Definition at line 235 of file e_des.c.

◆ EVP_des_ede_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_des_ede_cbc ( void  )

◆ EVP_enc_null()

const OPENSSL_EXPORT EVP_CIPHER* EVP_enc_null ( void  )

Definition at line 85 of file e_null.c.

◆ EVP_EncryptFinal()

OPENSSL_EXPORT int EVP_EncryptFinal ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len 
)

Definition at line 636 of file cipher.c.

◆ EVP_EncryptFinal_ex()

OPENSSL_EXPORT int EVP_EncryptFinal_ex ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len 
)

Definition at line 324 of file cipher.c.

◆ EVP_EncryptInit()

OPENSSL_EXPORT int EVP_EncryptInit ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
const uint8_t key,
const uint8_t iv 
)

Definition at line 622 of file cipher.c.

◆ EVP_EncryptInit_ex()

OPENSSL_EXPORT int EVP_EncryptInit_ex ( EVP_CIPHER_CTX ctx,
const EVP_CIPHER cipher,
ENGINE impl,
const uint8_t key,
const uint8_t iv 
)

Definition at line 231 of file cipher.c.

◆ EVP_EncryptUpdate()

OPENSSL_EXPORT int EVP_EncryptUpdate ( EVP_CIPHER_CTX ctx,
uint8_t out,
int out_len,
const uint8_t in,
int  in_len 
)

Definition at line 250 of file cipher.c.

◆ EVP_get_cipherbyname()

const OPENSSL_EXPORT EVP_CIPHER* EVP_get_cipherbyname ( const char *  name)

Definition at line 108 of file cipher_extra.c.

◆ EVP_get_cipherbynid()

const OPENSSL_EXPORT EVP_CIPHER* EVP_get_cipherbynid ( int  nid)

Definition at line 99 of file cipher_extra.c.

◆ EVP_rc2_40_cbc()

const EVP_CIPHER* EVP_rc2_40_cbc ( void  )

Definition at line 442 of file e_rc2.c.

◆ EVP_rc2_cbc()

const OPENSSL_EXPORT EVP_CIPHER* EVP_rc2_cbc ( void  )

Definition at line 460 of file e_rc2.c.

◆ EVP_rc4()

const OPENSSL_EXPORT EVP_CIPHER* EVP_rc4 ( void  )

Definition at line 87 of file e_rc4.c.



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