in the current comment is mentioned that an exception of type std::invalid_argument will be thrown if scheme is not BFV which is not the case in encryptor.cpp (BGV is supported as well), also the exception is logic_error
This commit is contained in:
Imad Chabounia 2022-11-01 09:56:31 +00:00 коммит произвёл Kim Laine
Родитель 15381dcb7e
Коммит fc4047b5a6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -92,7 +92,7 @@ namespace seal
becomes too noisy to decrypt correctly. becomes too noisy to decrypt correctly.
@param[in] encrypted The ciphertext @param[in] encrypted The ciphertext
@throws std::invalid_argument if the scheme is not BFV @throws std::invalid_argument if the scheme is not BFV/BGV
@throws std::invalid_argument if encrypted is not valid for the encryption @throws std::invalid_argument if encrypted is not valid for the encryption
parameters parameters
@throws std::invalid_argument if encrypted is in NTT form @throws std::invalid_argument if encrypted is in NTT form