Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/openssl/engines/asm/
H A De_padlock-x86_64.pl332 .L${mode}_reenter:
346 ja .L${mode}_loop
362 .L${mode}_loop:
457 .L${mode}_break:
462 je .L${mode}_done
466 .L${mode}_bzero:
472 .L${mode}_done:
477 .L${mode}_aligned:
558 .L${mode}_exit:
561 .L${mode}_abort:
[all …]
H A De_padlock-x86.pl187 my ($mode,$opcode) = @_;
207 if ($mode eq "ctr32") {
260 if ($mode eq "ctr32") {
301 if ($mode eq "ctr32") {
304 &set_label("${mode}_xor");
310 &jb (&label("${mode}_xor"));
351 if ($mode ne "ctr32") {
357 &set_label("${mode}_bzero");
363 &set_label("${mode}_done");
386 if ($mode ne "ecb") {
[all …]
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_tls13_kdf.txt22 Ctrl.mode = mode:EXTRACT_ONLY
28 Ctrl.mode = mode:EXPAND_ONLY
37 Ctrl.mode = mode:EXPAND_ONLY
46 Ctrl.mode = mode:EXTRACT_ONLY
55 Ctrl.mode = mode:EXPAND_ONLY
64 Ctrl.mode = mode:EXPAND_ONLY
73 Ctrl.mode = mode:EXTRACT_ONLY
81 Ctrl.mode = mode:EXPAND_ONLY
90 Ctrl.mode = mode:EXPAND_ONLY
99 Ctrl.mode = mode:EXPAND_ONLY
[all …]
H A Devpkdf_kbkdf_counter.txt28 Ctrl.mode = mode:COUNTER
41 Ctrl.mode = mode:COUNTER
54 Ctrl.mode = mode:COUNTER
67 Ctrl.mode = mode:COUNTER
85 Ctrl.mode = mode:COUNTER
98 Ctrl.mode = mode:COUNTER
111 Ctrl.mode = mode:COUNTER
124 Ctrl.mode = mode:COUNTER
142 Ctrl.mode = mode:COUNTER
155 Ctrl.mode = mode:COUNTER
[all …]
H A Devpkdf_hkdf.txt24 Ctrl.mode = mode:EXTRACT_ONLY
31 Ctrl.mode = mode:EXPAND_ONLY
45 Ctrl.mode = mode:EXTRACT_ONLY
52 Ctrl.mode = mode:EXPAND_ONLY
66 Ctrl.mode = mode:EXTRACT_ONLY
74 Ctrl.mode = mode:EXPAND_ONLY
90 Ctrl.mode = mode:EXTRACT_ONLY
97 Ctrl.mode = mode:EXPAND_ONLY
118 Ctrl.mode = mode:EXPAND_ONLY
139 Ctrl.mode = mode:EXPAND_ONLY
[all …]
H A Devppkey_kdf_hkdf.txt24 Ctrl.mode = mode:EXTRACT_ONLY
31 Ctrl.mode = mode:EXPAND_ONLY
45 Ctrl.mode = mode:EXTRACT_ONLY
52 Ctrl.mode = mode:EXPAND_ONLY
66 Ctrl.mode = mode:EXTRACT_ONLY
74 Ctrl.mode = mode:EXPAND_ONLY
90 Ctrl.mode = mode:EXTRACT_ONLY
97 Ctrl.mode = mode:EXPAND_ONLY
118 Ctrl.mode = mode:EXPAND_ONLY
139 Ctrl.mode = mode:EXPAND_ONLY
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_sm4_hw.c20 || (ctx->mode != EVP_CIPH_ECB_MODE in cipher_hw_sm4_initkey()
28 if (ctx->mode == EVP_CIPH_CBC_MODE) in cipher_hw_sm4_initkey()
33 if (ctx->mode == EVP_CIPH_ECB_MODE) in cipher_hw_sm4_initkey()
38 if (ctx->mode == EVP_CIPH_CTR_MODE) in cipher_hw_sm4_initkey()
50 if (ctx->mode == EVP_CIPH_CBC_MODE) in cipher_hw_sm4_initkey()
63 if (ctx->mode == EVP_CIPH_CBC_MODE) in cipher_hw_sm4_initkey()
82 if (ctx->mode == EVP_CIPH_CBC_MODE) in cipher_hw_sm4_initkey()
86 if (ctx->mode == EVP_CIPH_ECB_MODE) in cipher_hw_sm4_initkey()
96 if (ctx->mode == EVP_CIPH_CBC_MODE) in cipher_hw_sm4_initkey()
141 # define PROV_CIPHER_HW_declare(mode)
[all …]
H A Dcipher_camellia_hw.c23 int ret, mode = dat->mode; in cipher_hw_camellia_initkey() local
33 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) { in cipher_hw_camellia_initkey()
35 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cipher_hw_camellia_initkey()
39 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? in cipher_hw_camellia_initkey()
51 # define PROV_CIPHER_HW_declare(mode)
52 # define PROV_CIPHER_HW_select(mode)
55 #define PROV_CIPHER_HW_camellia_mode(mode) \ argument
56 static const PROV_CIPHER_HW camellia_##mode = { \
58 ossl_cipher_hw_generic_##mode, \
61 PROV_CIPHER_HW_declare(mode) \
[all …]
H A Dcipher_aes_hw.c28 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
36 if (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
40 if (dat->mode == EVP_CIPH_ECB_MODE) in cipher_hw_aes_initkey()
73 if (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
78 if (dat->mode == EVP_CIPH_ECB_MODE) in cipher_hw_aes_initkey()
83 if (dat->mode == EVP_CIPH_CTR_MODE) in cipher_hw_aes_initkey()
91 if (BSAES_CAPABLE && dat->mode == EVP_CIPH_CTR_MODE) { in cipher_hw_aes_initkey()
101 dat->stream.cbc = (dat->mode == EVP_CIPH_CBC_MODE) in cipher_hw_aes_initkey()
111 if (dat->mode == EVP_CIPH_CTR_MODE) in cipher_hw_aes_initkey()
153 # define PROV_CIPHER_HW_declare(mode)
[all …]
H A Dcipher_idea_hw.c26 || ctx->mode == EVP_CIPH_OFB_MODE in cipher_hw_idea_initkey()
27 || ctx->mode == EVP_CIPH_CFB_MODE) { in cipher_hw_idea_initkey()
39 # define PROV_CIPHER_HW_idea_mode_ex(mode, UCMODE, fname) \ argument
40 IMPLEMENT_CIPHER_HW_##UCMODE(mode, idea, PROV_IDEA_CTX, IDEA_KEY_SCHEDULE, \
42 static const PROV_CIPHER_HW idea_##mode = { \
44 cipher_hw_idea_##mode##_cipher \
46 const PROV_CIPHER_HW *ossl_prov_cipher_hw_idea_##mode(size_t keybits) \
48 return &idea_##mode; \
51 # define PROV_CIPHER_HW_idea_mode(mode, UCMODE) \ argument
52 PROV_CIPHER_HW_idea_mode_ex(mode, UCMODE, IDEA_##mode)
H A Dcipher_camellia_hw_t4.inc19 int ret = 0, bits, mode = dat->mode;
28 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) {
32 if (mode == EVP_CIPH_CBC_MODE)
34 else if (mode == EVP_CIPH_CTR_MODE)
41 if (mode == EVP_CIPH_CBC_MODE)
43 else if (mode == EVP_CIPH_CTR_MODE)
56 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
61 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
76 #define PROV_CIPHER_HW_declare(mode) \
77 static const PROV_CIPHER_HW t4_camellia_##mode = { \
[all …]
H A Dcipher_aes_hw_t4.inc25 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
32 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
36 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
40 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ?
52 if (dat->mode == EVP_CIPH_CBC_MODE)
54 else if (dat->mode == EVP_CIPH_CTR_MODE)
60 if (dat->mode == EVP_CIPH_CBC_MODE)
62 else if (dat->mode == EVP_CIPH_CTR_MODE)
68 if (dat->mode == EVP_CIPH_CBC_MODE)
70 else if (dat->mode == EVP_CIPH_CTR_MODE)
[all …]
H A Dcipher_aria_hw.c16 int ret, mode = dat->mode; in cipher_hw_aria_initkey() local
20 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) in cipher_hw_aria_initkey()
35 # define PROV_CIPHER_HW_aria_mode(mode) \ argument
36 static const PROV_CIPHER_HW aria_##mode = { \
38 ossl_cipher_hw_chunked_##mode, \
41 const PROV_CIPHER_HW *ossl_prov_cipher_hw_aria_##mode(size_t keybits) \
43 return &aria_##mode; \
H A Dcipher_blowfish_hw.c27 # define PROV_CIPHER_HW_blowfish_mode(mode, UCMODE) \ argument
28 IMPLEMENT_CIPHER_HW_##UCMODE(mode, blowfish, PROV_BLOWFISH_CTX, BF_KEY, \
29 BF_##mode) \
30 static const PROV_CIPHER_HW bf_##mode = { \
32 cipher_hw_blowfish_##mode##_cipher \
34 const PROV_CIPHER_HW *ossl_prov_cipher_hw_blowfish_##mode(size_t keybits) \
36 return &bf_##mode; \
H A Dcipher_cast5_hw.c27 # define PROV_CIPHER_HW_cast_mode(mode, UCMODE) \ argument
28 IMPLEMENT_CIPHER_HW_##UCMODE(mode, cast5, PROV_CAST_CTX, CAST_KEY, \
29 CAST_##mode) \
30 static const PROV_CIPHER_HW cast5_##mode = { \
32 cipher_hw_cast5_##mode##_cipher \
34 const PROV_CIPHER_HW *ossl_prov_cipher_hw_cast5_##mode(size_t keybits) \
36 return &cast5_##mode; \
H A Dcipher_seed_hw.c27 # define PROV_CIPHER_HW_seed_mode(mode, UCMODE) \ argument
28 IMPLEMENT_CIPHER_HW_##UCMODE(mode, seed, PROV_SEED_CTX, SEED_KEY_SCHEDULE, \
29 SEED_##mode) \
30 static const PROV_CIPHER_HW seed_##mode = { \
32 cipher_hw_seed_##mode##_cipher \
34 const PROV_CIPHER_HW *ossl_prov_cipher_hw_seed_##mode(size_t keybits) \
36 return &seed_##mode; \
H A Dcipher_rc5_hw.c26 # define PROV_CIPHER_HW_rc5_mode(mode, UCMODE) \ argument
27 IMPLEMENT_CIPHER_HW_##UCMODE(mode, rc5, PROV_RC5_CTX, RC5_32_KEY, \
28 RC5_32_##mode) \
29 static const PROV_CIPHER_HW rc5_##mode = { \
31 cipher_hw_rc5_##mode##_cipher \
33 const PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_##mode(size_t keybits) \
35 return &rc5_##mode; \
H A Dcipher_rc2_hw.c28 # define PROV_CIPHER_HW_rc2_mode(mode, UCMODE) \ argument
29 IMPLEMENT_CIPHER_HW_##UCMODE(mode, rc2, PROV_RC2_CTX, RC2_KEY, \
30 RC2_##mode) \
31 static const PROV_CIPHER_HW rc2_##mode = { \
33 cipher_hw_rc2_##mode##_cipher \
35 const PROV_CIPHER_HW *ossl_prov_cipher_hw_rc2_##mode(size_t keybits) \
37 return &rc2_##mode; \
H A Dcipher_aes_hw_rv64i.inc32 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
86 if (dat->mode == EVP_CIPH_CBC_MODE) {
92 } else if (dat->mode == EVP_CIPH_CTR_MODE) {
96 } else if (dat->mode == EVP_CIPH_ECB_MODE) {
105 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE) &&
120 #define PROV_CIPHER_HW_declare(mode) \
121 static const PROV_CIPHER_HW rv64i_zknd_zkne_##mode = { \
123 cipher_hw_rv64i_zknd_zkne_##mode, \
126 static const PROV_CIPHER_HW rv64i_zvkned_##mode = { \
128 cipher_hw_rv64i_zvkned_##mode, \
[all …]
H A Dcipher_aes_hw_rv32i.inc40 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
68 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE)
87 #define PROV_CIPHER_HW_declare(mode) \
88 static const PROV_CIPHER_HW rv32i_zknd_zkne_##mode = { \
90 cipher_hw_rv32i_zknd_zkne_##mode, \
93 static const PROV_CIPHER_HW rv32i_zbkb_zknd_zkne_##mode = { \
95 cipher_hw_rv32i_zbkb_zknd_zkne_##mode, \
98 #define PROV_CIPHER_HW_select(mode) \
100 return &rv32i_zbkb_zknd_zkne_##mode; \
102 return &rv32i_zknd_zkne_##mode;
/openssl/crypto/evp/
H A De_camellia.c54 int ret, mode, bits; in cmll_t4_init_key() local
58 mode = EVP_CIPHER_CTX_get_mode(ctx); in cmll_t4_init_key()
63 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) in cmll_t4_init_key()
85 if (mode == EVP_CIPH_CBC_MODE) in cmll_t4_init_key()
94 if (mode == EVP_CIPH_CBC_MODE) in cmll_t4_init_key()
148 cmll_t4_##mode##_cipher, \
163 { return SPARC_CMLL_CAPABLE?&cmll_t4_##keylen##_##mode:&camellia_##keylen##_##mode; }
178 { return &camellia_##keylen##_##mode; }
195 int ret, mode; in camellia_init_key() local
205 mode = EVP_CIPHER_CTX_get_mode(ctx); in camellia_init_key()
[all …]
H A De_sm4.c37 static const EVP_CIPHER sm4_##mode = { \
42 sm4_##mode##_cipher, \
46 const EVP_CIPHER *EVP_sm4_##mode(void) \
47 { return &sm4_##mode; }
59 int mode; in sm4_init_key() local
62 mode = EVP_CIPHER_CTX_get_mode(ctx); in sm4_init_key()
63 if ((mode == EVP_CIPH_ECB_MODE || mode == EVP_CIPH_CBC_MODE) in sm4_init_key()
102 if (mode == EVP_CIPH_CBC_MODE) in sm4_init_key()
107 if (mode == EVP_CIPH_ECB_MODE) in sm4_init_key()
112 if (mode == EVP_CIPH_CTR_MODE) in sm4_init_key()
[all …]
/openssl/doc/man3/
H A DSSL_set_blocking_mode.pod5 SSL_set_blocking_mode, SSL_get_blocking_mode - configure blocking mode for a
17 SSL_set_blocking_mode() can be used to enable or disable blocking mode on a QUIC
20 descriptor (see L<BIO_get_rpoll_descriptor(3)>), as blocking mode cannot be
26 To retrieve the current blocking mode, call SSL_get_blocking_mode().
28 Blocking mode means that calls such as SSL_read() and SSL_write() will block
29 until the requested operation can be performed. In nonblocking mode, these
35 nonblocking mode based on whether the underlying network read and write BIOs
36 provided to the SSL object are themselves configured in nonblocking mode.
42 Blocking mode is disabled automatically if the application provides a QUIC
44 re-enable blocking mode in this case, an application must set a network BIO
[all …]
/openssl/doc/man1/
H A Dopenssl-enc.pod.in335 cast-cbc CAST in CBC mode
337 cast5-cbc CAST5 in CBC mode
338 cast5-cfb CAST5 in CFB mode
339 cast5-ecb CAST5 in ECB mode
344 des-cbc DES in CBC mode
346 des-cfb DES in CFB mode
347 des-ofb DES in OFB mode
348 des-ecb DES in ECB mode
368 idea-cfb IDEA in CFB mode
369 idea-ecb IDEA in ECB mode
[all …]
/openssl/crypto/
H A Do_fopen.c38 FILE *openssl_fopen(const char *filename, const char *mode) in openssl_fopen() argument
74 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, in openssl_fopen()
83 file = fopen(filename, mode); in openssl_fopen()
86 file = fopen(filename, mode); in openssl_fopen()
113 file = fopen(filename, mode); in openssl_fopen()
118 file = fopen(filename, mode); in openssl_fopen()
125 void *openssl_fopen(const char *filename, const char *mode) in openssl_fopen() argument

Completed in 56 milliseconds

12345678910>>...14