/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_cipher.h | 188 } symmetric_key; typedef 198 symmetric_key key; 216 symmetric_key key; 232 symmetric_key key; 246 symmetric_key key; 267 symmetric_key key; 288 symmetric_key key; 312 symmetric_key key; 338 int (*setup)(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey); 345 int (*ecb_encrypt)(const unsigned char *pt, unsigned char *ct, symmetric_key *skey); [all …]
|
D | tomcrypt_mac.h | 35 symmetric_key key; 65 symmetric_key key; /* scheduled key for cipher */ 149 symmetric_key key; /* scheduled key for cipher */ 203 symmetric_key *uskey, 235 symmetric_key K; 296 symmetric_key K; 318 symmetric_key key; 351 symmetric_key key;
|
D | tomcrypt_prng.h | 22 symmetric_key skey;
|
/external/dropbear/libtomcrypt/src/ciphers/ |
D | rc5.c | 54 static int _rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _rc5_setup() 56 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() 131 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() 186 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() 265 symmetric_key key; in rc5_test() [all …]
|
D | rc6.c | 51 static int _rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _rc6_setup() 53 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() 125 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() 179 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() 275 symmetric_key key; in rc6_test() [all …]
|
D | skipjack.c | 67 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() 146 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() 210 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() 288 symmetric_key key; in skipjack_test() 319 void skipjack_done(symmetric_key *skey) in skipjack_done()
|
D | rc2.c | 70 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() 137 symmetric_key *skey) in _rc2_ecb_encrypt() 190 symmetric_key *skey) in rc2_ecb_encrypt() 211 symmetric_key *skey) in _rc2_ecb_decrypt() 215 symmetric_key *skey) in _rc2_ecb_decrypt() 269 symmetric_key *skey) in rc2_ecb_decrypt() 306 symmetric_key skey; in rc2_test() 335 void rc2_done(symmetric_key *skey) in rc2_done()
|
D | blowfish.c | 309 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() 393 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() 455 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() 517 symmetric_key key; in blowfish_test() 568 void blowfish_done(symmetric_key *skey) in blowfish_done()
|
D | noekeon.c | 75 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() 115 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() 169 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() 233 symmetric_key key; in noekeon_test() 278 void noekeon_done(symmetric_key *skey) in noekeon_done()
|
D | kasumi.c | 101 static ulong32 FO( ulong32 in, int round_no, symmetric_key *key) in FO() 125 static ulong32 FL( ulong32 in, int round_no, symmetric_key *key ) in FL() 141 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() 293 symmetric_key key; in kasumi_test()
|
D | kseed.c | 202 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() 342 symmetric_key skey; in kseed_test()
|
D | xtea.c | 34 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() 158 symmetric_key skey; in xtea_test() 184 void xtea_done(symmetric_key *skey) in xtea_done()
|
D | anubis.c | 895 static int _anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _anubis_setup() 897 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() 1497 symmetric_key skey; in anubis_test() 1521 void anubis_done(symmetric_key *skey) in anubis_done()
|
D | cast5.c | 409 static int _cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _cast5_setup() 411 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() 541 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() 594 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() 670 symmetric_key key; in cast5_test() [all …]
|
D | des.c | 1532 int des_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) 1560 int des3_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in des3_setup() 1592 int des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) 1613 int des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) 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() 1795 symmetric_key des; 1830 symmetric_key skey; in des3_test() 1864 void des_done(symmetric_key *skey) 1872 void des3_done(symmetric_key *skey) in des3_done()
|
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
D | safer.c | 180 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() 255 symmetric_key *skey) in _safer_ecb_encrypt() 294 symmetric_key *skey) in safer_ecb_encrypt() 305 symmetric_key *skey) in _safer_ecb_decrypt() 309 symmetric_key *skey) in _safer_ecb_decrypt() 349 symmetric_key *skey) in safer_ecb_decrypt() [all …]
|
D | saferp.c | 139 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() 499 symmetric_key skey; in saferp_test() 528 void saferp_done(symmetric_key *skey) in saferp_done()
|
/external/dropbear/libtomcrypt/src/ciphers/twofish/ |
D | twofish.c | 293 static ulong32 _g_func(ulong32 x, symmetric_key *key) in _g_func() 295 static ulong32 g_func(ulong32 x, symmetric_key *key) in _g_func() 326 static ulong32 g_func(ulong32 x, symmetric_key *key) in g_func() 346 static int _twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in _twofish_setup() 348 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() 475 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() [all …]
|
/external/dropbear/libtomcrypt/src/ciphers/aes/ |
D | aes.c | 123 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() 291 int ECB_ENC(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() 470 int ECB_DEC(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() 681 symmetric_key key; in ECB_TEST() 729 void ECB_DONE(symmetric_key *skey) in ECB_DONE()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_libtomcrypt.c | 42 symmetric_key skey; in des_encrypt() 87 symmetric_key *skey; in aes_encrypt_init() 101 symmetric_key *skey = ctx; in aes_encrypt() 108 symmetric_key *skey = ctx; in aes_encrypt_deinit() 116 symmetric_key *skey; in aes_decrypt_init() 130 symmetric_key *skey = ctx; in aes_decrypt() 137 symmetric_key *skey = ctx; in aes_decrypt_deinit()
|
/external/dropbear/libtomcrypt/notes/ |
D | tech0003.txt | 12 To save space all of the symmetric key scheduled keys are stored in a union called "symmetric_key".… 13 size of a symmetric_key is the size of the largest scheduled key. By removing the ciphers you don'…
|
/external/dropbear/libtomcrypt/src/hashes/chc/ |
D | chc.c | 89 symmetric_key *key; in chc_init() 135 symmetric_key *key; in chc_compress()
|
/external/dropbear/libtomcrypt/src/mac/xcbc/ |
D | xcbc_init.c | 30 symmetric_key *skey; in xcbc_init()
|
/external/dropbear/libtomcrypt/src/encauth/ccm/ |
D | ccm_memory.c | 40 symmetric_key *uskey, in ccm_memory() 49 symmetric_key *skey; in ccm_memory()
|
D | ccm_test.c | 119 symmetric_key skey; in ccm_test()
|