Home
last modified time | relevance | path

Searched refs:find_cipher (Results 1 – 24 of 24) sorted by relevance

/external/dropbear/libtomcrypt/demos/
Dmulti.c60 omac_memory(find_cipher("aes"), key, 16, (unsigned char*)"hello", 5, buf[0], &len); in main()
62 … omac_memory_multi(find_cipher("aes"), key, 16, buf[1], &len2, (unsigned char*)"hello", 5UL, NULL); in main()
68 …omac_memory_multi(find_cipher("aes"), key, 16, buf[1], &len2, (unsigned char*)"he", 2UL, "llo", 3U… in main()
74 …omac_memory_multi(find_cipher("aes"), key, 16, buf[1], &len2, (unsigned char*)"h", 1UL, "e", 1UL, … in main()
82 pmac_memory(find_cipher("aes"), key, 16, (unsigned char*)"hello", 5, buf[0], &len); in main()
84 pmac_memory_multi(find_cipher("aes"), key, 16, buf[1], &len2, (unsigned char*)"hello", 5, NULL); in main()
90 …pmac_memory_multi(find_cipher("aes"), key, 16, buf[1], &len2, (unsigned char*)"he", 2UL, "llo", 3U… in main()
96 …pmac_memory_multi(find_cipher("aes"), key, 16, buf[1], &len2, (unsigned char*)"h", 1UL, "e", 1UL, … in main()
Dencrypt.c139 cipher_idx = find_cipher(cipher); in main()
Dtv_gen.c714 if ((err = lrw_start(find_cipher("aes"), iv, key, 16, tweak, 0, &lrw)) != CRYPT_OK) { in lrw_gen()
/external/dropbear/libtomcrypt/src/mac/xcbc/
Dxcbc_test.c103 if ((idx = find_cipher("aes")) == -1) { in xcbc_test()
104 if ((idx = find_cipher("rijndael")) == -1) { in xcbc_test()
/external/dropbear/libtomcrypt/src/modes/f8/
Df8_test_mode.c45 idx = find_cipher("aes"); in f8_test_mode()
47 idx = find_cipher("rijndael"); in f8_test_mode()
/external/dropbear/libtomcrypt/src/mac/omac/
Domac_test.c81 if ((idx = find_cipher("aes")) == -1) { in omac_test()
82 if ((idx = find_cipher("rijndael")) == -1) { in omac_test()
/external/dropbear/libtomcrypt/src/mac/pmac/
Dpmac_test.c129 if ((idx = find_cipher("aes")) == -1) { in pmac_test()
130 if ((idx = find_cipher("rijndael")) == -1) { in pmac_test()
/external/dropbear/libtomcrypt/src/modes/ctr/
Dctr_test.c56 if ((idx = find_cipher("aes")) == -1) { in ctr_test()
57 if ((idx = find_cipher("rijndael")) == -1) { in ctr_test()
/external/dropbear/libtomcrypt/src/modes/lrw/
Dlrw_test.c76 idx = find_cipher("aes"); in lrw_test()
78 idx = find_cipher("rijndael"); in lrw_test()
/external/dropbear/libtomcrypt/src/encauth/ccm/
Dccm_test.c121 idx = find_cipher("aes"); in ccm_test()
123 idx = find_cipher("rijndael"); in ccm_test()
/external/dropbear/libtomcrypt/src/encauth/ocb/
Docb_test.c172 if ((idx = find_cipher("aes")) == -1) { in ocb_test()
173 if ((idx = find_cipher("rijndael")) == -1) { in ocb_test()
/external/dropbear/libtomcrypt/src/encauth/gcm/
Dgcm_test.c332 idx = find_cipher("aes"); in gcm_test()
334 idx = find_cipher("rijndael"); in gcm_test()
/external/dropbear/libtomcrypt/src/encauth/eax/
Deax_test.c221 if ((idx = find_cipher("aes")) == -1) { in eax_test()
222 if ((idx = find_cipher("rijndael")) == -1) { in eax_test()
/external/dropbear/libtomcrypt/src/misc/crypt/
Dcrypt_find_cipher.c23 int find_cipher(const char *name) in find_cipher() function
Dcrypt_find_cipher_any.c31 x = find_cipher(name); in find_cipher_any()
/external/dropbear/libtomcrypt/src/mac/f9/
Df9_test.c55 if ((idx = find_cipher("kasumi")) == -1) { in f9_test()
/external/dropbear/libtomcrypt/src/hashes/chc/
Dchc.c271 if ((idx = find_cipher("aes")) == -1) { in chc_test()
272 if ((idx = find_cipher("rijndael")) == -1) { in chc_test()
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dcrypto_libtomcrypt.c313 idx = find_cipher("aes"); in crypto_cipher_init()
316 idx = find_cipher("3des"); in crypto_cipher_init()
319 idx = find_cipher("des"); in crypto_cipher_init()
322 idx = find_cipher("rc2"); in crypto_cipher_init()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_libtomcrypt.c306 idx = find_cipher("aes"); in crypto_cipher_init()
309 idx = find_cipher("3des"); in crypto_cipher_init()
312 idx = find_cipher("des"); in crypto_cipher_init()
315 idx = find_cipher("rc2"); in crypto_cipher_init()
/external/dropbear/libtomcrypt/testprof/
Dmodes_test.c25 cipher_idx = find_cipher("aes"); in modes_test()
Dx86_prof.c1165 cipher_idx = find_cipher("aes"); in time_macs_()
1298 cipher_idx = find_cipher("aes"); in time_encmacs_()
/external/dropbear/
Dcommon-kex.c300 recv_cipher = find_cipher(ses.newkeys->recv_algo_crypt->cipherdesc->name); in gen_new_keys()
309 trans_cipher = find_cipher(ses.newkeys->trans_algo_crypt->cipherdesc->name); in gen_new_keys()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_cipher.h828 int find_cipher(const char *name);
/external/dropbear/libtomcrypt/
Dcrypt.tex689 int find_cipher(char *name)
712 cipher_descriptor[find_cipher("blowfish")].
975 find_cipher("twofish"), /* index of desired cipher */
1263 find_cipher("rijndael"), /* cipher id */
1505 ccm_memory(find_cipher("aes"),
1522 ccm_memory(find_cipher("aes"),
1724 gcm_init(&gcm, find_cipher("aes"), key, 16)) != CRYPT_OK) {
2056 if ((err = chc_register(find_cipher("aes"))) != CRYPT_OK) {
2306 idx = find_cipher("rijndael");