/openssl-master/test/recipes/30-test_evp_data/ |
A D | evpkdf_tls13_kdf.txt | 22 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 …]
|
A D | evpkdf_hkdf.txt | 24 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 88 Ctrl.mode = mode:EXTRACT_ONLY 95 Ctrl.mode = mode:EXPAND_ONLY 116 Ctrl.mode = mode:EXPAND_ONLY 137 Ctrl.mode = mode:EXPAND_ONLY [all …]
|
A D | evppkey_kdf_hkdf.txt | 24 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 88 Ctrl.mode = mode:EXTRACT_ONLY 95 Ctrl.mode = mode:EXPAND_ONLY 116 Ctrl.mode = mode:EXPAND_ONLY 137 Ctrl.mode = mode:EXPAND_ONLY [all …]
|
/openssl-master/engines/asm/ |
A D | e_padlock-x86_64.pl | 330 .L${mode}_reenter: 344 ja .L${mode}_loop 360 .L${mode}_loop: 455 .L${mode}_break: 460 je .L${mode}_done 464 .L${mode}_bzero: 470 .L${mode}_done: 475 .L${mode}_aligned: 556 .L${mode}_exit: 559 .L${mode}_abort: [all …]
|
A D | e_padlock-x86.pl | 185 my ($mode,$opcode) = @_; 205 if ($mode eq "ctr32") { 258 if ($mode eq "ctr32") { 299 if ($mode eq "ctr32") { 302 &set_label("${mode}_xor"); 308 &jb (&label("${mode}_xor")); 349 if ($mode ne "ctr32") { 355 &set_label("${mode}_bzero"); 361 &set_label("${mode}_done"); 384 if ($mode ne "ecb") { [all …]
|
/openssl-master/providers/implementations/ciphers/ |
A D | cipher_camellia_hw.c | 23 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 …]
|
A D | cipher_aes_hw.c | 28 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() 147 # define PROV_CIPHER_HW_declare(mode) [all …]
|
A D | cipher_idea_hw.c | 26 || 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)
|
A D | cipher_camellia_hw_t4.inc | 19 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 …]
|
A D | cipher_aes_hw_t4.inc | 25 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 …]
|
A D | cipher_aria_hw.c | 16 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; \
|
A D | cipher_blowfish_hw.c | 27 # 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; \
|
A D | cipher_cast5_hw.c | 27 # 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; \
|
A D | cipher_seed_hw.c | 27 # 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; \
|
A D | cipher_rc5_hw.c | 26 # 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; \
|
A D | cipher_rc2_hw.c | 28 # 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; \
|
A D | cipher_sm4_hw.c | 21 || (ctx->mode != EVP_CIPH_ECB_MODE in cipher_hw_sm4_initkey() 22 && ctx->mode != EVP_CIPH_CBC_MODE)) in cipher_hw_sm4_initkey() 31 # define PROV_CIPHER_HW_sm4_mode(mode) \ argument 32 static const PROV_CIPHER_HW sm4_##mode = { \ 34 ossl_cipher_hw_chunked_##mode, \ 37 const PROV_CIPHER_HW *ossl_prov_cipher_hw_sm4_##mode(size_t keybits) \ 39 return &sm4_##mode; \
|
A D | cipher_aes_hw_aesni.inc | 30 if ((dat->mode == EVP_CIPH_ECB_MODE || dat->mode == EVP_CIPH_CBC_MODE) 34 dat->stream.cbc = dat->mode == EVP_CIPH_CBC_MODE ? 39 if (dat->mode == EVP_CIPH_CBC_MODE) 41 else if (dat->mode == EVP_CIPH_CTR_MODE) 76 #define PROV_CIPHER_HW_declare(mode) \ 77 static const PROV_CIPHER_HW aesni_##mode = { \ 79 cipher_hw_aesni_##mode, \ 82 #define PROV_CIPHER_HW_select(mode) \ 84 return &aesni_##mode;
|
/openssl-master/crypto/evp/ |
A D | e_camellia.c | 54 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 …]
|
/openssl-master/doc/man1/ |
A D | openssl-enc.pod.in | 295 cast-cbc CAST in CBC mode 297 cast5-cbc CAST5 in CBC mode 298 cast5-cfb CAST5 in CFB mode 299 cast5-ecb CAST5 in ECB mode 304 des-cbc DES in CBC mode 306 des-cfb DES in CFB mode 307 des-ofb DES in OFB mode 308 des-ecb DES in ECB mode 328 idea-cfb IDEA in CFB mode 329 idea-ecb IDEA in ECB mode [all …]
|
/openssl-master/crypto/ |
A D | o_fopen.c | 38 FILE *openssl_fopen(const char *filename, const char *mode) in openssl_fopen() argument 68 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, in openssl_fopen() 77 file = fopen(filename, mode); in openssl_fopen() 80 file = fopen(filename, mode); in openssl_fopen() 109 file = fopen(filename, mode); in openssl_fopen() 114 file = fopen(filename, mode); in openssl_fopen() 121 void *openssl_fopen(const char *filename, const char *mode) in openssl_fopen() argument
|
/openssl-master/doc/man3/ |
A D | SSL_CTX_sess_number.pod | 30 client mode. 33 SSL/TLS sessions in client mode. 36 in client mode. 39 server mode. 42 SSL/TLS sessions in server mode. 45 in server mode. 48 In client mode a session set with L<SSL_set_session(3)> 49 successfully reused is counted as a hit. In server mode a session successfully 53 from the external session cache in server mode. 56 that were not found in the internal session cache in server mode. [all …]
|
A D | SSL_CTX_set_mode.pod | 11 long SSL_CTX_set_mode(SSL_CTX *ctx, long mode); 12 long SSL_CTX_clear_mode(SSL_CTX *ctx, long mode); 13 long SSL_set_mode(SSL *ssl, long mode); 14 long SSL_clear_mode(SSL *ssl, long mode); 21 SSL_CTX_set_mode() adds the mode set via bit-mask in B<mode> to B<ctx>. 23 SSL_CTX_clear_mode() removes the mode set via bit-mask in B<mode> from B<ctx>. 25 SSL_set_mode() adds the mode set via bit-mask in B<mode> to B<ssl>. 27 SSL_clear_mode() removes the mode set via bit-mask in B<mode> from B<ssl>. 31 SSL_get_mode() returns the mode set for B<ssl>. 35 The following mode changes are available: [all …]
|
/openssl-master/apps/ |
A D | passwd.c | 145 mode = passwd_md5; in passwd_main() 150 mode = passwd_sha256; in passwd_main() 155 mode = passwd_sha512; in passwd_main() 160 mode = passwd_apr1; in passwd_main() 201 if (mode == passwd_unset) { in passwd_main() 203 mode = passwd_md5; in passwd_main() 791 if (mode == passwd_md5 || mode == passwd_apr1 || mode == passwd_aixmd5) in do_passwd() 794 if (mode == passwd_sha256 || mode == passwd_sha512) in do_passwd() 829 if (mode == passwd_md5 || mode == passwd_apr1) in do_passwd() 831 if (mode == passwd_aixmd5) in do_passwd() [all …]
|
/openssl-master/crypto/pkcs12/ |
A D | p12_init.c | 18 PKCS12 *PKCS12_init_ex(int mode, OSSL_LIB_CTX *ctx, const char *propq) in PKCS12_init_ex() argument 28 pkcs12->authsafes->type = OBJ_nid2obj(mode); in PKCS12_init_ex() 36 switch (mode) { in PKCS12_init_ex() 54 PKCS12 *PKCS12_init(int mode) in PKCS12_init() argument 56 return PKCS12_init_ex(mode, NULL, NULL); in PKCS12_init()
|