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
In cases like below, we first write the secret data into variable k (in initialization list),
and after that we lock this memory location.
This means that for a short time the secret data is not protected.
For example if at exactly that time system would happen to swap the memory page with k,
it could land in swap space etc.
It would require a very bad luck, but maybe with ephemeral keys generated many times per minute eventually it could happen in practice sometimes.
In cases like below, we first write the secret data into variable k (in initialization list),
and after that we lock this memory location.
This means that for a short time the secret data is not protected.
For example if at exactly that time system would happen to swap the memory page with k,
it could land in swap space etc.
It would require a very bad luck, but maybe with ephemeral keys generated many times per minute eventually it could happen in practice sometimes.
For example in
sodiumpp/sodiumpp/include/sodiumpp/sodiumpp.h
Lines 520 to 522 in b3aab63
The text was updated successfully, but these errors were encountered: