aboutsummaryrefslogtreecommitdiffstats
path: root/community/opensc/add-ecc-curves.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-08-14 18:21:00 +0300
committerTimo Teräs <timo.teras@iki.fi>2018-08-14 18:21:26 +0300
commit025a99f44e304683267ffaef106fe12bac5655ff (patch)
treea16659f52b94c8bfcba3c324cf330e77561edd1a /community/opensc/add-ecc-curves.patch
parent8852ef767a6e5ef545f85dae7663c87e3f3d520a (diff)
downloadaports-025a99f44e304683267ffaef106fe12bac5655ff.tar.bz2
aports-025a99f44e304683267ffaef106fe12bac5655ff.tar.xz
community/opensc: add brainpoolP384r1 oid
Diffstat (limited to 'community/opensc/add-ecc-curves.patch')
-rw-r--r--community/opensc/add-ecc-curves.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/opensc/add-ecc-curves.patch b/community/opensc/add-ecc-curves.patch
new file mode 100644
index 0000000000..9d88a1c33d
--- /dev/null
+++ b/community/opensc/add-ecc-curves.patch
@@ -0,0 +1,12 @@
+diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c
+index 63e5c5f7..7845c99f 100644
+--- a/src/tools/pkcs11-tool.c
++++ b/src/tools/pkcs11-tool.c
+@@ -109,6 +109,7 @@ static struct ec_curve_info {
+ {"brainpoolP224r1", "1.3.36.3.3.2.8.1.1.5", "06092B2403030208010105", 224},
+ {"brainpoolP256r1", "1.3.36.3.3.2.8.1.1.7", "06092B2403030208010107", 256},
+ {"brainpoolP320r1", "1.3.36.3.3.2.8.1.1.9", "06092B2403030208010109", 320},
++ {"brainpoolP384r1", "1.3.36.3.3.2.8.1.1.11", "06092B240303020801010B", 384},
+
+ {"secp192k1", "1.3.132.0.31", "06052B8104001F", 192},
+ {"secp256k1", "1.3.132.0.10", "06052B8104000A", 256},