TenSEAL
TenSEAL copied to clipboard
Apply SEC_LEVEL_TYPE.NONE on TenSeal context
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