Lines Matching refs:ct
391 static int _blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _blowfish_ecb_encrypt() argument
393 int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _blowfish_ecb_encrypt()
403 LTC_ARGCHK(ct != NULL); in _blowfish_ecb_encrypt()
430 STORE32H(R, &ct[0]); in _blowfish_ecb_encrypt()
431 STORE32H(L, &ct[4]); in _blowfish_ecb_encrypt()
437 int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in blowfish_ecb_encrypt() argument
439 int err = _blowfish_ecb_encrypt(pt, ct, 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() argument
455 int blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _blowfish_ecb_decrypt()
465 LTC_ARGCHK(ct != NULL); in _blowfish_ecb_decrypt()
476 LOAD32H(R, &ct[0]); in _blowfish_ecb_decrypt()
477 LOAD32H(L, &ct[4]); in _blowfish_ecb_decrypt()
498 int blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in blowfish_ecb_decrypt() argument
500 int err = _blowfish_ecb_decrypt(ct, pt, skey); in blowfish_ecb_decrypt()
519 unsigned char key[8], pt[8], ct[8]; in blowfish_test()
551 if ((XMEMCMP(tmp[0], tests[x].ct, 8) != 0) || (XMEMCMP(tmp[1], tests[x].pt, 8) != 0)) { in blowfish_test()