Home
last modified time | relevance | path

Searched refs:CnMinusOne (Results 1 – 5 of 5) sorted by relevance

/dports/net/cryptcat/unix/
H A Dtwofish2.cc446 char CnMinusOne[16]; in blockCrypt() local
450 qBlockPop( &CnMinusOne[0], &PnMinusOne[0] ); in blockCrypt()
454 blockCrypt16( &CnMinusOne[0], &CBCplusCprime[0] ); in blockCrypt()
469 CnMinusOne[i] = *scanner; in blockCrypt()
472 CnMinusOne[i] = CBCplusCprime[i]; in blockCrypt()
475 blockCrypt16( &CnMinusOne[0], &PnMinusOne[0] ); in blockCrypt()
482 qBlockPush( &CnMinusOne[0], &PnMinusOne[0] ); in blockCrypt()
486 qBlockPop( &PnMinusOne[0], &CnMinusOne[0] ); in blockCrypt()
491 Pn[i] = CnMinusOne[i] ^ Pn[i]; in blockCrypt()
496 flushOutput( &CnMinusOne[0], size ); // old Cn-1 becomes new partial Cn in blockCrypt()
/dports/security/barnyard2/barnyard2-2-1.13/src/
H A Dtwofish.c674 uint8_t CnMinusOne[TwoFish_BLOCK_SIZE]; in _TwoFish_BlockCrypt() local
715 _TwoFish_qBlockPop(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
716 _TwoFish_BlockCrypt16(CnMinusOne,CBCplusCprime,decrypt,tfdata); in _TwoFish_BlockCrypt()
727 CnMinusOne[i]=*p; in _TwoFish_BlockCrypt()
729 CnMinusOne[i]=CBCplusCprime[i]; in _TwoFish_BlockCrypt()
732 _TwoFish_BlockCrypt16(CnMinusOne,PnMinusOne,decrypt,tfdata); in _TwoFish_BlockCrypt()
738 _TwoFish_qBlockPush(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
743 { _TwoFish_qBlockPop(PnMinusOne,CnMinusOne,tfdata); in _TwoFish_BlockCrypt()
747 Pn[i]^=CnMinusOne[i]; in _TwoFish_BlockCrypt()
751 _TwoFish_FlushOutput(CnMinusOne,size,tfdata); /* old Cn-1 becomes new partial Cn */ in _TwoFish_BlockCrypt()
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/
H A Dtwofish.c674 uint8_t CnMinusOne[TwoFish_BLOCK_SIZE]; in _TwoFish_BlockCrypt() local
715 _TwoFish_qBlockPop(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
716 _TwoFish_BlockCrypt16(CnMinusOne,CBCplusCprime,decrypt,tfdata); in _TwoFish_BlockCrypt()
727 CnMinusOne[i]=*p; in _TwoFish_BlockCrypt()
729 CnMinusOne[i]=CBCplusCprime[i]; in _TwoFish_BlockCrypt()
732 _TwoFish_BlockCrypt16(CnMinusOne,PnMinusOne,decrypt,tfdata); in _TwoFish_BlockCrypt()
738 _TwoFish_qBlockPush(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
743 { _TwoFish_qBlockPop(PnMinusOne,CnMinusOne,tfdata); in _TwoFish_BlockCrypt()
747 Pn[i]^=CnMinusOne[i]; in _TwoFish_BlockCrypt()
751 _TwoFish_FlushOutput(CnMinusOne,size,tfdata); /* old Cn-1 becomes new partial Cn */ in _TwoFish_BlockCrypt()
/dports/security/snortsam/snortsam-src-2.70/src/
H A Dtwofish.c691 u_int8_t CnMinusOne[TwoFish_BLOCK_SIZE]; in _TwoFish_BlockCrypt() local
732 _TwoFish_qBlockPop(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
733 _TwoFish_BlockCrypt16(CnMinusOne,CBCplusCprime,decrypt,tfdata); in _TwoFish_BlockCrypt()
744 CnMinusOne[i]=*p; in _TwoFish_BlockCrypt()
746 CnMinusOne[i]=CBCplusCprime[i]; in _TwoFish_BlockCrypt()
749 _TwoFish_BlockCrypt16(CnMinusOne,PnMinusOne,decrypt,tfdata); in _TwoFish_BlockCrypt()
755 _TwoFish_qBlockPush(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
760 { _TwoFish_qBlockPop(PnMinusOne,CnMinusOne,tfdata); in _TwoFish_BlockCrypt()
764 Pn[i]^=CnMinusOne[i]; in _TwoFish_BlockCrypt()
768 _TwoFish_FlushOutput(CnMinusOne,size,tfdata); /* old Cn-1 becomes new partial Cn */ in _TwoFish_BlockCrypt()
/dports/security/n2n/n2n-2.8/src/
H A Dtwofish.c656 uint8_t CnMinusOne[TwoFish_BLOCK_SIZE]; in _TwoFish_BlockCrypt() local
697 _TwoFish_qBlockPop(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
698 _TwoFish_BlockCrypt16(CnMinusOne,CBCplusCprime,decrypt,tfdata); in _TwoFish_BlockCrypt()
709 CnMinusOne[i]=*p; in _TwoFish_BlockCrypt()
711 CnMinusOne[i]=CBCplusCprime[i]; in _TwoFish_BlockCrypt()
714 _TwoFish_BlockCrypt16(CnMinusOne,PnMinusOne,decrypt,tfdata); in _TwoFish_BlockCrypt()
720 _TwoFish_qBlockPush(CnMinusOne,PnMinusOne,tfdata); in _TwoFish_BlockCrypt()
725 { _TwoFish_qBlockPop(PnMinusOne,CnMinusOne,tfdata); in _TwoFish_BlockCrypt()
729 Pn[i]^=CnMinusOne[i]; in _TwoFish_BlockCrypt()
733 _TwoFish_FlushOutput(CnMinusOne,size,tfdata); /* old Cn-1 becomes new partial Cn */ in _TwoFish_BlockCrypt()