/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/ |
H A D | tiger.h | 10 class Tiger : public IteratedHashWithStaticTransform<word64, LittleEndian, 64, 24, Tiger> 14 static void Transform(word64 *digest, const word64 *data); 19 static const word64 table[4*256+3];
|
H A D | whrlpool.h | 10 class Whirlpool : public IteratedHashWithStaticTransform<word64, BigEndian, 64, 64, Whirlpool> 14 static void Transform(word64 *digest, const word64 *data);
|
H A D | vmac.h | 10 class VMAC_Base : public IteratedHashBase<word64, MessageAuthenticationCode> 28 void HashEndianCorrectedBlock(const word64 *data); 29 size_t HashMultipleBlocks(const word64 *input, size_t length); 31 word64* StateBuf() {return NULL;} 32 word64* DataBuf() {return (word64 *)m_data();} 34 void VHASH_Update_SSE2(const word64 *data, size_t blocksRemainingInWord64, int tagPart); 38 void VHASH_Update_Template(const word64 *data, size_t blockRemainingInWord128); 39 void VHASH_Update(const word64 *data, size_t blocksRemainingInWord128); 41 CRYPTOPP_BLOCK_1(polyState, word64, [all...] |
H A D | misc.cpp | 19 if (!CRYPTOPP_BOOL_SLOW_WORD64 && IsAligned<word64>(buf) && IsAligned<word64>(mask)) 22 ((word64*)buf)[i] ^= ((word64*)mask)[i]; 49 if (!CRYPTOPP_BOOL_SLOW_WORD64 && IsAligned<word64>(output) && IsAligned<word64>(input) && IsAligned<word64>(mask)) 52 ((word64*)output)[i] = ((word64*)input)[i] ^ ((word64*)mas [all...] |
H A D | sha.h | 44 class CRYPTOPP_DLL SHA512 : public IteratedHashWithStaticTransform<word64, BigEndian, 128, 64, SHA512, 64, CRYPTOPP_BOOL_X86> 48 static void CRYPTOPP_API Transform(word64 *digest, const word64 *data); 53 class CRYPTOPP_DLL SHA384 : public IteratedHashWithStaticTransform<word64, BigEndian, 128, 64, SHA384, 48, CRYPTOPP_BOOL_X86> 57 static void CRYPTOPP_API Transform(word64 *digest, const word64 *data) {SHA512::Transform(digest, data);}
|
H A D | vmac.cpp | 19 static const word64 p64 = W64LIT(0xfffffffffffffeff); /* 2^64 - 257 prime */ 20 static const word64 m62 = W64LIT(0x3fffffffffffffff); /* 62-bit mask */ 21 static const word64 m63 = W64LIT(0x7fffffffffffffff); /* 63-bit mask */ 22 static const word64 m64 = W64LIT(0xffffffffffffffff); /* 64-bit mask */ 23 static const word64 mpoly = W64LIT(0x1fffffff1fffffff); /* Poly key mask */ 52 unsigned int blockSizeInWords = blockSize / sizeof(word64); 53 SecBlock<word64> out(blockSizeInWords); 60 cipher.AdvancedProcessBlocks(in, NULL, (byte *)m_nhKey(), m_nhKeySize()*sizeof(word64), cipher.BT_InBlockIsCounter); 61 ConditionalByteReverse<word64>(BIG_ENDIAN_ORDER, m_nhKey(), m_nhKey(), m_nhKeySize()*sizeof(word64)); [all...] |
H A D | shark.h | 29 SecBlock<word64> m_roundKeys; 42 static const word64 cbox[8][256]; 52 static const word64 cbox[8][256];
|
H A D | shark.cpp | 11 static word64 SHARKTransform(word64 a) 24 word64 result=0; 28 result ^= word64(gf256.Multiply(iG[i][j], GF256::Element(a>>(56-8*j)))) << (56-8*i); 89 typedef word64 ArrayOf256Word64s[256]; 93 inline SharkProcessAndXorBlock(const word64 *roundKeys, unsigned int rounds, const byte *inBlock, const byte *xorBlock, byte *outBlock) 95 word64 tmp = *(word64 *)inBlock ^ roundKeys[0]; 123 *(word64 *)outBlock ^= roundKeys[rounds];
|
H A D | misc.h | 509 template<> inline word64 rotlFixed<word64>(word64 x, unsigned int y) 515 template<> inline word64 rotrFixed<word64>(word64 x, unsigned int y) 521 template<> inline word64 rotlVariable<word64>(word64 x, unsigned int y) 527 template<> inline word64 rotrVariabl [all...] |
H A D | config.h | 108 typedef unsigned __int64 word64; typedef 111 typedef unsigned long long word64; typedef 116 typedef word64 lword; 127 typedef word64 word; 135 typedef word64 word; 143 typedef word64 dword; 150 typedef word64 dword;
|
H A D | gcm.cpp | 31 word64 Z0=0, Z1=0, V0, V1; 33 typedef BlockGetAndPut<word64, BigEndian> Block; 65 ((word64 *)a)[0] = ((word64 *)b)[0] ^ ((word64 *)c)[0]; 66 ((word64 *)a)[1] = ((word64 *)b)[1] ^ ((word64 *)c)[1]; 95 word64 V0, V1; 97 typedef BlockGetAndPut<word64, BigEndia [all...] |
H A D | hrtimer.h | 12 typedef word64 TimerWord;
|
H A D | tiger.cpp | 33 void Tiger::Transform (word64 *digest, const word64 *X) 45 const word64 *t = table; 207 word64 a = digest[0]; 208 word64 b = digest[1]; 209 word64 c = digest[2]; 210 word64 Y[8];
|
H A D | ccm.cpp | 63 PutWord<word64>(true, BIG_ENDIAN_ORDER, cbcBuffer+REQUIRED_BLOCKSIZE-8, m_messageLength); 87 PutWord<word64>(false, BIG_ENDIAN_ORDER, m_buffer+2, headerLength);
|
H A D | iterhash.cpp | 152 template class IteratedHashBase<word64, HashTransformation>; 153 template class IteratedHashBase<word64, MessageAuthenticationCode>;
|
H A D | iterhash.h | 97 CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word64, HashTransformation>; 98 CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word64, MessageAuthenticationCode>;
|
H A D | ccm.h | 71 word64 m_messageLength, m_aadLength;
|
H A D | seed.cpp | 59 word64 key01, key23; 60 GetBlock<word64, BigEndian> get(userKey); 78 key23 = rotlFixed<word64>(key23, 8); 80 key01 = rotrFixed<word64>(key01, 8);
|
H A D | camellia.cpp | 80 word64 kwl, kwr; 83 kwl = (word64(k0) << 32) | k1; \ 84 kwr = (word64(k2) << 32) | k3 86 *(word64*)CALC_ADDR(ks32, i+EFI(0)) = kwl; \ 87 *(word64*)CALC_ADDR(ks32, i+EFI(1)) = kwr 89 if (which & (1<<int(r<64))) *(word64*)CALC_ADDR(ks32, i+EFI(r<64)) = (kwr << (r%64)) | (kwl >> (64 - (r%64))); \ 90 if (which & (1<<int(r>64))) *(word64*)CALC_ADDR(ks32, i+EFI(r>64)) = (kwl << (r%64)) | (kwr >> (64 - (r%64)))
|
H A D | sha.cpp | 603 static const word64 s[8] = { 613 static const word64 s[8] = { 622 CRYPTOPP_ALIGN_DATA(16) static const word64 SHA512_K[80] CRYPTOPP_SECTION_ALIGN16 = { 624 static const word64 SHA512_K[80] = { 670 CRYPTOPP_NAKED static void CRYPTOPP_FASTCALL SHA512_SSE2_Transform(word64 *state, const word64 *data) 855 void SHA512::Transform(word64 *state, const word64 *data) 873 word64 W[16]; 874 word64 [all...] |
H A D | whrlpool.cpp | 115 CRYPTOPP_ALIGN_DATA(16) static const word64 Whirlpool_C[4*256+R] CRYPTOPP_SECTION_ALIGN16 = { 117 static const word64 Whirlpool_C[4*256+R] = { 392 void Whirlpool::Transform(word64 *digest, const word64 *block) 400 word64 workspace[16]; 588 word64 s[8]; // the cipher state 589 word64 k[8]; // the round key 649 word64 w0, w1, w2, w3, w4, w5, w6, w7; // temporary storage
|
H A D | rijndael.cpp | 80 namespace rdtable {CRYPTOPP_ALIGN_DATA(16) word64 Te[256+2];} 83 static word64 Te[256]; 85 static word64 Td[256]; 162 Te[i] = word64(y | f3(x))<<32 | y; 185 Td[i] = word64(y | fb(x))<<32 | y | x;
|
H A D | secblock.h | 168 CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup<word64>;
|
H A D | validat1.cpp | 164 if (*(word32 *)(testvals+3) == 0x03030303 && *(word64 *)(testvals+1) == W64LIT(0x0202030303030202)) 202 if (sizeof(word64) == 8) 209 cout << "sizeof(word64) == " << sizeof(word64) << endl;
|
H A D | cryptlib.cpp | 24 CRYPTOPP_COMPILE_ASSERT(sizeof(word64) == 8);
|