diff options
author | lloyd <[email protected]> | 2009-12-26 17:14:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-26 17:14:27 +0000 |
commit | dde63e3a7c7b38348e2ab24164c7ff2f2ca1a6e7 (patch) | |
tree | d90835eca551b5552ce5d4867ca243581f0b5139 /src/libstate | |
parent | b409b27f7ce1b0819049667821b5e5ea5d520965 (diff) |
Add OIDs for SEED/CBC and HMAC with SHA
Diffstat (limited to 'src/libstate')
-rw-r--r-- | src/libstate/policy.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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"); |