| 123 | } |
| 124 | |
| 125 | void SimpleKeyingInterface::ThrowIfInvalidIV(const byte *iv) |
| 126 | { |
| 127 | if (!iv && IVRequirement() == UNPREDICTABLE_RANDOM_IV) |
| 128 | throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object cannot use a null IV"); |
| 129 | } |
| 130 | |
| 131 | size_t SimpleKeyingInterface::ThrowIfInvalidIVLength(int size) |
| 132 | { |
no test coverage detected