/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | aes_accel.c | 53 symmetric_key *skey) in rijndael_setup() 99 const symmetric_key *skey) in aes_ecb_encrypt_nblocks() 112 const symmetric_key *skey) in aes_ecb_decrypt_nblocks() 125 const symmetric_key *skey) in rijndael_ecb_encrypt() 131 const symmetric_key *skey) in rijndael_ecb_decrypt() 138 symmetric_key *skey) in aes_cbc_encrypt_nblocks() 153 symmetric_key *skey) in aes_cbc_decrypt_nblocks() 168 int mode, symmetric_key *skey) in aes_ctr_encrypt_nblocks()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | rc2.c | 63 …t rc2_setup_ex(const unsigned char *key, int keylen, int bits, int num_rounds, symmetric_key *skey) in rc2_setup_ex() 126 int rc2_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in rc2_setup() 144 const symmetric_key *skey) in s_rc2_ecb_encrypt() 201 const symmetric_key *skey) in rc2_ecb_encrypt() 222 const symmetric_key *skey) in s_rc2_ecb_decrypt() 280 const symmetric_key *skey) in rc2_ecb_decrypt() 383 void rc2_done(symmetric_key *skey) in rc2_done()
|
A D | rc5.c | 46 static int s_rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in s_rc5_setup() 104 int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in rc5_setup() 121 static int s_rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_rc5_ecb_encrypt() 165 int rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in rc5_ecb_encrypt() 181 static int s_rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_rc5_ecb_decrypt() 226 int rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in rc5_ecb_decrypt() 298 void rc5_done(symmetric_key *skey) in rc5_done()
|
A D | blowfish.c | 298 static void s_blowfish_encipher(ulong32 *L, ulong32 *R, const symmetric_key *skey) in s_blowfish_encipher() 331 void blowfish_enc(ulong32 *data, unsigned long blocks, const symmetric_key *skey) in blowfish_enc() 371 symmetric_key *skey) in blowfish_expand() 433 symmetric_key *skey) in blowfish_setup() 460 symmetric_key *skey) in blowfish_setup_with_data() 475 …c int s_blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_blowfish_ecb_encrypt() 500 int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in blowfish_ecb_encrypt() 516 …c int s_blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_blowfish_ecb_decrypt() 561 int blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in blowfish_ecb_decrypt() 634 void blowfish_done(symmetric_key *skey) in blowfish_done()
|
A D | xtea.c | 26 int xtea_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in xtea_setup() 68 int xtea_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in xtea_ecb_encrypt() 104 int xtea_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in xtea_ecb_decrypt() 227 void xtea_done(symmetric_key *skey) in xtea_done()
|
A D | tea.c | 29 int tea_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in tea_setup() 59 int tea_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in tea_ecb_encrypt() 88 int tea_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in tea_ecb_decrypt() 188 void tea_done(symmetric_key *skey) in tea_done()
|
A D | cast5.c | 401 static int s_cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in s_cast5_setup() 485 int cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in cast5_setup() 525 …atic int s_cast5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_cast5_ecb_encrypt() 563 int cast5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in cast5_ecb_encrypt() 578 …atic int s_cast5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_cast5_ecb_decrypt() 616 int cast5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in cast5_ecb_decrypt() 683 void cast5_done(symmetric_key *skey) in cast5_done()
|
A D | rc6.c | 43 static int s_rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in s_rc6_setup() 99 int rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in rc6_setup() 115 static int s_rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_rc6_ecb_encrypt() 155 int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in rc6_ecb_encrypt() 170 static int s_rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_rc6_ecb_decrypt() 212 int rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in rc6_ecb_decrypt() 300 void rc6_done(symmetric_key *skey) in rc6_done()
|
A D | skipjack.c | 59 int skipjack_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in skipjack_setup() 136 …c int s_skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_skipjack_ecb_encrypt() 184 int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in skipjack_ecb_encrypt() 200 …c int s_skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_skipjack_ecb_decrypt() 252 int skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in skipjack_ecb_decrypt() 312 void skipjack_done(symmetric_key *skey) in skipjack_done()
|
A D | khazad.c | 584 int khazad_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in khazad_setup() 734 int khazad_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in khazad_ecb_encrypt() 750 int khazad_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in khazad_ecb_decrypt() 820 void khazad_done(symmetric_key *skey) in khazad_done()
|
A D | des.c | 1521 int des_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in des_setup() 1548 int des3_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in des3_setup() 1589 int des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in des_ecb_encrypt() 1610 int des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in des_ecb_decrypt() 1631 int des3_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in des3_ecb_encrypt() 1655 int des3_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in des3_ecb_decrypt() 2044 void des_done(symmetric_key *skey) in des_done() 2052 void des3_done(symmetric_key *skey) in des3_done()
|
A D | noekeon.c | 67 int noekeon_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in noekeon_setup() 105 …ic int s_noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_noekeon_ecb_encrypt() 143 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in noekeon_ecb_encrypt() 159 …ic int s_noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_noekeon_ecb_decrypt() 196 int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in noekeon_ecb_decrypt() 296 void noekeon_done(symmetric_key *skey) in noekeon_done()
|
A D | idea.c | 69 static int s_setup_key(const unsigned char *key, symmetric_key *skey) in s_setup_key() 141 int idea_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in idea_setup() 152 int idea_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in idea_ecb_encrypt() 161 int idea_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in idea_ecb_decrypt() 170 void idea_done(symmetric_key *skey) in idea_done()
|
A D | kseed.c | 194 int kseed_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in kseed_setup() 251 int kseed_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in kseed_ecb_encrypt() 273 int kseed_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in kseed_ecb_decrypt() 291 void kseed_done(symmetric_key *skey) in kseed_done()
|
A D | anubis.c | 879 static int s_anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in s_anubis_setup() 1013 int anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in anubis_setup() 1123 int anubis_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in anubis_ecb_encrypt() 1144 int anubis_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in anubis_ecb_decrypt() 1516 void anubis_done(symmetric_key *skey) in anubis_done()
|
A D | camellia.c | 202 int camellia_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in camellia_setup() 433 int camellia_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in camellia_ecb_encrypt() 527 int camellia_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in camellia_ecb_decrypt() 706 void camellia_done(symmetric_key *skey) in camellia_done()
|
A D | multi2.c | 114 int multi2_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in multi2_setup() 145 int multi2_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in multi2_ecb_encrypt() 166 int multi2_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in multi2_ecb_decrypt() 242 symmetric_key skey; in multi2_test() local 288 void multi2_done(symmetric_key *skey) in multi2_done()
|
A D | kasumi.c | 133 int kasumi_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in kasumi_ecb_encrypt() 160 int kasumi_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in kasumi_ecb_decrypt() 187 int kasumi_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in kasumi_setup() 229 void kasumi_done(symmetric_key *skey) in kasumi_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/safer/ |
A D | safer.c | 174 int safer_k64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_k64_setup() 191 int safer_sk64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_sk64_setup() 208 int safer_k128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_k128_setup() 225 int safer_sk128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in safer_sk128_setup() 245 const symmetric_key *skey) in s_safer_ecb_encrypt() 288 const symmetric_key *skey) in safer_ecb_encrypt() 299 const symmetric_key *skey) in s_safer_ecb_decrypt() 343 const symmetric_key *skey) in safer_ecb_decrypt() 440 void safer_done(symmetric_key *skey) in safer_done()
|
A D | saferp.c | 140 static void s_round(unsigned char *b, int i, const symmetric_key *skey) in s_round() 145 static void s_iround(unsigned char *b, int i, const symmetric_key *skey) in s_iround() 217 int saferp_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in saferp_setup() 335 int saferp_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in saferp_ecb_encrypt() 403 int saferp_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in saferp_ecb_decrypt() 538 void saferp_done(symmetric_key *skey) in saferp_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/aes/ |
A D | aes.c | 114 int SETUP(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in SETUP() 278 …c int s_rijndael_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_rijndael_ecb_encrypt() 444 int ECB_ENC(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in ECB_ENC() 462 …c int s_rijndael_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_rijndael_ecb_decrypt() 629 int ECB_DEC(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in ECB_DEC() 713 void ECB_DONE(symmetric_key *skey) in ECB_DONE()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/xcbc/ |
A D | xcbc_init.c | 22 symmetric_key *skey; in xcbc_init() local
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/twofish/ |
A D | twofish.c | 338 …atic int s_twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in s_twofish_setup() 448 int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey) in twofish_setup() 465 …ic int s_twofish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in s_twofish_ecb_encrypt() 523 int twofish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, const symmetric_key *skey) in twofish_ecb_encrypt() 539 …ic int s_twofish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in s_twofish_ecb_decrypt() 599 int twofish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, const symmetric_key *skey) in twofish_ecb_decrypt() 677 void twofish_done(symmetric_key *skey) in twofish_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_decrypt_key.c | 25 unsigned char *skey, *expt; in dsa_decrypt_key() local
|
A D | dsa_encrypt_key.c | 29 unsigned char *expt, *skey; in dsa_encrypt_key() local
|