• Home
  • Raw
  • Download

Lines Matching refs:ct

113 static int _noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey)  in _noekeon_ecb_encrypt()  argument
115 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _noekeon_ecb_encrypt()
123 LTC_ARGCHK(ct != NULL); in _noekeon_ecb_encrypt()
144 STORE32H(a,&ct[0]); STORE32H(b,&ct[4]); in _noekeon_ecb_encrypt()
145 STORE32H(c,&ct[8]); STORE32H(d,&ct[12]); in _noekeon_ecb_encrypt()
151 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in noekeon_ecb_encrypt() argument
153 int err = _noekeon_ecb_encrypt(pt, ct, 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() argument
169 int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _noekeon_ecb_decrypt()
177 LTC_ARGCHK(ct != NULL); in _noekeon_ecb_decrypt()
179 LOAD32H(a,&ct[0]); LOAD32H(b,&ct[4]); in _noekeon_ecb_decrypt()
180 LOAD32H(c,&ct[8]); LOAD32H(d,&ct[12]); in _noekeon_ecb_decrypt()
204 int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in noekeon_ecb_decrypt() argument
206 int err = _noekeon_ecb_decrypt(ct, pt, skey); in noekeon_ecb_decrypt()
223 unsigned char key[16], pt[16], ct[16]; in noekeon_test()
245 if (XMEMCMP(tmp[0], tests[i].ct, 16) || XMEMCMP(tmp[1], tests[i].pt, 16)) { in noekeon_test()
248 if (XMEMCMP(tmp[0], tests[i].ct, 16)) { in noekeon_test()