Home
last modified time | relevance | path

Searched refs:cbc (Results 1 – 25 of 54) sorted by relevance

123

/external/wpa_supplicant_8/src/crypto/
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 …]
Daes-cbc.c27 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()
63 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE]; in aes_128_cbc_decrypt() local
73 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_decrypt()
80 pos[j] ^= cbc[j]; in aes_128_cbc_decrypt()
81 os_memcpy(cbc, tmp, AES_BLOCK_SIZE); in aes_128_cbc_decrypt()
Daes-omac1.c47 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()
Dcrypto_libtomcrypt.c291 symmetric_CBC cbc; member
342 res = cbc_start(idx, iv, key, key_len, 0, &ctx->u.cbc); in crypto_cipher_init()
368 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc); in crypto_cipher_encrypt()
392 res = cbc_decrypt(crypt, plain, len, &ctx->u.cbc); in crypto_cipher_decrypt()
406 cbc_done(&ctx->u.cbc); in crypto_cipher_deinit()
DMakefile22 aes-cbc.o \
/external/openssh/regress/
Dconch-ciphers.sh13 for c in aes256-ctr aes256-cbc aes192-ctr aes192-cbc aes128-ctr aes128-cbc \
14 cast128-cbc blowfish 3des-cbc ; do
Ddhgex.sh57 check 3072 arcfour blowfish-cbc
60 check 8192 rijndael-cbc@lysator.liu.se chacha20-poly1305@openssh.com
/external/boringssl/src/crypto/cipher_extra/test/
Dmake_legacy_aead_tests.go169 cbc := cipher.NewCBCEncrypter(block, iv)
171 sealed = make([]byte, 0, len(input)+len(digest)+cbc.BlockSize())
179 paddingLen := cbc.BlockSize() - len(sealed)%cbc.BlockSize()
181 if paddingLen != cbc.BlockSize() {
189 paddingLen += cbc.BlockSize()
191 if 256%cbc.BlockSize() != 0 {
194 paddingLen = 256 - len(sealed)%cbc.BlockSize()
213 cbc.CryptBlocks(sealed, sealed)
/external/tcpdump/tests/
Desp-secrets.txt3 0x12345678@192.1.2.45 3des-cbc-hmac96:0x43434545464649494a4a4c4c4f4f51515252545457575840
4 0xabcdabcd@192.0.1.1 3des-cbc-hmac96:0x434545464649494a4a4c4c4f4f5151525254545757584043
5 0xd1234567@192.1.2.45 aes256-cbc-hmac96:0xaaaabbbbccccdddd4043434545464649494a4a4c4c4f4f51515252545…
Desp2.gdbinit1 …-E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x43434545464649494a4a4c4c4f4f51515252545457575840,0xabc…
Desp3.gdbinit1 set args -t -n -E "3des-cbc-hmac96:0x43434545464649494a4a4c4c4f4f51515252545457575840" -r 08-sunris…
Desp1.gdbinit1 set args -t -n -E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f5151525254…
/external/python/oauth2client/scripts/
Drun_system_tests.sh27 openssl aes-256-cbc -K ${OAUTH2CLIENT_KEY} \
32 openssl aes-256-cbc -K ${OAUTH2CLIENT_KEY} \
37 openssl aes-256-cbc -K ${OAUTH2CLIENT_KEY} \
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c78 cbc128_f cbc; member
108 dat->stream.cbc = NULL; in aes_init_key()
110 dat->stream.cbc = aes_hw_cbc_encrypt; in aes_init_key()
116 dat->stream.cbc = bsaes_cbc_encrypt; in aes_init_key()
120 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ? vpaes_cbc_encrypt : NULL; in aes_init_key()
124 dat->stream.cbc = NULL; in aes_init_key()
127 dat->stream.cbc = aes_nohw_cbc_encrypt; in aes_init_key()
134 dat->stream.cbc = NULL; in aes_init_key()
136 dat->stream.cbc = aes_hw_cbc_encrypt; in aes_init_key()
148 dat->stream.cbc = NULL; in aes_init_key()
[all …]
/external/boringssl/src/ssl/test/runner/
Dshim_ticket.go69 cbc := cipher.NewCBCDecrypter(block, iv)
70 cbc.CryptBlocks(out, in)
101 cbc := cipher.NewCBCEncrypter(block, iv)
113 cbc.CryptBlocks(ciphertext, ciphertext)
Ddtls.go345 if cbc, ok := c.out.cipher.(cbcMode); ok {
347 explicitIVLen = cbc.BlockSize()
/external/strace/tests-m32/
Daio.c183 const struct iocb *cbc = tail_memdup(&proto_cbc, sizeof(proto_cbc)); in main() local
298 rc = syscall(__NR_io_cancel, *ctx, cbc + 1, ev); in main()
299 printf("io_cancel(%#lx, %p, %p) = %s\n", *ctx, cbc + 1, ev, in main()
302 rc = syscall(__NR_io_cancel, *ctx, cbc, ev); in main()
306 *ctx, cbc->aio_data, ev, sprintrc(rc)); in main()
/external/strace/tests-mx32/
Daio.c183 const struct iocb *cbc = tail_memdup(&proto_cbc, sizeof(proto_cbc)); in main() local
298 rc = syscall(__NR_io_cancel, *ctx, cbc + 1, ev); in main()
299 printf("io_cancel(%#lx, %p, %p) = %s\n", *ctx, cbc + 1, ev, in main()
302 rc = syscall(__NR_io_cancel, *ctx, cbc, ev); in main()
306 *ctx, cbc->aio_data, ev, sprintrc(rc)); in main()
/external/strace/tests/
Daio.c183 const struct iocb *cbc = tail_memdup(&proto_cbc, sizeof(proto_cbc)); in main() local
298 rc = syscall(__NR_io_cancel, *ctx, cbc + 1, ev); in main()
299 printf("io_cancel(%#lx, %p, %p) = %s\n", *ctx, cbc + 1, ev, in main()
302 rc = syscall(__NR_io_cancel, *ctx, cbc, ev); in main()
306 *ctx, cbc->aio_data, ev, sprintrc(rc)); in main()
/external/conscrypt/openjdk-integ-tests/src/test/resources/crypto/
Dbuild_test_files.sh15 cat "$1"/CBC*.rsp | ./parse_records.py > aes-cbc.csv
20 cat "$1"/TCBC*.rsp | ./parse_records.py > desede-cbc.csv
/external/openssh/
Dssh_config42 # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
Dssh_config.0210 3des-cbc
211 aes128-cbc
212 aes192-cbc
213 aes256-cbc
222 blowfish-cbc
223 cast128-cbc
231 aes128-cbc,aes192-cbc,aes256-cbc
/external/boringssl/src/crypto/obj/
Dobjects.txt145 ISO-US 113533 7 66 10 : CAST5-CBC : cast5-cbc
373 rsadsi 3 2 : RC2-CBC : rc2-cbc
379 : RC2-40-CBC : rc2-40-cbc
380 : RC2-64-CBC : rc2-64-cbc
383 rsadsi 3 7 : DES-EDE3-CBC : des-ede3-cbc
384 rsadsi 3 8 : RC5-CBC : rc5-cbc
408 1 3 6 1 4 1 188 7 1 1 2 : IDEA-CBC : idea-cbc
415 1 3 6 1 4 1 3029 1 2 : BF-CBC : bf-cbc
628 algorithm 7 : DES-CBC : des-cbc
642 : DES-EDE-CBC : des-ede-cbc
[all …]
/external/curl/docs/
DCIPHERS.md283 `des-cbc-md5`
292 `exp-rc2-cbc-md5`
294 `exp-des-cbc-sha`
303 `exp-rc2-cbc-md5`
305 `exp-des-cbc-sha`
316 `exp-des-cbc-sha`
/external/autotest/client/site_tests/power_LoadTest/
Dcontrol.email_1hour84 ' \'http://www.cbc.ca/radio2/channels/popup.html?stream=classical\'' + \

123