• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/

Lines Matching refs:representative

48 	byte *representative, size_t representativeBitLength) const
56 byte *const h = representative + representativeByteLength - u - digestSize;
72 // compute representative
73 GetMGF().GenerateAndMask(hash, representative, representativeByteLength - u - digestSize, h, digestSize, false);
74 byte *xorStart = representative + representativeByteLength - u - digestSize - salt.size() - recoverableMessageLength - 1;
78 memcpy(representative + representativeByteLength - u, hashIdentifier.first, hashIdentifier.second);
79 representative[representativeByteLength - 1] = hashIdentifier.second ? 0xcc : 0xbc;
81 representative[0] = (byte)Crop(representative[0], representativeBitLength % 8);
86 byte *representative, size_t representativeBitLength,
95 const byte *const h = representative + representativeByteLength - u - digestSize;
104 valid = (representative[representativeByteLength - 1] == (hashIdentifier.second ? 0xcc : 0xbc)) && valid;
105 valid = VerifyBufsEqual(representative + representativeByteLength - u, hashIdentifier.first, hashIdentifier.second) && valid;
107 GetMGF().GenerateAndMask(hash, representative, representativeByteLength - u - digestSize, h, digestSize);
109 representative[0] = (byte)Crop(representative[0], representativeBitLength % 8);
112 byte *salt = representative + representativeByteLength - u - digestSize - saltSize;
113 byte *M = std::find_if(representative, salt-1, std::bind2nd(std::not_equal_to<byte>(), 0));
116 && (size_t)(M - representative - (representativeBitLength % 8 != 0)) >= MinPadLen(digestSize)