Lines Matching refs:representativeByteLength
53 const size_t representativeByteLength = BitsToBytes(representativeBitLength);
56 byte *const h = representative + representativeByteLength - u - digestSize;
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;
92 const size_t representativeByteLength = BitsToBytes(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);
112 byte *salt = representative + representativeByteLength - u - digestSize - saltSize;