Home
last modified time | relevance | path

Searched defs:skey (Results 1 – 25 of 35) sorted by relevance

12

/external/dropbear/libtomcrypt/src/ciphers/
Drc5.c54 static int _rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _rc5_setup()
112 int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in rc5_setup()
129 static int _rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc5_ecb_encrypt()
168 int rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in rc5_ecb_encrypt()
184 static int _rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc5_ecb_decrypt()
224 int rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in rc5_ecb_decrypt()
295 void rc5_done(symmetric_key *skey) in rc5_done()
Drc2.c70 int rc2_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in rc2_setup()
133 symmetric_key *skey) in _rc2_ecb_encrypt()
190 symmetric_key *skey) in rc2_ecb_encrypt()
211 symmetric_key *skey) in _rc2_ecb_decrypt()
269 symmetric_key *skey) in rc2_ecb_decrypt()
335 void rc2_done(symmetric_key *skey) in rc2_done()
Dxtea.c34 int xtea_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in xtea_setup()
76 int xtea_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in xtea_ecb_encrypt()
112 int xtea_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in xtea_ecb_decrypt()
184 void xtea_done(symmetric_key *skey) in xtea_done()
Dblowfish.c309 symmetric_key *skey) in blowfish_setup()
391 static int _blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _blowfish_ecb_encrypt()
437 int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in blowfish_ecb_encrypt()
453 static int _blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _blowfish_ecb_decrypt()
498 int blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in blowfish_ecb_decrypt()
568 void blowfish_done(symmetric_key *skey) in blowfish_done()
Drc6.c51 static int _rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _rc6_setup()
107 int rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in rc6_setup()
123 static int _rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc6_ecb_encrypt()
162 int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in rc6_ecb_encrypt()
177 static int _rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc6_ecb_decrypt()
218 int rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in rc6_ecb_decrypt()
322 void rc6_done(symmetric_key *skey) in rc6_done()
Dcast5.c409 static int _cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _cast5_setup()
493 int cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in cast5_setup()
539 static int _cast5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _cast5_ecb_encrypt()
577 int cast5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in cast5_ecb_encrypt()
592 static int _cast5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _cast5_ecb_decrypt()
630 int cast5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in cast5_ecb_decrypt()
696 void cast5_done(symmetric_key *skey) in cast5_done()
Dskipjack.c67 int skipjack_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in skipjack_setup()
144 static int _skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _skipjack_ecb_encrypt()
192 int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in skipjack_ecb_encrypt()
208 static int _skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _skipjack_ecb_decrypt()
260 int skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in skipjack_ecb_decrypt()
319 void skipjack_done(symmetric_key *skey) in skipjack_done()
Dnoekeon.c75 int noekeon_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in noekeon_setup()
113 static int _noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _noekeon_ecb_encrypt()
151 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in noekeon_ecb_encrypt()
167 static int _noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _noekeon_ecb_decrypt()
204 int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in noekeon_ecb_decrypt()
278 void noekeon_done(symmetric_key *skey) in noekeon_done()
Dkhazad.c596 int khazad_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in khazad_setup()
746 int khazad_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in khazad_ecb_encrypt()
762 int khazad_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in khazad_ecb_decrypt()
831 void khazad_done(symmetric_key *skey) in khazad_done()
Dkseed.c202 int kseed_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in kseed_setup()
259 int kseed_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in kseed_ecb_encrypt()
281 int kseed_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in kseed_ecb_decrypt()
299 void kseed_done(symmetric_key *skey) in kseed_done()
Danubis.c895 static int _anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _anubis_setup()
1029 int anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in anubis_setup()
1139 int anubis_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in anubis_ecb_encrypt()
1155 int anubis_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in anubis_ecb_decrypt()
1521 void anubis_done(symmetric_key *skey) in anubis_done()
Dkasumi.c141 int kasumi_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in kasumi_ecb_encrypt()
168 int kasumi_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in kasumi_ecb_decrypt()
195 int kasumi_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in kasumi_setup()
237 void kasumi_done(symmetric_key *skey) in kasumi_done()
Ddes.c1560 int des3_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in des3_setup()
1635 int des3_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in des3_ecb_encrypt()
1659 int des3_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in des3_ecb_decrypt()
1872 void des3_done(symmetric_key *skey) in des3_done()
/external/dropbear/libtomcrypt/src/ciphers/safer/
Dsafer.c180 int safer_k64_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) in safer_k64_setup()
197 int safer_sk64_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) in safer_sk64_setup()
214 int safer_k128_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) in safer_k128_setup()
231 int safer_sk128_setup(const unsigned char *key, int keylen, int numrounds, symmetric_key *skey) in safer_sk128_setup()
251 symmetric_key *skey) in _safer_ecb_encrypt()
294 symmetric_key *skey) in safer_ecb_encrypt()
305 symmetric_key *skey) in _safer_ecb_decrypt()
349 symmetric_key *skey) in safer_ecb_decrypt()
446 void safer_done(symmetric_key *skey) in safer_done()
Dsaferp.c139 static void _round(unsigned char *b, int i, symmetric_key *skey) in _round()
144 static void _iround(unsigned char *b, int i, symmetric_key *skey) in _iround()
216 int saferp_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in saferp_setup()
334 int saferp_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in saferp_ecb_encrypt()
398 int saferp_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in saferp_ecb_decrypt()
528 void saferp_done(symmetric_key *skey) in saferp_done()
/external/dropbear/libtomcrypt/src/ciphers/aes/
Daes.c123 int SETUP(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in SETUP()
289 static int _rijndael_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rijndael_ecb_encrypt()
450 int ECB_ENC(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in ECB_ENC()
468 static int _rijndael_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rijndael_ecb_decrypt()
630 int ECB_DEC(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in ECB_DEC()
729 void ECB_DONE(symmetric_key *skey) in ECB_DONE()
/external/dropbear/libtomcrypt/src/ciphers/twofish/
Dtwofish.c346 static int _twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _twofish_setup()
456 int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in twofish_setup()
473 static int _twofish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _twofish_ecb_encrypt()
530 int twofish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in twofish_ecb_encrypt()
546 static int _twofish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _twofish_ecb_decrypt()
605 int twofish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in twofish_ecb_decrypt()
685 void twofish_done(symmetric_key *skey) in twofish_done()
/external/dropbear/libtomcrypt/src/mac/xcbc/
Dxcbc_init.c30 symmetric_key *skey; in xcbc_init() local
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dcrypto_libtomcrypt.c48 symmetric_key skey; in des_encrypt() local
92 symmetric_key *skey; in aes_encrypt_init() local
106 symmetric_key *skey = ctx; in aes_encrypt() local
113 symmetric_key *skey = ctx; in aes_encrypt_deinit() local
121 symmetric_key *skey; in aes_decrypt_init() local
135 symmetric_key *skey = ctx; in aes_decrypt() local
142 symmetric_key *skey = ctx; in aes_decrypt_deinit() local
/external/wpa_supplicant_8/src/crypto/
Dcrypto_libtomcrypt.c42 symmetric_key skey; in des_encrypt() local
87 symmetric_key *skey; in aes_encrypt_init() local
101 symmetric_key *skey = ctx; in aes_encrypt() local
108 symmetric_key *skey = ctx; in aes_encrypt_deinit() local
116 symmetric_key *skey; in aes_decrypt_init() local
130 symmetric_key *skey = ctx; in aes_decrypt() local
137 symmetric_key *skey = ctx; in aes_decrypt_deinit() local
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_decrypt_key.c33 unsigned char *skey, *expt; in dsa_decrypt_key() local
Ddsa_encrypt_key.c37 unsigned char *expt, *skey; in dsa_encrypt_key() local
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_decrypt_key.c39 unsigned char *ecc_shared, *skey, *pub_expt; in ecc_decrypt_key() local
Decc_encrypt_key.c43 unsigned char *pub_expt, *ecc_shared, *skey; in ecc_encrypt_key() local
/external/openssh/
Dauth-skey.c57 struct skey skey; in skey_query() local

12