Lines Matching defs:plainTextLength
19 size_t GetSymmetricKeyLength(size_t plainTextLength) const
24 size_t GetSymmetricCiphertextLength(size_t plainTextLength) const
27 if (plainTextLength <= GetMaxSymmetricPlaintextLength(len))
42 void SymmetricEncrypt(RandomNumberGenerator &rng, const byte *key, const byte *plainText, size_t plainTextLength, byte *cipherText, const NameValuePairs ¶meters) const
48 rng.GenerateBlock(block, modulusLen-2-plainTextLength);
49 memcpy(block+modulusLen-2-plainTextLength, plainText, plainTextLength);
50 block[modulusLen-2] = (byte)plainTextLength;
66 unsigned int plainTextLength = plainText[0];
67 if (plainTextLength > GetMaxSymmetricPlaintextLength(modulusLen))
70 m.Encode(plainText, plainTextLength);
71 return DecodingResult(plainTextLength);