diff options
author | Kai Michaelis <kai@sequoia-pgp.org> | 2018-12-14 18:44:15 +0100 |
---|---|---|
committer | Kai Michaelis <kai@sequoia-pgp.org> | 2018-12-14 18:46:16 +0100 |
commit | 4c35f633626895fe734a34c2982b1ece2b7d4f1f (patch) | |
tree | e612d7457234bf892c14c9fef8d85471ed806e87 /ffi | |
parent | 48938269dc7866619c21eff8bc7772ee31237d51 (diff) |
openpgp: make SecureKey (Partial)Eq and (Partial)Ord time-constant.
adds custom implementations of the above traits that use secure_cmp. The
code isn't 100% time-constant as it's not guarded against compiler
optimizations, but still better than what we had before.
Diffstat (limited to 'ffi')
0 files changed, 0 insertions, 0 deletions