Skip to content

Segmentation fault when running ./gen_key  #49

Description

@WeiBenqiang

I find the reason of the bug is :

    #pragma omp parallel for
    for (int i=0; i<n; ++i) {
        TGswFunctions<Torus>::SymEncryptInt(bk+i, lwe_key_coefs[i], alpha, bk_key);
    }

The screenshot:
./gen_keys
generate params...
// generate the secret keyset...
// generate the cloud keyset...
Creating bk from l0 to l2: 612 input size 8192 output size
Segmentation fault

Need Help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions