Home
last modified time | relevance | path

Searched refs:ciphers (Results 1 – 25 of 146) sorted by relevance

123456

/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DBlockCipherFactory.java35 private static final List<CipherEntry> ciphers = new Vector<CipherEntry>(); field in BlockCipherFactory
40 ciphers.add(new CipherEntry("aes128-ctr", 16, 16, "ch.ethz.ssh2.crypto.cipher.AES")); in ciphers.add()
41 ciphers.add(new CipherEntry("aes192-ctr", 16, 24, "ch.ethz.ssh2.crypto.cipher.AES")); in ciphers.add()
42 ciphers.add(new CipherEntry("aes256-ctr", 16, 32, "ch.ethz.ssh2.crypto.cipher.AES")); in ciphers.add()
43 ciphers.add(new CipherEntry("blowfish-ctr", 8, 16, "ch.ethz.ssh2.crypto.cipher.BlowFish")); in ciphers.add()
45 ciphers.add(new CipherEntry("aes128-cbc", 16, 16, "ch.ethz.ssh2.crypto.cipher.AES")); in ciphers.add()
46 ciphers.add(new CipherEntry("aes192-cbc", 16, 24, "ch.ethz.ssh2.crypto.cipher.AES")); in ciphers.add()
47 ciphers.add(new CipherEntry("aes256-cbc", 16, 32, "ch.ethz.ssh2.crypto.cipher.AES")); in ciphers.add()
48 ciphers.add(new CipherEntry("blowfish-cbc", 8, 16, "ch.ethz.ssh2.crypto.cipher.BlowFish")); in ciphers.add()
50 ciphers.add(new CipherEntry("3des-ctr", 8, 24, "ch.ethz.ssh2.crypto.cipher.DESede")); in ciphers.add()
[all …]
/external/chromium_org/net/socket/
Dnss_ssl_util.cc38 bool CiphersRemove(const uint16* to_remove, uint16* ciphers, size_t num) { in CiphersRemove() argument
46 if (to_remove[i] == ciphers[j]) { in CiphersRemove()
47 ciphers[j] = 0; in CiphersRemove()
60 void CiphersCompact(uint16* ciphers, size_t num) { in CiphersCompact() argument
64 if (ciphers[i] == 0) in CiphersCompact()
66 ciphers[j--] = ciphers[i]; in CiphersCompact()
155 scoped_ptr<uint16[]> ciphers(new uint16[num_ciphers]); in NSSSSLInitSingleton() local
156 memcpy(ciphers.get(), ssl_ciphers, sizeof(uint16)*num_ciphers); in NSSSSLInitSingleton()
158 if (CiphersRemove(chacha_ciphers, ciphers.get(), num_ciphers) && in NSSSSLInitSingleton()
159 CiphersRemove(aes_gcm_ciphers, ciphers.get(), num_ciphers)) { in NSSSSLInitSingleton()
[all …]
/external/openssl/crypto/engine/
Dtb_cipher.c76 if(e->ciphers) in ENGINE_register_ciphers()
79 int num_nids = e->ciphers(e, NULL, &nids, 0); in ENGINE_register_ciphers()
98 if(e->ciphers) in ENGINE_set_default_ciphers()
101 int num_nids = e->ciphers(e, NULL, &nids, 0); in ENGINE_set_default_ciphers()
135 return e->ciphers; in ENGINE_get_ciphers()
141 e->ciphers = f; in ENGINE_set_ciphers()
Deng_cryptodev.c143 } ciphers[] = { variable
254 for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) { in get_cryptodev_ciphers()
255 if (ciphers[i].nid == NID_undef) in get_cryptodev_ciphers()
257 sess.cipher = ciphers[i].id; in get_cryptodev_ciphers()
258 sess.keylen = ciphers[i].keylen; in get_cryptodev_ciphers()
262 nids[count++] = ciphers[i].nid; in get_cryptodev_ciphers()
425 for (i = 0; ciphers[i].id; i++) in cryptodev_init_key()
426 if (ctx->cipher->nid == ciphers[i].nid && in cryptodev_init_key()
427 ctx->cipher->iv_len <= ciphers[i].ivmax && in cryptodev_init_key()
428 ctx->key_len == ciphers[i].keylen) { in cryptodev_init_key()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/engine/
Dtb_cipher.c76 if(e->ciphers) in ENGINE_register_ciphers()
79 int num_nids = e->ciphers(e, NULL, &nids, 0); in ENGINE_register_ciphers()
98 if(e->ciphers) in ENGINE_set_default_ciphers()
101 int num_nids = e->ciphers(e, NULL, &nids, 0); in ENGINE_set_default_ciphers()
135 return e->ciphers; in ENGINE_get_ciphers()
141 e->ciphers = f; in ENGINE_set_ciphers()
Deng_cryptodev.c143 } ciphers[] = { variable
254 for (i = 0; ciphers[i].id && count < CRYPTO_ALGORITHM_MAX; i++) { in get_cryptodev_ciphers()
255 if (ciphers[i].nid == NID_undef) in get_cryptodev_ciphers()
257 sess.cipher = ciphers[i].id; in get_cryptodev_ciphers()
258 sess.keylen = ciphers[i].keylen; in get_cryptodev_ciphers()
262 nids[count++] = ciphers[i].nid; in get_cryptodev_ciphers()
425 for (i = 0; ciphers[i].id; i++) in cryptodev_init_key()
426 if (ctx->cipher->nid == ciphers[i].nid && in cryptodev_init_key()
427 ctx->cipher->iv_len <= ciphers[i].ivmax && in cryptodev_init_key()
428 ctx->key_len == ciphers[i].keylen) { in cryptodev_init_key()
[all …]
/external/dropbear/libtomcrypt/
DMakefile.in100 OBJECTS=src/ciphers/aes/aes_enc.o src/ciphers/aes/aes.o src/ciphers/anubis.o src/ciphers/blowfish.o…
101 src/ciphers/cast5.o src/ciphers/des.o src/ciphers/kasumi.o src/ciphers/khazad.o src/ciphers/kseed.o…
102 src/ciphers/noekeon.o src/ciphers/rc2.o src/ciphers/rc5.o src/ciphers/rc6.o src/ciphers/safer/safer…
103 src/ciphers/safer/safer_tab.o src/ciphers/safer/saferp.o src/ciphers/skipjack.o \
104 src/ciphers/twofish/twofish.o src/ciphers/xtea.o src/encauth/ccm/ccm_memory.o \
189 src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
190 $(CC) $(CFLAGS) -DENCRYPT_ONLY -c $< -o src/ciphers/aes/aes_enc.o
193 src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
194 src/ciphers/twofish/twofish.o: src/ciphers/twofish/twofish.c src/ciphers/twofish/twofish_tab.c
DAndroid.mk9 src/ciphers/aes/aes.c src/ciphers/anubis.c src/ciphers/blowfish.c \
10 src/ciphers/cast5.c src/ciphers/des.c src/ciphers/kasumi.c src/ciphers/khazad.c src/ciphers/kseed.c…
11 src/ciphers/noekeon.c src/ciphers/rc2.c src/ciphers/rc5.c src/ciphers/rc6.c src/ciphers/safer/safer…
12 src/ciphers/safer/safer_tab.c src/ciphers/safer/saferp.c src/ciphers/skipjack.c \
13 src/ciphers/twofish/twofish.c src/ciphers/xtea.c src/encauth/ccm/ccm_memory.c \
Dmakefile.icc97 OBJECTS=src/ciphers/aes/aes_enc.o src/ciphers/aes/aes.o src/ciphers/anubis.o src/ciphers/blowfish.o…
98 src/ciphers/cast5.o src/ciphers/des.o src/ciphers/kasumi.o src/ciphers/khazad.o src/ciphers/kseed.o…
99 src/ciphers/noekeon.o src/ciphers/rc2.o src/ciphers/rc5.o src/ciphers/rc6.o src/ciphers/safer/safer…
100 src/ciphers/safer/safer_tab.o src/ciphers/safer/saferp.o src/ciphers/skipjack.o \
101 src/ciphers/twofish/twofish.o src/ciphers/xtea.o src/encauth/ccm/ccm_memory.o \
238 src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
239 $(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
242 src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
243 src/ciphers/twofish/twofish.o: src/ciphers/twofish/twofish.c src/ciphers/twofish/twofish_tab.c
Dmakefile.unix43 OBJECTS=src/ciphers/aes/aes_enc.o src/ciphers/aes/aes.o src/ciphers/anubis.o src/ciphers/blowfish.o…
44 src/ciphers/cast5.o src/ciphers/des.o src/ciphers/kasumi.o src/ciphers/khazad.o src/ciphers/kseed.o…
45 src/ciphers/noekeon.o src/ciphers/rc2.o src/ciphers/rc5.o src/ciphers/rc6.o src/ciphers/safer/safer…
46 src/ciphers/safer/safer_tab.o src/ciphers/safer/saferp.o src/ciphers/skipjack.o \
47 src/ciphers/twofish/twofish.o src/ciphers/xtea.o src/encauth/ccm/ccm_memory.o \
178 src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
179 $(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
182 src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
183 src/ciphers/twofish/twofish.o: src/ciphers/twofish/twofish.c src/ciphers/twofish/twofish_tab.c
Dmakefile.shared102 OBJECTS=src/ciphers/aes/aes_enc.o src/ciphers/aes/aes.o src/ciphers/anubis.o src/ciphers/blowfish.o…
103 src/ciphers/cast5.o src/ciphers/des.o src/ciphers/kasumi.o src/ciphers/khazad.o src/ciphers/kseed.o…
104 src/ciphers/noekeon.o src/ciphers/rc2.o src/ciphers/rc5.o src/ciphers/rc6.o src/ciphers/safer/safer…
105 src/ciphers/safer/safer_tab.o src/ciphers/safer/saferp.o src/ciphers/skipjack.o \
106 src/ciphers/twofish/twofish.o src/ciphers/xtea.o src/encauth/ccm/ccm_memory.o \
230 src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
231 $(CC) $(CFLAGS) -DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
234 src/ciphers/aes/aes.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
235 src/ciphers/twofish/twofish.o: src/ciphers/twofish/twofish.c src/ciphers/twofish/twofish_tab.c
Dmakefile.msvc7 OBJECTS=src/ciphers/aes/aes_enc.obj src/ciphers/aes/aes.obj src/ciphers/anubis.obj src/ciphers/blow…
8 src/ciphers/cast5.obj src/ciphers/des.obj src/ciphers/kasumi.obj src/ciphers/khazad.obj src/ciphers
9 src/ciphers/noekeon.obj src/ciphers/rc2.obj src/ciphers/rc5.obj src/ciphers/rc6.obj src/ciphers/saf…
10 src/ciphers/safer/safer_tab.obj src/ciphers/safer/saferp.obj src/ciphers/skipjack.obj \
11 src/ciphers/twofish/twofish.obj src/ciphers/xtea.obj src/encauth/ccm/ccm_memory.obj \
126 src/ciphers/aes/aes_enc.obj: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
127 $(CC) $(CFLAGS) /DENCRYPT_ONLY /c src/ciphers/aes/aes.c /Fosrc/ciphers/aes/aes_enc.obj
/external/openssh/regress/
Dssh-com.sh90 ciphers="3des-cbc blowfish-cbc arcfour"
94 ciphers="$ciphers cast128-cbc"
98 ciphers="$ciphers aes128-cbc cast128-cbc"
104 for c in $ciphers; do
Dtry-ciphers.sh6 ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
14 for c in $ciphers; do
25 ciphers="3des blowfish"
26 for c in $ciphers; do
Dcipher-speed.sh15 ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
23 for c in $ciphers; do for m in $macs; do
/external/wpa_supplicant_8/src/common/
Dwpa_common.c1180 int rsn_cipher_put_suites(u8 *pos, int ciphers) in rsn_cipher_put_suites() argument
1184 if (ciphers & WPA_CIPHER_CCMP) { in rsn_cipher_put_suites()
1189 if (ciphers & WPA_CIPHER_GCMP) { in rsn_cipher_put_suites()
1194 if (ciphers & WPA_CIPHER_TKIP) { in rsn_cipher_put_suites()
1199 if (ciphers & WPA_CIPHER_NONE) { in rsn_cipher_put_suites()
1209 int wpa_cipher_put_suites(u8 *pos, int ciphers) in wpa_cipher_put_suites() argument
1213 if (ciphers & WPA_CIPHER_CCMP) { in wpa_cipher_put_suites()
1218 if (ciphers & WPA_CIPHER_TKIP) { in wpa_cipher_put_suites()
1223 if (ciphers & WPA_CIPHER_NONE) { in wpa_cipher_put_suites()
1233 int wpa_pick_pairwise_cipher(int ciphers, int none_allowed) in wpa_pick_pairwise_cipher() argument
[all …]
Dwpa_common.h398 int rsn_cipher_put_suites(u8 *pos, int ciphers);
399 int wpa_cipher_put_suites(u8 *pos, int ciphers);
400 int wpa_pick_pairwise_cipher(int ciphers, int none_allowed);
401 int wpa_pick_group_cipher(int ciphers);
403 int wpa_write_ciphers(char *start, char *end, int ciphers, const char *delim);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DConnection.java1151 public synchronized void setClient2ServerCiphers(String[] ciphers) in setClient2ServerCiphers() argument
1153 if ((ciphers == null) || (ciphers.length == 0)) in setClient2ServerCiphers()
1155 ciphers = removeDuplicates(ciphers); in setClient2ServerCiphers()
1156 BlockCipherFactory.checkCipherList(ciphers); in setClient2ServerCiphers()
1157 cryptoWishList.c2s_enc_algos = ciphers; in setClient2ServerCiphers()
1195 public synchronized void setServer2ClientCiphers(String[] ciphers) in setServer2ClientCiphers() argument
1197 if ((ciphers == null) || (ciphers.length == 0)) in setServer2ClientCiphers()
1199 ciphers = removeDuplicates(ciphers); in setServer2ClientCiphers()
1200 BlockCipherFactory.checkCipherList(ciphers); in setServer2ClientCiphers()
1201 cryptoWishList.s2c_enc_algos = ciphers; in setServer2ClientCiphers()
/external/chromium_org/third_party/tlslite/tlslite/
Dconstants.py124 def getSrpSuites(ciphers): argument
126 for cipher in ciphers:
140 def getSrpRsaSuites(ciphers): argument
142 for cipher in ciphers:
157 def getRsaSuites(ciphers): argument
159 for cipher in ciphers:
/external/chromium_org/net/third_party/nss/patches/
Dcipherorder.patch9 +/* SSL_CipherOrderSet sets the cipher suite preference order from |ciphers|,
13 +SSL_IMPORT SECStatus SSL_CipherOrderSet(PRFileDesc *fd, const PRUint16 *ciphers,
28 +ssl3_CipherOrderSet(sslSocket *ss, const ssl3CipherSuite *ciphers, unsigned int len)
30 + /* |i| iterates over |ciphers| while |done| and |j| iterate over
35 + PRUint16 id = ciphers[i];
92 +SSL_CipherOrderSet(PRFileDesc *fd, const PRUint16 *ciphers, unsigned int len)
101 + return ssl3_CipherOrderSet(ss, ciphers, len);
/external/dropbear/libtomcrypt/notes/
Dtech0003.txt9 public key functions. If all you plan on using are the hashes and ciphers than only about 1KB of s…
13 size of a symmetric_key is the size of the largest scheduled key. By removing the ciphers you don'…
42 [#] For all 64-bit SAFER ciphers.
44 … fast cipher and uses very little memory. Ideally in low-ram platforms all other ciphers should be
49 You can easily accomplish this via the "config.pl" script. Simply answer "n" to all of the ciphers
/external/chromium_org/third_party/openssl/openssl/apps/
Dciphers.c93 char *ciphers=NULL; in MAIN() local
149 ciphers= *argv; in MAIN()
166 if (ciphers != NULL) { in MAIN()
167 if(!SSL_CTX_set_cipher_list(ctx,ciphers)) { in MAIN()
/external/openssl/apps/
Dciphers.c93 char *ciphers=NULL; in MAIN() local
149 ciphers= *argv; in MAIN()
166 if (ciphers != NULL) { in MAIN()
167 if(!SSL_CTX_set_cipher_list(ctx,ciphers)) { in MAIN()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Ddtlstransportchannel.cc291 const std::vector<std::string>& ciphers) { in SetSrtpCiphers() argument
292 if (srtp_ciphers_ == ciphers) in SetSrtpCiphers()
305 std::find(ciphers.begin(), ciphers.end(), current_srtp_cipher); in SetSrtpCiphers()
306 if (iter == ciphers.end()) { in SetSrtpCiphers()
308 for (size_t i = 0; i < ciphers.size(); ++i) { in SetSrtpCiphers()
310 requested_str.append(ciphers[i]); in SetSrtpCiphers()
328 srtp_ciphers_ = ciphers; in SetSrtpCiphers()
/external/chromium/net/base/
Dssl_cipher_suite_names_generate.go135 ciphers := make(map[string]int)
165 if cipher_n, ok = ciphers[cipher]; !ok {
166 ciphers[cipher] = next_cipher
187 printDict(ciphers, "kCipherNames")

123456