MCPcopy Create free account
hub / github.com/LUX-Core/lux / ProcessAndXorBlock

Method ProcessAndXorBlock

src/cryptopp/des.cpp:377–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void DES_EDE2::Base::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const
378{
379 word32 l,r;
380 Block::Get(inBlock)(l)(r);
381 IPERM(l,r);
382 m_des1.RawProcessBlock(l, r);
383 m_des2.RawProcessBlock(r, l);
384 m_des1.RawProcessBlock(l, r);
385 FPERM(l,r);
386 Block::Put(xorBlock, outBlock)(r)(l);
387}
388
389void DES_EDE3::Base::UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &)
390{

Callers

nothing calls this directly

Calls 5

IPERMFunction · 0.85
FPERMFunction · 0.85
xorbufFunction · 0.85
RawProcessBlockMethod · 0.80
PutFunction · 0.70

Tested by

no test coverage detected