• Home
  • Raw
  • Download

Lines Matching refs:ct

132                             unsigned char *ct,  in _rc2_ecb_encrypt()  argument
136 unsigned char *ct, in _rc2_ecb_encrypt()
144 LTC_ARGCHK(ct != NULL); in _rc2_ecb_encrypt()
175 ct[0] = (unsigned char)x10; in _rc2_ecb_encrypt()
176 ct[1] = (unsigned char)(x10 >> 8); in _rc2_ecb_encrypt()
177 ct[2] = (unsigned char)x32; in _rc2_ecb_encrypt()
178 ct[3] = (unsigned char)(x32 >> 8); in _rc2_ecb_encrypt()
179 ct[4] = (unsigned char)x54; in _rc2_ecb_encrypt()
180 ct[5] = (unsigned char)(x54 >> 8); in _rc2_ecb_encrypt()
181 ct[6] = (unsigned char)x76; in _rc2_ecb_encrypt()
182 ct[7] = (unsigned char)(x76 >> 8); in _rc2_ecb_encrypt()
189 unsigned char *ct, in rc2_ecb_encrypt() argument
192 int err = _rc2_ecb_encrypt(pt, ct, skey); in rc2_ecb_encrypt()
209 static int _rc2_ecb_decrypt( const unsigned char *ct, in _rc2_ecb_decrypt() argument
213 int rc2_ecb_decrypt( const unsigned char *ct, in _rc2_ecb_decrypt()
223 LTC_ARGCHK(ct != NULL); in _rc2_ecb_decrypt()
228 x76 = ((unsigned)ct[7] << 8) + (unsigned)ct[6]; in _rc2_ecb_decrypt()
229 x54 = ((unsigned)ct[5] << 8) + (unsigned)ct[4]; in _rc2_ecb_decrypt()
230 x32 = ((unsigned)ct[3] << 8) + (unsigned)ct[2]; in _rc2_ecb_decrypt()
231 x10 = ((unsigned)ct[1] << 8) + (unsigned)ct[0]; in _rc2_ecb_decrypt()
267 int rc2_ecb_decrypt( const unsigned char *ct, in rc2_ecb_decrypt() argument
271 int err = _rc2_ecb_decrypt(ct, pt, skey); in rc2_ecb_decrypt()
288 unsigned char key[16], pt[8], ct[8]; in rc2_test()
318 if (XMEMCMP(tmp[0], tests[x].ct, 8) != 0 || XMEMCMP(tmp[1], tests[x].pt, 8) != 0) { in rc2_test()