diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-11-14 12:37:23 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-12-14 11:15:47 +0100 |
commit | 35bc60cc68ea8adf21504a422d7ec4e0c5aed353 (patch) | |
tree | e0ae0448d10d9087ac4286277af43d02c6c2050b /src/libstrongswan/asn1 | |
parent | 564a19967477adb60e018609d3ab76c554705f08 (diff) | |
download | strongswan-35bc60cc68ea8adf21504a422d7ec4e0c5aed353.tar.bz2 strongswan-35bc60cc68ea8adf21504a422d7ec4e0c5aed353.tar.xz |
Added support of EdDSA signatures
Diffstat (limited to 'src/libstrongswan/asn1')
-rw-r--r-- | src/libstrongswan/asn1/asn1.c | 4 | ||||
-rw-r--r-- | src/libstrongswan/asn1/oid.txt | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/libstrongswan/asn1/asn1.c b/src/libstrongswan/asn1/asn1.c index 2ee414abf..5ce840325 100644 --- a/src/libstrongswan/asn1/asn1.c +++ b/src/libstrongswan/asn1/asn1.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2006 Martin Will - * Copyright (C) 2000-2008 Andreas Steffen + * Copyright (C) 2000-2016 Andreas Steffen * * Hochschule fuer Technik Rapperswil * @@ -47,6 +47,8 @@ chunk_t asn1_algorithmIdentifier(int oid) case OID_ECDSA_WITH_SHA256: case OID_ECDSA_WITH_SHA384: case OID_ECDSA_WITH_SHA512: + case OID_ED25519: + case OID_ED448: parameters = chunk_empty; break; default: diff --git a/src/libstrongswan/asn1/oid.txt b/src/libstrongswan/asn1/oid.txt index 761a38ab6..a0c2aada3 100644 --- a/src/libstrongswan/asn1/oid.txt +++ b/src/libstrongswan/asn1/oid.txt @@ -382,6 +382,9 @@ 0x0C "brainpoolP384t1" 0x0D "brainpoolP512r1" 0x0E "brainpoolP512t1" + 0x65 "Thawte" + 0x70 "id-Ed25519" OID_ED25519 + 0x71 "id-Ed448" OID_ED448 0x81 "" 0x04 "Certicom" 0x00 "curve" |