Home
last modified time | relevance | path

Searched full:cbc (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/freebsd/crypto/openssl/test/recipes/30-test_evp_data/
H A Devpciph_aes_cts.txt12 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 Devpkdf_krb5.txt18 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 Devpciph_aes_stitched.txt1 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 Devpciph_cast5.txt12 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 Devpciph_idea.txt13 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 Devpciph_camellia_cts.txt20 # 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 …]
/freebsd/tools/regression/ipsec/
H A Dipsec.t26 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 Dipsec6.t26 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 Dbearssl_block.h46 * 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/secure/usr.bin/openssl/man/
H A Dopenssl-enc.1318 a strong block cipher, such as AES, in CBC mode.
382 \& bf\-cbc Blowfish in CBC mode
383 \& bf Alias for bf\-cbc
384 \& blowfish Alias for bf\-cbc
389 \& cast\-cbc CAST in CBC mode
390 \& cast Alias for cast\-cbc
391 \& cast5\-cbc CAST5 in CBC mode
398 \& des\-cbc DES in CBC mode
399 \& des Alias for des\-cbc
404 \& des\-ede\-cbc Two key triple DES EDE in CBC mode
[all …]
H A Dopenssl.1379 .IP "\fBaes128\fR, \fBaes\-128\-cbc\fR, \fBaes\-128\-cfb\fR, \fBaes\-128\-ctr\fR, \fBaes\-128\-ecb\…
380 .IX Item "aes128, aes-128-cbc, aes-128-cfb, aes-128-ctr, aes-128-ecb, aes-128-ofb"
382 .IP "\fBaes192\fR, \fBaes\-192\-cbc\fR, \fBaes\-192\-cfb\fR, \fBaes\-192\-ctr\fR, \fBaes\-192\-ecb\…
383 .IX Item "aes192, aes-192-cbc, aes-192-cfb, aes-192-ctr, aes-192-ecb, aes-192-ofb"
385 .IP "\fBaes256\fR, \fBaes\-256\-cbc\fR, \fBaes\-256\-cfb\fR, \fBaes\-256\-ctr\fR, \fBaes\-256\-ecb\…
386 .IX Item "aes256, aes-256-cbc, aes-256-cfb, aes-256-ctr, aes-256-ecb, aes-256-ofb"
388 .IP "\fBaria128\fR, \fBaria\-128\-cbc\fR, \fBaria\-128\-cfb\fR, \fBaria\-128\-ctr\fR, \fBaria\-128\…
389 .IX Item "aria128, aria-128-cbc, aria-128-cfb, aria-128-ctr, aria-128-ecb, aria-128-ofb"
391 .IP "\fBaria192\fR, \fBaria\-192\-cbc\fR, \fBaria\-192\-cfb\fR, \fBaria\-192\-ctr\fR, \fBaria\-192\…
392 .IX Item "aria192, aria-192-cbc, aria-192-cfb, aria-192-ctr, aria-192-ecb, aria-192-ofb"
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Daes-cbc.c2 * 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 Dcrypto_internal-cipher.c26 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 Daes-omac1.c2 * 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/crypto/openssl/doc/man1/
H A Dopenssl-enc.pod.in283 a strong block cipher, such as AES, in CBC mode.
348 bf-cbc Blowfish in CBC mode
349 bf Alias for bf-cbc
350 blowfish Alias for bf-cbc
355 cast-cbc CAST in CBC mode
356 cast Alias for cast-cbc
357 cast5-cbc CAST5 in CBC mode
364 des-cbc DES in CBC mode
365 des Alias for des-cbc
370 des-ede-cbc Two key triple DES EDE in CBC mode
[all …]
/freebsd/secure/lib/libcrypto/man/man7/
H A DEVP_CIPHER-AES.772 .IP """AES\-128\-CBC"", ""AES\-192\-CBC"" and ""AES\-256\-CBC""" 4
73 .IX Item """AES-128-CBC"", ""AES-192-CBC"" and ""AES-256-CBC"""
75 .IP """AES\-128\-CBC\-CTS"", ""AES\-192\-CBC\-CTS"" and ""AES\-256\-CBC\-CTS""" 4
76 .IX Item """AES-128-CBC-CTS"", ""AES-192-CBC-CTS"" and ""AES-256-CBC-CTS"""
93 .IP """AES\-128\-CBC\-HMAC\-SHA1"", ""AES\-256\-CBC\-HMAC\-SHA1"", ""AES\-128\-CBC\-HMAC\-SHA256"" …
94 .IX Item """AES-128-CBC-HMAC-SHA1"", ""AES-256-CBC-HMAC-SHA1"", ""AES-128-CBC-HMAC-SHA256"" and ""A…
H A DEVP_CIPHER-CAMELLIA.771 .IP """CAMELLIA\-128\-CBC"", ""CAMELLIA\-192\-CBC"" and ""CAMELLIA\-256\-CBC""" 4
72 .IX Item """CAMELLIA-128-CBC"", ""CAMELLIA-192-CBC"" and ""CAMELLIA-256-CBC"""
74 .IP """CAMELLIA\-128\-CBC\-CTS"", ""CAMELLIA\-192\-CBC\-CTS"" and ""CAMELLIA\-256\-CBC\-CTS""" 4
75 .IX Item """CAMELLIA-128-CBC-CTS"", ""CAMELLIA-192-CBC-CTS"" and ""CAMELLIA-256-CBC-CTS"""
/freebsd/crypto/openssl/apps/
H A Dprogs.pl176 "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 …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv_hw.c28 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()
64 if (in->cbc != NULL && !EVP_CIPHER_up_ref(in->cbc)) in aes_siv_dupctx()
67 EVP_CIPHER_free(in->cbc); in aes_siv_dupctx()
103 EVP_CIPHER_free(ctx->cbc); in aes_siv_cleanup()
H A Dcipher_sm4_hw.c26 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
29 ctx->stream.cbc = (cbc128_f)HWSM4_cbc_encrypt; in cipher_hw_sm4_initkey()
49 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
51 ctx->stream.cbc = (cbc128_f)vpsm4_ex_cbc_encrypt; in cipher_hw_sm4_initkey()
62 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
64 ctx->stream.cbc = (cbc128_f)vpsm4_cbc_encrypt; in cipher_hw_sm4_initkey()
80 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
83 ctx->stream.cbc = (cbc128_f)HWSM4_cbc_encrypt; in cipher_hw_sm4_initkey()
95 ctx->stream.cbc = NULL; in cipher_hw_sm4_initkey()
97 ctx->stream.cbc = (cbc128_f)vpsm4_ex_cbc_encrypt; in cipher_hw_sm4_initkey()
[all …]
H A Dcipher_aes_hw_t4.inc11 * 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/tests/sys/geom/class/eli/
H A Dconf.sh41 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/crypto/modes/
H A Dcts128.c18 * 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 Dssl3.h95 # 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/providers/implementations/include/prov/
H A Dnames.h34 * with different sizes (e.g. AES-128-CBC, AES-256-CBC)
51 #define PROV_NAMES_AES_256_CBC "AES-256-CBC:AES256:2.16.840.1.101.3.4.1.42"
52 #define PROV_NAMES_AES_192_CBC "AES-192-CBC:AES192:2.16.840.1.101.3.4.1.22"
53 #define PROV_NAMES_AES_128_CBC "AES-128-CBC:AES128:2.16.840.1.101.3.4.1.2"
54 #define PROV_NAMES_AES_256_CBC_CTS "AES-256-CBC-CTS"
55 #define PROV_NAMES_AES_192_CBC_CTS "AES-192-CBC-CTS"
56 #define PROV_NAMES_AES_128_CBC_CTS "AES-128-CBC-CTS"
92 #define PROV_NAMES_AES_128_CBC_HMAC_SHA1 "AES-128-CBC-HMAC-SHA1"
93 #define PROV_NAMES_AES_256_CBC_HMAC_SHA1 "AES-256-CBC-HMAC-SHA1"
94 #define PROV_NAMES_AES_128_CBC_HMAC_SHA256 "AES-128-CBC-HMAC-SHA256"
[all …]

12345678910>>...25