MCPcopy Create free account
hub / github.com/Clarionos/clarion / F

Method F

libraries/fc/src/crypto/blowfish.cpp:20–23  ·  view source on GitHub ↗

Function F

Source from the content-addressed store, hash-verified

18
19//Function F
20inline unsigned int blowfish::F(unsigned int ui)
21{
22 return ((m_auiS[0][Byte(ui>>24)] + m_auiS[1][Byte(ui>>16)]) ^ m_auiS[2][Byte(ui>>8)]) + m_auiS[3][Byte(ui)];
23}
24
25//Initialization with a fixed string which consists of the hexadecimal digits of PI (less the initial 3)
26//P-array, 18 32-bit subkeys

Callers

nothing calls this directly

Calls 1

ByteFunction · 0.85

Tested by

no test coverage detected