This commit is contained in:
Kim Laine (HE/HIM) 2023-01-03 21:24:42 -08:00
Родитель 42865136f3
Коммит fd5591f047
3 изменённых файлов: 3 добавлений и 3 удалений

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

@ -650,7 +650,7 @@ namespace Microsoft.Research.SEAL
/// <summary>
/// Returns a reference to the correction factor. This is only needed when using the
/// BGV encryption scheme. The user should have little or no reason to ever
/// change the scale by hand.
/// change the correction factor by hand.
/// </summary>
public ulong CorrectionFactor
{

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

@ -653,7 +653,7 @@ namespace seal
/**
Returns a reference to the correction factor. This is only needed when using the BGV encryption scheme. The user
should have little or no reason to ever change the scale by hand.
should have little or no reason to ever change the correction factor by hand.
*/
SEAL_NODISCARD inline std::uint64_t &correction_factor() noexcept
{

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

@ -1590,7 +1590,7 @@ namespace seal
throw invalid_argument("pool is uninitialized");
}
mod_reduce_to_next(encrypted, encrypted, std::move(pool));
mod_switch_drop_to_next(encrypted, encrypted, std::move(pool));
#ifdef SEAL_THROW_ON_TRANSPARENT_CIPHERTEXT
// Transparent ciphertext output is not allowed.
if (encrypted.is_transparent())