Skip to content

Commit fc4047b

Browse files
Imad Chabouniakimlaine
authored andcommitted
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
1 parent 15381dc commit fc4047b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native/src/seal/decryptor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ namespace seal
9292
becomes too noisy to decrypt correctly.
9393
9494
@param[in] encrypted The ciphertext
95-
@throws std::invalid_argument if the scheme is not BFV
95+
@throws std::invalid_argument if the scheme is not BFV/BGV
9696
@throws std::invalid_argument if encrypted is not valid for the encryption
9797
parameters
9898
@throws std::invalid_argument if encrypted is in NTT form

0 commit comments

Comments
 (0)