EdDSA-sha512 means SHA512 implicitly.

This commit is contained in:
NIIBE Yutaka
2014-04-07 14:42:59 +09:00
parent a7f3a3e260
commit afa0683495
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2014-04-07 Niibe Yutaka <gniibe@fsij.org>
* src/openpgp-do.c (algorithm_attr_ed25519): It's OID only.
2014-04-03 Niibe Yutaka <gniibe@fsij.org> 2014-04-03 Niibe Yutaka <gniibe@fsij.org>
* src/ecc-edwards.c (eddsa_sign_25519): Change type of OUT. * src/ecc-edwards.c (eddsa_sign_25519): Change type of OUT.

View File

@@ -147,9 +147,8 @@ static const uint8_t algorithm_attr_p256k1[] __attribute__ ((aligned (1))) = {
}; };
static const uint8_t algorithm_attr_ed25519[] __attribute__ ((aligned (1))) = { static const uint8_t algorithm_attr_ed25519[] __attribute__ ((aligned (1))) = {
11, 10,
0x69, /* EdDSA (experimental) */ 0x69, /* EdDSA (experimental) */
0x0a, /* ID for SHA512 */
/* OID of the curve Ed25519 */ /* OID of the curve Ed25519 */
0x2b, 0x06, 0x01, 0x04, 0x01, 0xda, 0x47, 0x0f, 0x01 0x2b, 0x06, 0x01, 0x04, 0x01, 0xda, 0x47, 0x0f, 0x01
}; };