Functions | Variables
cipher_extra.c File Reference
#include <openssl/cipher.h>
#include <assert.h>
#include <string.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/nid.h>
#include "internal.h"
#include "../internal.h"
Include dependency graph for cipher_extra.c:

Go to the source code of this file.

Functions

const EVP_CIPHEREVP_get_cipherbyname (const char *name)
 
const EVP_CIPHEREVP_get_cipherbynid (int nid)
 

Variables

struct {
   const EVP_CIPHER *(*   func )(void)
 
   const char *   name
 
   int   nid
 
kCiphers []
 

Function Documentation

◆ EVP_get_cipherbyname()

const EVP_CIPHER* EVP_get_cipherbyname ( const char *  name)

Definition at line 108 of file cipher_extra.c.

◆ EVP_get_cipherbynid()

const EVP_CIPHER* EVP_get_cipherbynid ( int  nid)

Definition at line 99 of file cipher_extra.c.

Variable Documentation

◆ func

const EVP_CIPHER*(* func) (void)

Definition at line 73 of file cipher_extra.c.

◆ kCiphers

const { ... } kCiphers[]
Initial value:
= {
{NID_aes_128_cbc, "aes-128-cbc", EVP_aes_128_cbc},
{NID_aes_128_ctr, "aes-128-ctr", EVP_aes_128_ctr},
{NID_aes_128_ecb, "aes-128-ecb", EVP_aes_128_ecb},
{NID_aes_128_gcm, "aes-128-gcm", EVP_aes_128_gcm},
{NID_aes_192_cbc, "aes-192-cbc", EVP_aes_192_cbc},
{NID_aes_192_ctr, "aes-192-ctr", EVP_aes_192_ctr},
{NID_aes_192_ecb, "aes-192-ecb", EVP_aes_192_ecb},
{NID_aes_192_gcm, "aes-192-gcm", EVP_aes_192_gcm},
{NID_aes_256_cbc, "aes-256-cbc", EVP_aes_256_cbc},
{NID_aes_256_ctr, "aes-256-ctr", EVP_aes_256_ctr},
{NID_aes_256_ecb, "aes-256-ecb", EVP_aes_256_ecb},
{NID_aes_256_gcm, "aes-256-gcm", EVP_aes_256_gcm},
{NID_des_cbc, "des-cbc", EVP_des_cbc},
{NID_des_ecb, "des-ecb", EVP_des_ecb},
{NID_des_ede_cbc, "des-ede-cbc", EVP_des_ede_cbc},
{NID_des_ede3_cbc, "des-ede3-cbc", EVP_des_ede3_cbc},
{NID_rc2_cbc, "rc2-cbc", EVP_rc2_cbc},
{NID_rc4, "rc4", EVP_rc4},
}

◆ name

const char* name

Definition at line 72 of file cipher_extra.c.

◆ nid

int nid

Definition at line 71 of file cipher_extra.c.

NID_aes_128_gcm
#define NID_aes_128_gcm
Definition: nid.h:3963
EVP_aes_192_ofb
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_192_ofb(void)
EVP_aes_192_ecb
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_192_ecb(void)
NID_aes_128_cbc
#define NID_aes_128_cbc
Definition: nid.h:1933
NID_aes_256_ecb
#define NID_aes_256_ecb
Definition: nid.h:1968
EVP_aes_256_ecb
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_256_ecb(void)
NID_des_cbc
#define NID_des_cbc
Definition: nid.h:229
EVP_des_cbc
const OPENSSL_EXPORT EVP_CIPHER * EVP_des_cbc(void)
EVP_aes_256_cbc
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_256_cbc(void)
EVP_rc4
#define EVP_rc4
Definition: boringssl_prefix_symbols.h:1746
EVP_aes_192_cbc
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_192_cbc(void)
EVP_aes_128_ctr
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_128_ctr(void)
EVP_aes_128_gcm
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_128_gcm(void)
NID_aes_192_ecb
#define NID_aes_192_ecb
Definition: nid.h:1948
NID_des_ede_cbc
#define NID_des_ede_cbc
Definition: nid.h:283
NID_aes_192_gcm
#define NID_aes_192_gcm
Definition: nid.h:3977
EVP_rc2_cbc
#define EVP_rc2_cbc
Definition: boringssl_prefix_symbols.h:1745
EVP_des_ecb
const OPENSSL_EXPORT EVP_CIPHER * EVP_des_ecb(void)
EVP_aes_192_ctr
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_192_ctr(void)
EVP_aes_256_ctr
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_256_ctr(void)
NID_des_ecb
#define NID_des_ecb
Definition: nid.h:219
EVP_aes_128_ecb
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_128_ecb(void)
NID_aes_256_cbc
#define NID_aes_256_cbc
Definition: nid.h:1973
NID_aes_192_ofb128
#define NID_aes_192_ofb128
Definition: nid.h:1958
EVP_des_ede_cbc
const OPENSSL_EXPORT EVP_CIPHER * EVP_des_ede_cbc(void)
NID_des_ede3_cbc
#define NID_des_ede3_cbc
Definition: nid.h:287
EVP_des_ede3_cbc
const OPENSSL_EXPORT EVP_CIPHER * EVP_des_ede3_cbc(void)
NID_aes_256_ofb128
#define NID_aes_256_ofb128
Definition: nid.h:1978
NID_aes_192_cbc
#define NID_aes_192_cbc
Definition: nid.h:1953
EVP_des_ede
const OPENSSL_EXPORT EVP_CIPHER * EVP_des_ede(void)
NID_aes_256_gcm
#define NID_aes_256_gcm
Definition: nid.h:3991
NID_aes_192_ctr
#define NID_aes_192_ctr
Definition: nid.h:4009
NID_rc4
#define NID_rc4
Definition: nid.h:110
NID_aes_128_ofb128
#define NID_aes_128_ofb128
Definition: nid.h:1938
NID_des_ede_ecb
#define NID_des_ede_ecb
Definition: nid.h:234
NID_aes_256_ctr
#define NID_aes_256_ctr
Definition: nid.h:4013
NID_aes_128_ctr
#define NID_aes_128_ctr
Definition: nid.h:4005
EVP_aes_256_gcm
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_256_gcm(void)
NID_rc2_cbc
#define NID_rc2_cbc
Definition: nid.h:256
EVP_aes_128_ofb
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_128_ofb(void)
EVP_aes_192_gcm
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_192_gcm(void)
EVP_aes_256_ofb
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_256_ofb(void)
NID_aes_128_ecb
#define NID_aes_128_ecb
Definition: nid.h:1928
EVP_aes_128_cbc
const OPENSSL_EXPORT EVP_CIPHER * EVP_aes_128_cbc(void)


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