Lines Matching defs:symmetric_key
188 } symmetric_key;
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);
352 int (*ecb_decrypt)(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
361 void (*done)(symmetric_key *skey);
377 int (*accel_ecb_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, symmetric_key *skey);
386 int (*accel_ecb_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, symmetric_key *skey);
396 int (*accel_cbc_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, symmetric_key *skey);
406 int (*accel_cbc_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigned char *IV, symmetric_key *skey);
417 int (*accel_ctr_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, int mode, symmetric_key *skey);
428 int (*accel_lrw_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, const unsigned char *tweak, symmetric_key *skey);
439 int (*accel_lrw_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigned char *IV, const unsigned char *tweak, symmetric_key *skey);
459 symmetric_key *uskey,
536 int blowfish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
537 int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
538 int blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
540 void blowfish_done(symmetric_key *skey);
546 int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
547 int rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
548 int rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
550 void rc5_done(symmetric_key *skey);
556 int rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
557 int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
558 int rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
560 void rc6_done(symmetric_key *skey);
566 int rc2_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
567 int rc2_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
568 int rc2_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
570 void rc2_done(symmetric_key *skey);
576 int saferp_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
577 int saferp_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
578 int saferp_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
580 void saferp_done(symmetric_key *skey);
586 int safer_k64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
587 int safer_sk64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
588 int safer_k128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
589 int safer_sk128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
590 int safer_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *key);
591 int safer_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *key);
595 void safer_done(symmetric_key *skey);
615 int rijndael_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
616 int rijndael_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
617 int rijndael_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
619 void rijndael_done(symmetric_key *skey);
621 int rijndael_enc_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
622 int rijndael_enc_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
623 void rijndael_enc_done(symmetric_key *skey);
630 int xtea_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
631 int xtea_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
632 int xtea_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
634 void xtea_done(symmetric_key *skey);
640 int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
641 int twofish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
642 int twofish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
644 void twofish_done(symmetric_key *skey);
650 int des_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
651 int des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
652 int des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
654 void des_done(symmetric_key *skey);
656 int des3_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
657 int des3_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
658 int des3_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
660 void des3_done(symmetric_key *skey);
666 int cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
667 int cast5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
668 int cast5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
670 void cast5_done(symmetric_key *skey);
676 int noekeon_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
677 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
678 int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
680 void noekeon_done(symmetric_key *skey);
686 int skipjack_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
687 int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
688 int skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
690 void skipjack_done(symmetric_key *skey);
696 int khazad_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
697 int khazad_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
698 int khazad_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
700 void khazad_done(symmetric_key *skey);
706 int anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
707 int anubis_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
708 int anubis_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
710 void anubis_done(symmetric_key *skey);
716 int kseed_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
717 int kseed_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
718 int kseed_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
720 void kseed_done(symmetric_key *skey);
726 int kasumi_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
727 int kasumi_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
728 int kasumi_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
730 void kasumi_done(symmetric_key *skey);