зеркало из https://github.com/microsoft/SEAL.git
Update decryptor.h
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:
Родитель
15381dcb7e
Коммит
fc4047b5a6
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче