You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to define pre-computed SSH DH groups 1 and 14-18 parameters using ConstMontyParams because groups 15-18 take a long time to compute--more than 5s (debug) for group 18 with modulus U8192 on my laptop. And to do DH shared secret computation in BoxedUint for good hygiene.
However, there doesn't seem to be a way to create BoxedMontyParams from either MontyParams or ConstMontyParams so the current way forward is to use OnceLock<Arc<BoxedMontyParams>>, but this is not ideal.
Is there a way to pre-compute BoxedMontyParams?
The text was updated successfully, but these errors were encountered:
tarcieri
changed the title
Question: How to create a BoxedMontyParams from ConstMontyForm?
Support for creating BoxedMontyParams from ConstMontyParamsMay 13, 2024
Version:
0.6.0-pre.12
.I am trying to define pre-computed SSH DH groups 1 and 14-18 parameters using
ConstMontyParams
because groups 15-18 take a long time to compute--more than 5s (debug) for group 18 with modulus U8192 on my laptop. And to do DH shared secret computation inBoxedUint
for good hygiene.However, there doesn't seem to be a way to create
BoxedMontyParams
from eitherMontyParams
orConstMontyParams
so the current way forward is to useOnceLock<Arc<BoxedMontyParams>>
, but this is not ideal.Is there a way to pre-compute
BoxedMontyParams
?The text was updated successfully, but these errors were encountered: