/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/missing/crypto/rijndael/ |
H A D | rijndael-alg-fst.c | 39 word32 x32[MAXKC]; 45 *((word32*)tk[j]) = *((word32*)k[j]); 52 *((word32*)W[r][t]) = *((word32*)tk[j]); 70 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); 74 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); 81 *((word32*)t [all...] |
H A D | rijndael-api-fst.c | 115 ((word32*)block)[0] = ((word32*)cipher->IV)[0] ^ ((word32*)input)[0]; 116 ((word32*)block)[1] = ((word32*)cipher->IV)[1] ^ ((word32*)input)[1]; 117 ((word32*)block)[2] = ((word32*)cipher->IV)[2] ^ ((word32*)input)[2]; 118 ((word32*)bloc [all...] |
H A D | rijndael_local.h | 7 typedef u_int32_t word32; typedef
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/ |
H A D | ripemd.h | 10 class RIPEMD160 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 20, RIPEMD160> 14 static void Transform(word32 *digest, const word32 *data); 19 class RIPEMD320 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 40, RIPEMD320> 23 static void Transform(word32 *digest, const word32 *data); 29 class RIPEMD128 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, RIPEMD128> 33 static void Transform(word32 *digest, const word32 *data); 39 class RIPEMD256 : public IteratedHashWithStaticTransform<word32, LittleEndia [all...] |
H A D | ttmac.h | 12 class CRYPTOPP_NO_VTABLE TTMAC_Base : public FixedKeyLength<20>, public IteratedHash<word32, LittleEndian, 64, MessageAuthenticationCode> 23 static void Transform (word32 *digest, const word32 *X, bool last); 24 void HashEndianCorrectedBlock(const word32 *data) {Transform(m_digest, data, false);} 26 word32* StateBuf() {return m_digest;} 28 FixedSizeSecBlock<word32, 10> m_digest; 29 FixedSizeSecBlock<word32, 5> m_key;
|
H A D | blowfish.h | 27 void crypt_block(const word32 in[2], word32 out[2]) const; 29 static const word32 p_init[ROUNDS+2]; 30 static const word32 s_init[4*256]; 32 FixedSizeSecBlock<word32, ROUNDS+2> pbox; 33 FixedSizeSecBlock<word32, 4*256> sbox;
|
H A D | md4.h | 13 class MD4 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, MD4> 17 static void Transform(word32 *digest, const word32 *data);
|
H A D | md5.h | 11 class MD5 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, MD5> 15 static void Transform(word32 *digest, const word32 *data);
|
H A D | twofish.h | 27 static word32 h0(word32 x, const word32 *key, unsigned int kLen); 28 static word32 h(word32 x, const word32 *key, unsigned int kLen); 31 static const word32 mds[4][256]; 33 FixedSizeSecBlock<word32, 40> m_k; 34 FixedSizeSecBlock<word32[256], 4> m_s;
|
H A D | sha.h | 9 class CRYPTOPP_DLL SHA1 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 20, SHA1> 13 static void CRYPTOPP_API Transform(word32 *digest, const word32 *data); 20 class CRYPTOPP_DLL SHA256 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA256, 32, true> 24 size_t HashMultipleBlocks(const word32 *input, size_t length); 27 static void CRYPTOPP_API Transform(word32 *digest, const word32 *data); 32 class CRYPTOPP_DLL SHA224 : public IteratedHashWithStaticTransform<word32, BigEndian, 64, 32, SHA224, 28, true> 36 size_t HashMultipleBlocks(const word32 *input, size_t length); 39 static void CRYPTOPP_API Transform(word32 *diges [all...] |
H A D | wake.h | 27 word32 M(word32 x, word32 y); 28 void GenKey(word32 k0, word32 k1, word32 k2, word32 k3); 30 word32 t[257]; 31 word32 r3, r4, r5, r6; 36 : public CFB_CipherConcretePolicy<word32, [all...] |
H A D | 3way.cpp | 16 static const word32 START_E = 0x0b0b; // round constant of first encryption round 17 static const word32 START_D = 0xb1b1; // round constant of first decryption round 18 static const word32 RC_MODULUS = 0x11011; 20 static inline word32 reverseBits(word32 a) 30 word32 t = reverseBits(a0); \ 37 word32 b0, b2; \ 48 word32 b0, b1, c; \ 71 m_k[i] = (word32)uk[4*i+3] | ((word32)u [all...] |
H A D | misc.cpp | 17 if (IsAligned<word32>(buf) && IsAligned<word32>(mask)) 31 ((word32*)buf)[i] ^= ((word32*)mask)[i]; 47 if (IsAligned<word32>(output) && IsAligned<word32>(input) && IsAligned<word32>(mask)) 62 ((word32*)output)[i] = ((word32*)input)[i] ^ ((word32*)mas [all...] |
H A D | blowfish.cpp | 14 word32 data, dspace[2] = {0, 0}; 44 void Blowfish::Base::crypt_block(const word32 in[2], word32 out[2]) const 46 word32 left = in[0]; 47 word32 right = in[1]; 49 const word32 *const s=sbox; 50 const word32 *p=pbox; 73 typedef BlockGetAndPut<word32, BigEndian> Block; 75 word32 left, right; 78 const word32 *cons [all...] |
H A D | seal.h | 16 class CRYPTOPP_NO_VTABLE SEAL_Policy : public AdditiveCipherConcretePolicy<word32, 256>, public SEAL_Info<B> 26 FixedSizeSecBlock<word32, 512> m_T; 27 FixedSizeSecBlock<word32, 256> m_S; 28 SecBlock<word32> m_R; 30 word32 m_startCount, m_iterationsPerCount; 31 word32 m_outsideCounter, m_insideCounter;
|
H A D | square.cpp | 12 static void SquareTransform (word32 in[4], word32 out[4]) 26 word32 temp = 0; 29 temp ^= (word32)gf256.Multiply(GETBYTE(in[i], 3-k), G[k][j]) << ((3-j)*8); 38 static const word32 offset[ROUNDS] = { 100 text[0] = ((word32) (S[MSB (temp[0])]) << 24) \ 101 ^ ((word32) (S[MSB (temp[1])]) << 16) \ 102 ^ ((word32) (S[MSB (temp[2])]) << 8) \ 103 ^ (word32) (S[MSB (temp[3])]) \ 105 text[1] = ((word32) ( [all...] |
H A D | tea.cpp | 9 static const word32 DELTA = 0x9e3779b9; 10 typedef BlockGetAndPut<word32, BigEndian> Block; 22 word32 y, z; 25 word32 sum = 0; 38 word32 y, z; 41 word32 sum = m_limit; 62 word32 y, z; 65 word32 sum = 0; 78 word32 y, z; 81 word32 su [all...] |
H A D | rng.h | 16 LC_RNG(word32 init_seed) 21 word32 GetSeed() {return seed;} 24 word32 seed; 26 static const word32 m; 27 static const word32 q;
|
H A D | twofish.cpp | 22 static word32 ReedSolomon(word32 high, word32 low) 32 inline word32 Twofish::Base::h0(word32 x, const word32 *key, unsigned int kLen) 46 inline word32 Twofish::Base::h(word32 x, const word32 *key, unsigned int kLen) 57 SecBlock<word32> ke [all...] |
H A D | crc.h | 8 const word32 CRC32_NEGL = 0xffffffffL; 36 static const word32 m_tab[256]; 37 word32 m_crc;
|
H A D | sosemanuk.h | 15 class SosemanukPolicy : public AdditiveCipherConcretePolicy<word32, 20>, public SosemanukInfo 27 FixedSizeSecBlock<word32, 25*4> m_key; 28 FixedSizeAlignedSecBlock<word32, 12> m_state;
|
H A D | des.cpp | 23 typedef BlockGetAndPut<word32, BigEndian> Block; 27 inline void IPERM(word32 &left, word32 &right) 29 word32 work; 49 inline void FPERM(word32 &left, word32 &right) 51 word32 work; 76 static inline void IPERM(word32 &left, word32 &right) 78 word32 wor [all...] |
H A D | panama.h | 15 void Iterate(size_t count, const word32 *p=NULL, word32 *z=NULL, const word32 *y=NULL); 18 typedef word32 Stage[8]; 21 FixedSizeAlignedSecBlock<word32, 20 + 8*32> m_state; 27 class PanamaHash : protected Panama<B>, public AlgorithmImpl<IteratedHash<word32, NativeByteOrder, 32>, PanamaHash<B> > 38 void HashEndianCorrectedBlock(const word32 *data) {this->Iterate(1, data);} // push 39 size_t HashMultipleBlocks(const word32 *input, size_t length); 40 word32* StateBuf() {return NULL;} 118 class PanamaCipherPolicy : public AdditiveCipherConcretePolicy<word32, [all...] |
H A D | wake.cpp | 16 inline word32 WAKE_Base::M(word32 x, word32 y) 18 word32 w = x+y; 22 void WAKE_Base::GenKey(word32 k0, word32 k1, word32 k2, word32 k3) 63 word32 k0, k1, k2, k3; 64 BlockGetAndPut<word32, BigEndia [all...] |
H A D | cpu.cpp | 34 bool CpuId(word32 input, word32 *output) 93 bool CpuId(word32 input, word32 *output) 149 word32 g_cacheLineSize = CRYPTOPP_L1_CACHE_LINE_SIZE; 153 word32 cpuid[4], cpuid1[4]; 168 word32 cpuid2[4];
|