Skip to content

Why does the noise need to be increased during encryption when the degree of the cyclotomic polynomial is not a power of two? #520

@sysuWenchao

Description

@sysuWenchao

Why is it necessary to increase the standard deviation (stdev) of the noise during the encryption process when the degree m of the cyclotomic polynomial is not a power of two? For example, in the code snippet:

if (context.getZMStar().getPow2() == 0) // not power of two
    stdev *= sqrt(context.getM());

https://github.com/homenc/HElib/blob/master/src/keys.cpp

I would greatly appreciate it if you could provide some insights. Thank you for your guidance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions