/freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
H A D | evpciph_aes_cts.txt | 12 Title = AES CBC Test vectors 18 Cipher = AES-128-CBC 25 Cipher = AES-128-CBC 32 Cipher = AES-128-CBC 38 Title = AES CBC CTS1 Test vectors 42 # where aligned blocks are the same as CBC mode, and partial lengths 46 Cipher = AES-128-CBC-CTS 54 Cipher = AES-128-CBC-CTS 63 Cipher = AES-128-CBC-CTS 72 Cipher = AES-128-CBC-CTS [all …]
|
H A D | evpkdf_krb5.txt | 18 Ctrl.cipher = cipher:DES-EDE3-CBC 24 Ctrl.cipher = cipher:DES-EDE3-CBC 30 Ctrl.cipher = cipher:DES-EDE3-CBC 36 Ctrl.cipher = cipher:DES-EDE3-CBC 42 Ctrl.cipher = cipher:DES-EDE3-CBC 48 Ctrl.cipher = cipher:DES-EDE3-CBC 54 Ctrl.cipher = cipher:DES-EDE3-CBC 60 Ctrl.cipher = cipher:DES-EDE3-CBC 66 Ctrl.cipher = cipher:DES-EDE3-CBC 73 Ctrl.cipher = cipher:DES-EDE3-CBC [all …]
|
H A D | evpciph_aes_stitched.txt | 1 Title = AES-128-CBC-HMAC-SHA1 test vectors 3 Cipher = AES-128-CBC-HMAC-SHA1 13 Cipher = AES-128-CBC-HMAC-SHA1 23 Cipher = AES-128-CBC-HMAC-SHA1 33 Title = AES-256-CBC-HMAC-SHA1 test vectors 35 Cipher = AES-256-CBC-HMAC-SHA1 45 Cipher = AES-256-CBC-HMAC-SHA1 55 Cipher = AES-256-CBC-HMAC-SHA1 64 Title = AES-128-CBC-HMAC-SHA256 test vectors 66 Cipher = AES-128-CBC-HMAC-SHA256 [all …]
|
H A D | evpciph_cast5.txt | 12 Cipher = CAST5-CBC 19 Cipher = CAST5-CBC 26 Cipher = CAST5-CBC 33 Cipher = CAST5-CBC 40 Cipher = CAST5-CBC 47 Cipher = CAST5-CBC 54 Cipher = CAST5-CBC 61 Cipher = CAST5-CBC 68 Cipher = CAST5-CBC 75 Cipher = CAST5-CBC [all …]
|
H A D | evpciph_idea.txt | 13 Cipher = IDEA-CBC 20 Cipher = IDEA-CBC 27 Cipher = IDEA-CBC 34 Cipher = IDEA-CBC 41 Cipher = IDEA-CBC 48 Cipher = IDEA-CBC 55 Cipher = IDEA-CBC 62 Cipher = IDEA-CBC 69 Cipher = IDEA-CBC 76 Cipher = IDEA-CBC [all …]
|
H A D | evpciph_camellia_cts.txt | 20 # e.g: openssl kdf -cipher CAMELLIA-128-CBC 37 Cipher = CAMELLIA-128-CBC-CTS 48 Cipher = CAMELLIA-128-CBC-CTS 59 Cipher = CAMELLIA-128-CBC-CTS 70 Cipher = CAMELLIA-128-CBC-CTS 81 Cipher = CAMELLIA-128-CBC-CTS 92 Cipher = CAMELLIA-256-CBC-CTS 103 Cipher = CAMELLIA-256-CBC-CTS 114 Cipher = CAMELLIA-256-CBC-CTS 125 Cipher = CAMELLIA-256-CBC-CTS [all …]
|
H A D | evpciph_camellia.txt | 119 # For all CBC encrypts and decrypts, the transformed sequence is 120 # CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec 121 # CBC-CAMELLIA128.Encrypt and CBC-CAMELLIA128.Decrypt 122 Cipher = CAMELLIA-128-CBC 129 Cipher = CAMELLIA-128-CBC 136 Cipher = CAMELLIA-128-CBC 143 Cipher = CAMELLIA-128-CBC 151 # CBC-CAMELLIA192.Encrypt and CBC-CAMELLIA192.Decrypt 152 Cipher = CAMELLIA-192-CBC 159 Cipher = CAMELLIA-192-CBC [all …]
|
/freebsd/tools/regression/ipsec/ |
H A D | ipsec.t | 26 des-cbc:12345678 \ 27 3des-cbc:012345678901234567890123 \ 28 blowfish-cbc:0123456789012345 \ 29 blowfish-cbc:01234567890123456789 \ 30 blowfish-cbc:012345678901234567890123 \ 31 blowfish-cbc:0123456789012345678901234567 \ 32 blowfish-cbc:01234567890123456789012345678901 \ 33 blowfish-cbc:012345678901234567890123456789012345 \ 34 blowfish-cbc:0123456789012345678901234567890123456789 \ 35 blowfish-cbc:01234567890123456789012345678901234567890123 \ [all …]
|
H A D | ipsec6.t | 26 des-cbc:12345678 \ 27 3des-cbc:012345678901234567890123 \ 28 blowfish-cbc:0123456789012345 \ 29 blowfish-cbc:01234567890123456789 \ 30 blowfish-cbc:012345678901234567890123 \ 31 blowfish-cbc:0123456789012345678901234567 \ 32 blowfish-cbc:01234567890123456789012345678901 \ 33 blowfish-cbc:012345678901234567890123456789012345 \ 34 blowfish-cbc:0123456789012345678901234567890123456789 \ 35 blowfish-cbc:01234567890123456789012345678901234567890123 \ [all …]
|
/freebsd/contrib/bearssl/inc/ |
H A D | bearssl_block.h | 46 * functions are provided, for CBC encryption, CBC decryption, and CTR 50 * For CBC encryption and decryption, the data to encrypt or decrypt is 72 * expansion. These subkeys are appropriate for CBC encryption. The 78 * Perform key expansion: subkeys for CBC encryption are computed and 85 * Perform CBC encryption of `len` bytes, in place. The encrypted data 94 * expansion. These subkeys are appropriate for CBC decryption. The 100 * Perform key expansion: subkeys for CBC decryption are computed and 107 * Perform CBC decryption of `len` bytes, in place. The decrypted data 143 * CTR encryption/decryption and CBC-MAC, as used in the CCM and EAX 150 * encryption/decryption and CBC-MAC are computed and written in the [all …]
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-enc.pod.in | 252 a strong block cipher, such as AES, in CBC mode. 308 bf-cbc Blowfish in CBC mode 309 bf Alias for bf-cbc 310 blowfish Alias for bf-cbc 315 cast-cbc CAST in CBC mode 316 cast Alias for cast-cbc 317 cast5-cbc CAST5 in CBC mode 324 des-cbc DES in CBC mode 325 des Alias for des-cbc 330 des-ede-cbc Two key triple DES EDE in CBC mode [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | aes-cbc.c | 2 * AES-128 CBC 17 * aes_128_cbc_encrypt - AES-128 CBC encryption 19 * @iv: Encryption IV for CBC mode (16 bytes) 27 u8 cbc[AES_BLOCK_SIZE]; in aes_128_cbc_encrypt() local 37 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_encrypt() 42 cbc[j] ^= pos[j]; in aes_128_cbc_encrypt() 43 aes_encrypt(ctx, cbc, cbc); in aes_128_cbc_encrypt() 44 os_memcpy(pos, cbc, AES_BLOCK_SIZE); in aes_128_cbc_encrypt() 53 * aes_128_cbc_decrypt - AES-128 CBC decryption 55 * @iv: Decryption IV for CBC mode (16 bytes) [all …]
|
H A D | crypto_internal-cipher.c | 26 u8 cbc[32]; member 32 u8 cbc[8]; member 37 u8 cbc[8]; member 76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init() 84 os_memcpy(ctx->u.des3.cbc, iv, 8); in crypto_cipher_init() 92 os_memcpy(ctx->u.des.cbc, iv, 8); in crypto_cipher_init() 122 ctx->u.aes.cbc[j] ^= plain[j]; in crypto_cipher_encrypt() 123 aes_encrypt(ctx->u.aes.ctx_enc, ctx->u.aes.cbc, in crypto_cipher_encrypt() 124 ctx->u.aes.cbc); in crypto_cipher_encrypt() 125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE); in crypto_cipher_encrypt() [all …]
|
H A D | aes-omac1.c | 2 * One-key CBC MAC (OMAC1) hash with AES 30 * omac1_aes_vector - One-Key CBC MAC (OMAC1) hash with AES 47 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; in omac1_aes_vector() local 57 os_memset(cbc, 0, AES_BLOCK_SIZE); in omac1_aes_vector() 70 cbc[i] ^= *pos++; in omac1_aes_vector() 85 aes_encrypt(ctx, cbc, cbc); in omac1_aes_vector() 95 cbc[i] ^= *pos++; in omac1_aes_vector() 108 cbc[left] ^= 0x80; in omac1_aes_vector() 113 pad[i] ^= cbc[i]; in omac1_aes_vector() 121 * omac1_aes_128_vector - One-Key CBC MAC (OMAC1) hash with AES-128 [all …]
|
/freebsd/secure/usr.bin/openssl/man/ |
H A D | openssl-enc.1 | 357 a strong block cipher, such as \s-1AES,\s0 in \s-1CBC\s0 mode. 412 \& bf\-cbc Blowfish in CBC mode 413 \& bf Alias for bf\-cbc 414 \& blowfish Alias for bf\-cbc 419 \& cast\-cbc CAST in CBC mode 420 \& cast Alias for cast\-cbc 421 \& cast5\-cbc CAST5 in CBC mode 428 \& des\-cbc DES in CBC mode 429 \& des Alias for des\-cbc 434 \& des\-ede\-cbc Two key triple DES EDE in CBC mode [all …]
|
H A D | openssl.1 | 441 .IP "\fBaes128\fR, \fBaes\-128\-cbc\fR, \fBaes\-128\-cfb\fR, \fBaes\-128\-ctr\fR, \fBaes\-128\-ecb\… 442 .IX Item "aes128, aes-128-cbc, aes-128-cfb, aes-128-ctr, aes-128-ecb, aes-128-ofb" 444 .IP "\fBaes192\fR, \fBaes\-192\-cbc\fR, \fBaes\-192\-cfb\fR, \fBaes\-192\-ctr\fR, \fBaes\-192\-ecb\… 445 .IX Item "aes192, aes-192-cbc, aes-192-cfb, aes-192-ctr, aes-192-ecb, aes-192-ofb" 447 .IP "\fBaes256\fR, \fBaes\-256\-cbc\fR, \fBaes\-256\-cfb\fR, \fBaes\-256\-ctr\fR, \fBaes\-256\-ecb\… 448 .IX Item "aes256, aes-256-cbc, aes-256-cfb, aes-256-ctr, aes-256-ecb, aes-256-ofb" 450 .IP "\fBaria128\fR, \fBaria\-128\-cbc\fR, \fBaria\-128\-cfb\fR, \fBaria\-128\-ctr\fR, \fBaria\-128\… 451 .IX Item "aria128, aria-128-cbc, aria-128-cfb, aria-128-ctr, aria-128-ecb, aria-128-ofb" 453 .IP "\fBaria192\fR, \fBaria\-192\-cbc\fR, \fBaria\-192\-cfb\fR, \fBaria\-192\-ctr\fR, \fBaria\-192\… 454 .IX Item "aria192, aria-192-cbc, aria-192-cfb, aria-192-ctr, aria-192-ecb, aria-192-ofb" [all …]
|
/freebsd/crypto/openssl/providers/implementations/include/prov/ |
H A D | names.h | 34 * with different sizes (e.g. AES-128-CBC, AES-256-CBC) 46 #define PROV_NAMES_AES_256_CBC "AES-256-CBC:AES256:2.16.840.1.101.3.4.1.42" 47 #define PROV_NAMES_AES_192_CBC "AES-192-CBC:AES192:2.16.840.1.101.3.4.1.22" 48 #define PROV_NAMES_AES_128_CBC "AES-128-CBC:AES128:2.16.840.1.101.3.4.1.2" 49 #define PROV_NAMES_AES_256_CBC_CTS "AES-256-CBC-CTS" 50 #define PROV_NAMES_AES_192_CBC_CTS "AES-192-CBC-CTS" 51 #define PROV_NAMES_AES_128_CBC_CTS "AES-128-CBC-CTS" 87 #define PROV_NAMES_AES_128_CBC_HMAC_SHA1 "AES-128-CBC-HMAC-SHA1" 88 #define PROV_NAMES_AES_256_CBC_HMAC_SHA1 "AES-256-CBC-HMAC-SHA1" 89 #define PROV_NAMES_AES_128_CBC_HMAC_SHA256 "AES-128-CBC-HMAC-SHA256" [all …]
|
/freebsd/tests/sys/geom/class/eli/ |
H A D | conf.sh | 41 aes-cbc:128 aes-cbc:192 aes-cbc:256 \ 42 camellia-cbc:128 camellia-cbc:192 camellia-cbc:256; do 65 aes-cbc:128 aes-cbc:192 aes-cbc:256 \ 66 camellia-cbc:128 camellia-cbc:192 camellia-cbc:256; do
|
/freebsd/crypto/openssl/apps/ |
H A D | progs.pl | 176 "aes-128-cbc", "aes-128-ecb", 177 "aes-192-cbc", "aes-192-ecb", 178 "aes-256-cbc", "aes-256-ecb", 179 "aria-128-cbc", "aria-128-cfb", 182 "aria-192-cbc", "aria-192-cfb", 185 "aria-256-cbc", "aria-256-cfb", 188 "camellia-128-cbc", "camellia-128-ecb", 189 "camellia-192-cbc", "camellia-192-ecb", 190 "camellia-256-cbc", "camellia-256-ecb", 195 "des-cbc", "des-ede-cbc","des-ede3-cbc", [all …]
|
H A D | progs.c | 140 {FT_cipher, "aes-128-cbc", enc_main, enc_options, NULL}, 142 {FT_cipher, "aes-192-cbc", enc_main, enc_options, NULL}, 144 {FT_cipher, "aes-256-cbc", enc_main, enc_options, NULL}, 147 {FT_cipher, "aria-128-cbc", enc_main, enc_options, NULL}, 168 {FT_cipher, "aria-192-cbc", enc_main, enc_options, NULL}, 189 {FT_cipher, "aria-256-cbc", enc_main, enc_options, NULL}, 210 {FT_cipher, "camellia-128-cbc", enc_main, enc_options, NULL}, 216 {FT_cipher, "camellia-192-cbc", enc_main, enc_options, NULL}, 222 {FT_cipher, "camellia-256-cbc", enc_main, enc_options, NULL}, 274 {FT_cipher, "des-cbc", enc_main, enc_options, NULL}, [all …]
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_siv_hw.c | 28 EVP_CIPHER_free(ctx->cbc); in aes_siv_initkey() 30 ctx->cbc = NULL; in aes_siv_initkey() 35 ctx->cbc = EVP_CIPHER_fetch(libctx, "AES-128-CBC", propq); in aes_siv_initkey() 39 ctx->cbc = EVP_CIPHER_fetch(libctx, "AES-192-CBC", propq); in aes_siv_initkey() 43 ctx->cbc = EVP_CIPHER_fetch(libctx, "AES-256-CBC", propq); in aes_siv_initkey() 49 if (ctx->cbc == NULL || ctx->ctr == NULL) in aes_siv_initkey() 55 return ossl_siv128_init(sctx, key, klen, ctx->cbc, ctx->ctr, libctx, in aes_siv_initkey() 70 if (out->cbc != NULL) in aes_siv_dupctx() 71 EVP_CIPHER_up_ref(out->cbc); in aes_siv_dupctx() 99 EVP_CIPHER_free(ctx->cbc); in aes_siv_cleanup()
|
H A D | cipher_aes_hw_t4.inc | 11 * Sparc t4 support for AES modes ecb, cbc, ofb, cfb, ctr. 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 ? 53 dat->stream.cbc = (cbc128_f)aes128_t4_cbc_encrypt; 57 dat->stream.cbc = NULL; 61 dat->stream.cbc = (cbc128_f)aes192_t4_cbc_encrypt; 65 dat->stream.cbc = NULL; 69 dat->stream.cbc = (cbc128_f)aes256_t4_cbc_encrypt; 73 dat->stream.cbc = NULL;
|
/freebsd/crypto/openssl/crypto/modes/ |
H A D | cts128.c | 18 * Extend CBC Mode By "Ciphertext Stealing"' at NIST site, which 24 * compliant with the NIST proposal, both extending CBC mode. 89 unsigned char ivec[16], cbc128_f cbc) in CRYPTO_cts128_encrypt() argument 105 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_cts128_encrypt() 112 (*cbc) (in, out - 16, residue, key, ivec, 1); in CRYPTO_cts128_encrypt() 118 (*cbc) (tmp.c, out - 16, 16, key, ivec, 1); in CRYPTO_cts128_encrypt() 125 unsigned char ivec[16], cbc128_f cbc) in CRYPTO_nistcts128_encrypt() argument 140 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_nistcts128_encrypt() 149 (*cbc) (in, out - 16 + residue, residue, key, ivec, 1); in CRYPTO_nistcts128_encrypt() 153 (*cbc) (tmp.c, out - 16 + residue, 16, key, ivec, 1); in CRYPTO_nistcts128_encrypt() [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | ssl3.h | 95 # define SSL3_TXT_RSA_RC2_40_MD5 "EXP-RC2-CBC-MD5" 96 # define SSL3_TXT_RSA_IDEA_128_SHA "IDEA-CBC-SHA" 97 # define SSL3_TXT_RSA_DES_40_CBC_SHA "EXP-DES-CBC-SHA" 98 # define SSL3_TXT_RSA_DES_64_CBC_SHA "DES-CBC-SHA" 101 # define SSL3_TXT_DH_DSS_DES_40_CBC_SHA "EXP-DH-DSS-DES-CBC-SHA" 102 # define SSL3_TXT_DH_DSS_DES_64_CBC_SHA "DH-DSS-DES-CBC-SHA" 104 # define SSL3_TXT_DH_RSA_DES_40_CBC_SHA "EXP-DH-RSA-DES-CBC-SHA" 105 # define SSL3_TXT_DH_RSA_DES_64_CBC_SHA "DH-RSA-DES-CBC-SHA" 108 # define SSL3_TXT_DHE_DSS_DES_40_CBC_SHA "EXP-DHE-DSS-DES-CBC-SHA" 109 # define SSL3_TXT_DHE_DSS_DES_64_CBC_SHA "DHE-DSS-DES-CBC-SHA" [all …]
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | EVP_CIPHER-AES.pod | 18 =item "AES-128-CBC", "AES-192-CBC" and "AES-256-CBC" 20 =item "AES-128-CBC-CTS", "AES-192-CBC-CTS" and "AES-256-CBC-CTS" 43 =item "AES-128-CBC-HMAC-SHA1", "AES-256-CBC-HMAC-SHA1", 44 "AES-128-CBC-HMAC-SHA256" and "AES-256-CBC-HMAC-SHA256"
|