summaryrefslogtreecommitdiffstats
path: root/openpgp
AgeCommit message (Expand)Author
2021-09-30Use as_derefLars Wirzenius
2021-09-30Tell clippy it's OK not to implement traitsLars Wirzenius
2021-09-30Allow new() without default()Lars Wirzenius
2021-09-30Allow ::new to not return SelfLars Wirzenius
2021-09-30Add an is_empty method when len is thereLars Wirzenius
2021-09-30Return a value without first assigning it to a variableLars Wirzenius
2021-09-30Drop unnecessary to_string() methodsLars Wirzenius
2021-09-30Join nested if statements with logical and into one statementLars Wirzenius
2021-09-30Use .sort_unstable for speedLars Wirzenius
2021-09-30Replace .filter_map with just .filter when possibleLars Wirzenius
2021-09-30Use .iter() instead of .into_iter()Lars Wirzenius
2021-09-30Use Result::map or ::map_err instead of ::and_thenLars Wirzenius
2021-09-30Avoid naming field setting it from variable of the same nameLars Wirzenius
2021-09-30Simplify writing out a literal {}Lars Wirzenius
2021-09-30Drop unnecessary mut when passing a reference to a functionLars Wirzenius
2021-09-30Drop unnecessary conversions with .into() to the same typeLars Wirzenius
2021-09-30Simplify &foo == &bar into foo == barLars Wirzenius
2021-09-30Use the now-idiomatic option? syntaxLars Wirzenius
2021-09-30Improve error message for a malformed packetLars Wirzenius
2021-09-30Annotate function so that clippy accepts nonminimal_boolLars Wirzenius
2021-09-30Use std::mem::take instead of std::mem::replace, for clarityLars Wirzenius
2021-09-30Use a clearer and shorter += or /= operationLars Wirzenius
2021-09-30Drop extra unused lifetime annotationLars Wirzenius
2021-09-30Drop unnecessary lifetime notationsLars Wirzenius
2021-09-29openpgp: Add RSA verification test vectors from FIPS 186-3.Justus Winter
2021-09-29openpgp: Add DSA test vectors from FIPS 186-3.Justus Winter
2021-09-29openpgp: Pad the DSA public key to the size of the modulus.Justus Winter
2021-09-29openpgp: Fix typo.Justus Winter
2021-09-29openpgp: Use new padding methods in the CNG backend.Justus Winter
2021-09-29openpgp: Avoid secret-dependent time difference.Justus Winter
2021-09-29openpgp: Use the new padding methods in the CNG backend.Justus Winter
2021-09-28openpgp: Use the new padding methods in the Nettle backend.Justus Winter
2021-09-28openpgp: Add methods for padding and truncating MPI values.Justus Winter
2021-09-28openpgp: Add two functions for padding and truncating values.Justus Winter
2021-09-28openpgp: Add ECDSA test vectors from FIPS 186-4.Justus Winter
2021-09-28openpgp: Skip test vectors if we don't support the curve.Justus Winter
2021-09-28openpgp: Add example that prints the supported algorithms.Justus Winter
2021-09-28openpgp: Improve tests.Justus Winter
2021-09-28openpgp: Add comment, also test OCB.Justus Winter
2021-09-21Avoid matching on &Foo, when a plain Foo pattern worksLars Wirzenius
2021-09-16openpgp: Don't assert that the NIST curves are supported.Justus Winter
2021-09-16openpgp: Sanity-check selected cryptographic backends.Justus Winter
2021-09-16openpgp: Make list of supported algorithms backend-dependent.Justus Winter
2021-09-16openpgp: Fix documentation.Justus Winter
2021-09-16openpgp: Skip tests if a required algorithm is not supported.Justus Winter
2021-09-16openpgp: New function CipherSuite::is_supported.Justus Winter
2021-09-16openpgp: Avoid generating RSA keys longer than 2k in tests.Justus Winter
2021-09-15openpgp: Avoid creating unused borrows.Justus Winter
2021-09-08openpgp: Don't assume that we only use Ed25519 for EdDSA.Justus Winter
2021-09-08openpgp: Avoid magic constant.Justus Winter