aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/hash_id/hash_id.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pk_pad/hash_id/hash_id.cpp')
-rw-r--r--src/lib/pk_pad/hash_id/hash_id.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/pk_pad/hash_id/hash_id.cpp b/src/lib/pk_pad/hash_id/hash_id.cpp
index ec317f969..efebf5095 100644
--- a/src/lib/pk_pad/hash_id/hash_id.cpp
+++ b/src/lib/pk_pad/hash_id/hash_id.cpp
@@ -65,10 +65,6 @@ const uint8_t SM3_PKCS_ID[] = {
0x55, 0x01, 0x83, 0x11, 0x05, 0x00, 0x04, 0x20,
};
-const uint8_t TIGER_PKCS_ID[] = {
-0x30, 0x29, 0x30, 0x0D, 0x06, 0x09, 0x2B, 0x06, 0x01, 0x04,
-0x01, 0xDA, 0x47, 0x0C, 0x02, 0x05, 0x00, 0x04, 0x18 };
-
}
/*
@@ -133,10 +129,6 @@ std::vector<uint8_t> pkcs_hash_id(const std::string& name)
if(name == "SM3")
return std::vector<uint8_t>(SM3_PKCS_ID, SM3_PKCS_ID + sizeof(SM3_PKCS_ID));
- if(name == "Tiger(24,3)")
- return std::vector<uint8_t>(TIGER_PKCS_ID,
- TIGER_PKCS_ID + sizeof(TIGER_PKCS_ID));
-
throw Invalid_Argument("No PKCS #1 identifier for " + name);
}