Started implementing BLISS signature generation

This commit is contained in:
Andreas Steffen
2014-11-29 14:51:16 +01:00
parent 56009f2001
commit f673966b9f
8 changed files with 34 additions and 24 deletions
@@ -323,6 +323,14 @@ int hasher_signature_algorithm_to_oid(hash_algorithm_t alg, key_type_t key)
default:
return OID_UNKNOWN;
}
case KEY_BLISS:
switch (alg)
{
case HASH_SHA512:
return OID_BLISS_WITH_SHA512;
default:
return OID_UNKNOWN;
}
default:
return OID_UNKNOWN;
}