aboutsummaryrefslogtreecommitdiffstats
path: root/community/opensc/add-ecc-curves.patch
diff options
context:
space:
mode:
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},