Home
last modified time | relevance | path

Searched refs:EVP_CIPHER (Results 1 – 25 of 268) sorted by relevance

1234567891011

/freebsd/crypto/openssl/crypto/evp/
H A De_old.c23 const EVP_CIPHER *EVP_bf_cfb(void);
24 const EVP_CIPHER *EVP_bf_cfb(void) in EVP_bf_cfb()
32 const EVP_CIPHER *EVP_des_cfb(void);
33 const EVP_CIPHER *EVP_des_cfb(void) in EVP_des_cfb()
39 const EVP_CIPHER *EVP_des_ede3_cfb(void);
40 const EVP_CIPHER *EVP_des_ede3_cfb(void) in EVP_des_ede3_cfb()
46 const EVP_CIPHER *EVP_des_ede_cfb(void);
47 const EVP_CIPHER *EVP_des_ede_cfb(void) in EVP_des_ede_cfb()
55 const EVP_CIPHER *EVP_idea_cfb(void);
56 const EVP_CIPHER *EVP_idea_cfb(void) in EVP_idea_cfb()
[all …]
H A Dcmeth_lib.c23 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len) in EVP_CIPHER_meth_new()
25 EVP_CIPHER *cipher = evp_cipher_new(); in EVP_CIPHER_meth_new()
36 EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher) in EVP_CIPHER_meth_dup()
38 EVP_CIPHER *to = NULL; in EVP_CIPHER_meth_dup()
59 void EVP_CIPHER_meth_free(EVP_CIPHER *cipher) in EVP_CIPHER_meth_free()
67 int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len) in EVP_CIPHER_meth_set_iv_length()
76 int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags) in EVP_CIPHER_meth_set_flags()
85 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size) in EVP_CIPHER_meth_set_impl_ctx_size()
94 int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_init()
107 int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_do_cipher()
[all …]
H A Dnames.c19 int EVP_add_cipher(const EVP_CIPHER *c) in EVP_add_cipher()
62 const EVP_CIPHER **cipher = data; in cipher_from_name()
67 *cipher = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in cipher_from_name()
70 const EVP_CIPHER *EVP_get_cipherbyname(const char *name) in EVP_get_cipherbyname()
75 const EVP_CIPHER *evp_get_cipherbyname_ex(OSSL_LIB_CTX *libctx, in evp_get_cipherbyname_ex()
78 const EVP_CIPHER *cp; in evp_get_cipherbyname_ex()
86 cp = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in evp_get_cipherbyname_ex()
101 EVP_CIPHER *fetched_cipher; in evp_get_cipherbyname_ex()
199 void (*fn)(const EVP_CIPHER *ciph,
209 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); in do_all_cipher_fn()
[all …]
H A Devp_local.h36 const EVP_CIPHER *cipher;
61 EVP_CIPHER *fetched_cipher;
270 const EVP_CIPHER *c, const EVP_MD *md,
274 const EVP_CIPHER *c, const EVP_MD *md,
342 EVP_CIPHER *evp_cipher_fetch_from_prov(OSSL_PROVIDER *prov,
354 EVP_CIPHER *evp_cipher_new(void);
374 int evp_do_ciph_getparams(const EVP_CIPHER *ciph, OSSL_PARAM params[]);
375 int evp_do_ciph_ctx_getparams(const EVP_CIPHER *ciph, void *provctx,
377 int evp_do_ciph_ctx_setparams(const EVP_CIPHER *ciph, void *provctx,
406 void evp_cipher_free_int(EVP_CIPHER *md);
[all …]
H A De_rc4.c37 static const EVP_CIPHER r4_cipher = {
52 static const EVP_CIPHER r4_40_cipher = {
67 const EVP_CIPHER *EVP_rc4(void) in EVP_rc4()
72 const EVP_CIPHER *EVP_rc4_40(void) in EVP_rc4_40()
H A Devp_enc.c93 const EVP_CIPHER *cipher, in evp_cipher_init_internal()
192 EVP_CIPHER *provciph = EVP_CIPHER_fetch(NULL, in evp_cipher_init_internal()
211 if (!EVP_CIPHER_up_ref((EVP_CIPHER *)cipher)) { in evp_cipher_init_internal()
218 ctx->fetched_cipher = (EVP_CIPHER *)cipher; in evp_cipher_init_internal()
362 const EVP_CIPHER *c = ENGINE_get_cipher(impl, cipher->nid); in evp_cipher_init_internal()
482 const EVP_CIPHER *cipher, in evp_cipher_init_skey_internal()
544 if (!EVP_CIPHER_up_ref((EVP_CIPHER *)cipher)) { in evp_cipher_init_skey_internal()
551 ctx->fetched_cipher = (EVP_CIPHER *)cipher; in evp_cipher_init_skey_internal()
627 int EVP_CipherInit_SKEY(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_SKEY()
634 int EVP_CipherInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex2()
[all …]
H A Devp_lib.c85 const EVP_CIPHER *cipher; in evp_cipher_param_to_asn1_ex()
156 const EVP_CIPHER *cipher; in evp_cipher_asn1_to_param_ex()
254 int EVP_CIPHER_get_type(const EVP_CIPHER *cipher) in EVP_CIPHER_get_type()
319 int evp_cipher_cache_constants(EVP_CIPHER *cipher) in evp_cipher_cache_constants()
366 int EVP_CIPHER_get_block_size(const EVP_CIPHER *cipher) in EVP_CIPHER_get_block_size()
376 int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *e) in EVP_CIPHER_impl_ctx_size()
423 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_cipher()
431 const EVP_CIPHER *EVP_CIPHER_CTX_get0_cipher(const EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get0_cipher()
438 EVP_CIPHER *EVP_CIPHER_CTX_get1_cipher(EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_get1_cipher()
440 EVP_CIPHER *cipher; in EVP_CIPHER_CTX_get1_cipher()
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Devp.h251 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
253 EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
255 void EVP_CIPHER_meth_free(EVP_CIPHER *cipher);
257 int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len);
259 int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags);
261 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
263 int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher,
269 int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher,
275 int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher,
278 int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher,
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DEVP_CIPHER_meth_new.pod14 - Routines to build up EVP_CIPHER methods
24 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
25 EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
26 void EVP_CIPHER_meth_free(EVP_CIPHER *cipher);
28 int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len);
29 int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags);
30 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
31 int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher,
36 int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher,
41 int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher,
[all …]
H A DEVP_rc2_cbc.pod18 const EVP_CIPHER *EVP_rc2_cbc(void);
19 const EVP_CIPHER *EVP_rc2_cfb(void);
20 const EVP_CIPHER *EVP_rc2_cfb64(void);
21 const EVP_CIPHER *EVP_rc2_ecb(void);
22 const EVP_CIPHER *EVP_rc2_ofb(void);
23 const EVP_CIPHER *EVP_rc2_40_cbc(void);
24 const EVP_CIPHER *EVP_rc2_64_cbc(void);
58 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-RC2(7)> instead.
63 These functions return an B<EVP_CIPHER> structure that contains the
65 details of the B<EVP_CIPHER> structure.
H A DEVP_sm4_cbc.pod17 const EVP_CIPHER *EVP_sm4_cbc(void);
18 const EVP_CIPHER *EVP_sm4_ecb(void);
19 const EVP_CIPHER *EVP_sm4_cfb(void);
20 const EVP_CIPHER *EVP_sm4_cfb128(void);
21 const EVP_CIPHER *EVP_sm4_ofb(void);
22 const EVP_CIPHER *EVP_sm4_ctr(void);
48 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-SM4(7)> instead.
53 These functions return a B<EVP_CIPHER> structure that contains the
55 details of the B<EVP_CIPHER> structure.
H A DEVP_cast5_cbc.pod16 const EVP_CIPHER *EVP_cast5_cbc(void);
17 const EVP_CIPHER *EVP_cast5_cfb(void);
18 const EVP_CIPHER *EVP_cast5_cfb64(void);
19 const EVP_CIPHER *EVP_cast5_ecb(void);
20 const EVP_CIPHER *EVP_cast5_ofb(void);
44 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-CAST(7)> instead.
49 These functions return an B<EVP_CIPHER> structure that contains the
51 details of the B<EVP_CIPHER> structure.
H A DEVP_idea_cbc.pod16 const EVP_CIPHER *EVP_idea_cbc(void);
17 const EVP_CIPHER *EVP_idea_cfb(void);
18 const EVP_CIPHER *EVP_idea_cfb64(void);
19 const EVP_CIPHER *EVP_idea_ecb(void);
20 const EVP_CIPHER *EVP_idea_ofb(void);
42 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-IDEA(7)> instead.
47 These functions return an B<EVP_CIPHER> structure that contains the
49 details of the B<EVP_CIPHER> structure.
H A DEVP_bf_cbc.pod16 const EVP_CIPHER *EVP_bf_cbc(void);
17 const EVP_CIPHER *EVP_bf_cfb(void);
18 const EVP_CIPHER *EVP_bf_cfb64(void);
19 const EVP_CIPHER *EVP_bf_ecb(void);
20 const EVP_CIPHER *EVP_bf_ofb(void);
44 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-BLOWFISH(7)> instead.
49 These functions return an B<EVP_CIPHER> structure that contains the
51 details of the B<EVP_CIPHER> structure.
H A DEVP_seed_cbc.pod16 const EVP_CIPHER *EVP_seed_cbc(void);
17 const EVP_CIPHER *EVP_seed_cfb(void);
18 const EVP_CIPHER *EVP_seed_cfb128(void);
19 const EVP_CIPHER *EVP_seed_ecb(void);
20 const EVP_CIPHER *EVP_seed_ofb(void);
44 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-SEED(7)> instead.
49 These functions return an B<EVP_CIPHER> structure that contains the
51 details of the B<EVP_CIPHER> structure.
H A DEVP_rc5_32_12_16_cbc.pod16 const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void);
17 const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void);
18 const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void);
19 const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void);
20 const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void);
63 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-RC5(7)> instead.
68 These functions return an B<EVP_CIPHER> structure that contains the
70 details of the B<EVP_CIPHER> structure.
H A DEVP_rc4.pod14 const EVP_CIPHER *EVP_rc4(void);
15 const EVP_CIPHER *EVP_rc4_40(void);
16 const EVP_CIPHER *EVP_rc4_hmac_md5(void);
50 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-RC4(7)> instead.
55 These functions return an B<EVP_CIPHER> structure that contains the
57 details of the B<EVP_CIPHER> structure.
H A DEVP_chacha20.pod13 const EVP_CIPHER *EVP_chacha20(void);
14 const EVP_CIPHER *EVP_chacha20_poly1305(void);
47 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-CHACHA(7)> instead.
55 These functions return an B<EVP_CIPHER> structure that contains the
57 details of the B<EVP_CIPHER> structure.
H A DEVP_desx_cbc.pod12 const EVP_CIPHER *EVP_desx_cbc(void);
34 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-DES(7)> instead.
39 These functions return an B<EVP_CIPHER> structure that contains the
41 details of the B<EVP_CIPHER> structure.
/freebsd/secure/lib/libcrypto/man/man7/
H A DMakefile3 MAN+= EVP_CIPHER-AES.7
4 MAN+= EVP_CIPHER-ARIA.7
5 MAN+= EVP_CIPHER-BLOWFISH.7
6 MAN+= EVP_CIPHER-CAMELLIA.7
7 MAN+= EVP_CIPHER-CAST.7
8 MAN+= EVP_CIPHER-CHACHA.7
9 MAN+= EVP_CIPHER-DES.7
10 MAN+= EVP_CIPHER-IDEA.7
11 MAN+= EVP_CIPHER-NULL.7
12 MAN+= EVP_CIPHER-RC2.7
[all …]
/freebsd/crypto/openssl/doc/man7/
H A DOSSL_PROVIDER-legacy.pod63 =item Blowfish, see L<EVP_CIPHER-BLOWFISH(7)>
65 =item CAST, see L<EVP_CIPHER-CAST(7)>
67 =item DES, see L<EVP_CIPHER-DES(7)>
72 =item IDEA, see L<EVP_CIPHER-IDEA(7)>
74 =item RC2, see L<EVP_CIPHER-RC2(7)>
76 =item RC4, see L<EVP_CIPHER-RC4(7)>
78 =item RC5, see L<EVP_CIPHER-RC5(7)>
82 =item SEED, see L<EVP_CIPHER-SEED(7)>
H A DEVP_CIPHER-NULL.pod5 EVP_CIPHER-NULL - The NULL EVP_CIPHER implementation
9 Support for a NULL symmetric encryption using the B<EVP_CIPHER> API.
27 =head3 Gettable EVP_CIPHER parameters
29 See L<EVP_EncryptInit(3)/Gettable EVP_CIPHER parameters>
/freebsd/crypto/openssl/include/crypto/
H A Dsiv.h15 EVP_CIPHER *cbc, EVP_CIPHER *ctr,
18 const EVP_CIPHER *cbc, const EVP_CIPHER *ctr,
/freebsd/crypto/openssl/crypto/engine/
H A DREADME.md15 However, "EVP_CIPHER" underlies the motivation and design of ENGINE_TABLE so
16 I'll mention a bit about that first. EVP_CIPHER (and most of this applies
25 const EVP_CIPHER *cipher = EVP_des_cbc();
39 The important point about this is that EVP_CIPHER definitions and structures are
42 counted. One an EVP_CIPHER is exposed to the caller, neither it nor anything it
45 However existing API usage cannot be made to understand when an EVP_CIPHER
48 The other problem with the existing API w.r.t. to hooking EVP_CIPHER support
51 they are effectively the same thing, an "EVP_CIPHER" pointer. The problem with
67 continue with this approach for EVP_CIPHER support (even if it *was* possible)
73 for EVP_CIPHER, and EVP_MD.
[all …]
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_pk8.c22 int nid, const EVP_CIPHER *enc,
29 int nid, const EVP_CIPHER *enc,
48 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
55 int i2d_PKCS8PrivateKey_bio(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
70 const EVP_CIPHER *enc, const char *kstr, int klen, in do_pk8pkey()
207 int i2d_PKCS8PrivateKey_fp(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp()
228 int PEM_write_PKCS8PrivateKey(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PKCS8PrivateKey()
236 const EVP_CIPHER *enc, const char *kstr, int klen, in do_pk8pkey_fp()

1234567891011