Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
PALISADE
PALISADE Development
Commits
b0301dff
Commit
b0301dff
authored
Jan 22, 2018
by
Yuriy Polyakov
Browse files
relaxed LTV modulus bit width
parent
564c3883
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/pke/lib/cryptocontextgen.h
src/pke/lib/cryptocontextgen.h
+1
-1
No files found.
src/pke/lib/cryptocontextgen.h
View file @
b0301dff
...
...
@@ -53,7 +53,7 @@ GenCryptoContextNull(usint ORDER, PlaintextModulus ptm, usint bits=DefaultQbits,
template
<
typename
Element
>
inline
CryptoContext
<
Element
>
GenCryptoContextLTV
(
usint
ORDER
,
PlaintextModulus
ptm
,
usint
bits
=
DefaultQbits
,
usint
towers
=
DefaultT
)
{
GenCryptoContextLTV
(
usint
ORDER
,
PlaintextModulus
ptm
,
usint
bits
=
55
,
usint
towers
=
DefaultT
)
{
shared_ptr
<
typename
Element
::
Params
>
p
=
ElemParamFactory
::
GenElemParams
<
typename
Element
::
Params
,
typename
Element
::
Integer
>
(
ORDER
,
bits
,
towers
);
CryptoContext
<
Element
>
cc
=
CryptoContextFactory
<
Element
>::
genCryptoContextLTV
(
p
,
ptm
,
1
,
4
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment