aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/padding.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-08-03 19:21:33 -0400
committerJack Lloyd <[email protected]>2019-08-03 19:32:18 -0400
commit4719685cbf74904e0e4cc205cf09830cff1b04dc (patch)
treebc53f46336a93d2940c63f0c4fbf93f1cad9de21 /src/lib/pk_pad/padding.cpp
parentda7e97bfcfcd476b28a2ac8cf95d32feecd7dae9 (diff)
Update GOST to use 2012 OIDs/params
Diffstat (limited to 'src/lib/pk_pad/padding.cpp')
-rw-r--r--src/lib/pk_pad/padding.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/pk_pad/padding.cpp b/src/lib/pk_pad/padding.cpp
index 134bb4101..bac3fcd7e 100644
--- a/src/lib/pk_pad/padding.cpp
+++ b/src/lib/pk_pad/padding.cpp
@@ -24,6 +24,8 @@ const std::map<const std::string, std::vector<std::string>> allowed_signature_pa
{ "ECGDSA", {"EMSA1"} },
{ "ECKCDSA", {"EMSA1"} },
{ "GOST-34.10", {"EMSA1"} },
+ { "GOST-34.10-2012-256", {"EMSA1"} },
+ { "GOST-34.10-2012-512", {"EMSA1"} },
{ "RSA", {"EMSA4", "EMSA3"} },
};