diff options
author | Neal H. Walfield <neal@pep.foundation> | 2018-01-14 21:40:57 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2018-01-14 21:59:53 +0100 |
commit | 5d69d7b36830c2a43a05b4527998f860afd2aa4d (patch) | |
tree | 6804beb1f2bf5f3cfcb9aacbf966edf02c8ca4fa /openpgp/tests | |
parent | 7a88168b1869e3b8b19c9349ecd0f0adc4f112c6 (diff) |
openpgp: Implement hashing.
- Switch to using nettle for low-level hash functionality.
- Add functionality for hasing UserID, UserAttribute, Key and
Signature packets.
- Add functionliaty to compute the hashes for primary key bindings,
subkey bindings, user id bindings and user attribute bindings.
Diffstat (limited to 'openpgp/tests')
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA224-private.gpg | bin | 0 -> 2510 bytes |
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA224.gpg | bin | 0 -> 1208 bytes |
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA256-private.gpg | bin | 0 -> 2510 bytes |
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA256.gpg | bin | 0 -> 1208 bytes |
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA384-private.gpg | bin | 0 -> 2510 bytes |
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA384.gpg | bin | 0 -> 1208 bytes |
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA512-private.gpg | bin | 0 -> 2510 bytes |
-rw-r--r-- | openpgp/tests/data/keys/hash-algos/SHA512.gpg | bin | 0 -> 1208 bytes |
8 files changed, 0 insertions, 0 deletions
diff --git a/openpgp/tests/data/keys/hash-algos/SHA224-private.gpg b/openpgp/tests/data/keys/hash-algos/SHA224-private.gpg Binary files differnew file mode 100644 index 00000000..b8700c7e --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA224-private.gpg diff --git a/openpgp/tests/data/keys/hash-algos/SHA224.gpg b/openpgp/tests/data/keys/hash-algos/SHA224.gpg Binary files differnew file mode 100644 index 00000000..b84660f1 --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA224.gpg diff --git a/openpgp/tests/data/keys/hash-algos/SHA256-private.gpg b/openpgp/tests/data/keys/hash-algos/SHA256-private.gpg Binary files differnew file mode 100644 index 00000000..e102d9fc --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA256-private.gpg diff --git a/openpgp/tests/data/keys/hash-algos/SHA256.gpg b/openpgp/tests/data/keys/hash-algos/SHA256.gpg Binary files differnew file mode 100644 index 00000000..4d9e753f --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA256.gpg diff --git a/openpgp/tests/data/keys/hash-algos/SHA384-private.gpg b/openpgp/tests/data/keys/hash-algos/SHA384-private.gpg Binary files differnew file mode 100644 index 00000000..5240433f --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA384-private.gpg diff --git a/openpgp/tests/data/keys/hash-algos/SHA384.gpg b/openpgp/tests/data/keys/hash-algos/SHA384.gpg Binary files differnew file mode 100644 index 00000000..dac49f00 --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA384.gpg diff --git a/openpgp/tests/data/keys/hash-algos/SHA512-private.gpg b/openpgp/tests/data/keys/hash-algos/SHA512-private.gpg Binary files differnew file mode 100644 index 00000000..0db18020 --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA512-private.gpg diff --git a/openpgp/tests/data/keys/hash-algos/SHA512.gpg b/openpgp/tests/data/keys/hash-algos/SHA512.gpg Binary files differnew file mode 100644 index 00000000..e321aff2 --- /dev/null +++ b/openpgp/tests/data/keys/hash-algos/SHA512.gpg |