Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply SEC_LEVEL_TYPE.NONE on TenSeal context #488

Open
Rahn80643 opened this issue Aug 12, 2024 · 0 comments
Open

Apply SEC_LEVEL_TYPE.NONE on TenSeal context #488

Rahn80643 opened this issue Aug 12, 2024 · 0 comments
Labels
Type: Question ❔ Question about implementation or some technical aspect

Comments

@Rahn80643
Copy link

Question

Apply SEC_LEVEL_TYPE.NONE on TenSeal context.

Further Information

I'm trying to apply different CKKS parameters into TenSeal context. In order to skip the parameter check which throws: "ValueError: encryption parameters are not set correctly", I want to set SEC_LEVEL_TYPE.NONE to tenseal.context. Does anyone know how to set parameter "SEC_LEVEL_TYPE.NONE" into ts.context() ?

 context = ts.context(
 ts.SCHEME_TYPE.CKKS, 
poly_modulus_degree=ring_dim,
coeff_mod_bit_sizes= coeff_mod_bit_sizes_arr
 )

sealapi.SEC_LEVEL_TYPE.TC128

System Information

  • OS: Ubuntu
  • OS Version: 20.04
  • Language Version: Python 3.8

Thank you

@Rahn80643 Rahn80643 added the Type: Question ❔ Question about implementation or some technical aspect label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question ❔ Question about implementation or some technical aspect
Projects
None yet
Development

No branches or pull requests

1 participant