From dde63e3a7c7b38348e2ab24164c7ff2f2ca1a6e7 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 26 Dec 2009 17:14:27 +0000 Subject: Add OIDs for SEED/CBC and HMAC with SHA --- src/libstate/policy.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/libstate') diff --git a/src/libstate/policy.cpp b/src/libstate/policy.cpp index dfc1dfc7a..4f5884630 100644 --- a/src/libstate/policy.cpp +++ b/src/libstate/policy.cpp @@ -47,6 +47,7 @@ void set_default_oids(Library_State& config) add_oid(config, "2.16.840.1.101.3.4.1.2", "AES-128/CBC"); add_oid(config, "2.16.840.1.101.3.4.1.22", "AES-192/CBC"); add_oid(config, "2.16.840.1.101.3.4.1.42", "AES-256/CBC"); + add_oid(config, "1.2.410.200004.1.4", "SEED/CBC"); // RFC 4010 /* Hash Functions */ add_oid(config, "1.2.840.113549.2.5", "MD5"); @@ -58,6 +59,13 @@ void set_default_oids(Library_State& config) add_oid(config, "2.16.840.1.101.3.4.2.2", "SHA-384"); add_oid(config, "2.16.840.1.101.3.4.2.3", "SHA-512"); + /* MACs */ + add_oid(config, "1.2.840.113549.2.7", "HMAC(SHA-1)"); + add_oid(config, "1.2.840.113549.2.8", "HMAC(SHA-224)"); + add_oid(config, "1.2.840.113549.2.9", "HMAC(SHA-256)"); + add_oid(config, "1.2.840.113549.2.10", "HMAC(SHA-384)"); + add_oid(config, "1.2.840.113549.2.11", "HMAC(SHA-512)"); + /* Key Wrap */ add_oid(config, "1.2.840.113549.1.9.16.3.6", "KeyWrap.TripleDES"); add_oid(config, "1.2.840.113549.1.9.16.3.7", "KeyWrap.RC2"); -- cgit v1.2.3