diff options
author | Olivier Roques <oroques+fdio@cisco.com> | 2021-03-31 10:02:21 +0000 |
---|---|---|
committer | Olivier Roques <oroques+fdio@cisco.com> | 2021-03-31 10:04:48 +0000 |
commit | 466f55d182383efc56d21520dc732eb70c6ade41 (patch) | |
tree | e856a3cb425794aca293604403f1bc51225e0d66 /libparc/parc | |
parent | 32684e7a53e66bf7886f8efc2abc3851245b54ec (diff) |
[CICN-36] Add missing signing algorithm in libparc
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: I528992dc16e57cbd258a0da945dc3f4de3f2799b
Diffstat (limited to 'libparc/parc')
-rw-r--r-- | libparc/parc/security/parc_CryptoSuite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libparc/parc/security/parc_CryptoSuite.c b/libparc/parc/security/parc_CryptoSuite.c index 71a4531b..6fbc3de8 100644 --- a/libparc/parc/security/parc_CryptoSuite.c +++ b/libparc/parc/security/parc_CryptoSuite.c @@ -76,6 +76,8 @@ PARCCryptoSuite parcCryptoSuite_GetFromSigningHash(PARCSigningAlgorithm signAlgo return PARCCryptoSuite_DSA_SHA256 + hash; case PARCSigningAlgorithm_RSA: return PARCCryptoSuite_RSA_SHA256 + hash; + case PARCSigningAlgorithm_HMAC: + return PARCCryptoSuite_HMAC_SHA256 + hash; case PARCSigningAlgorithm_ECDSA: return PARCCryptoSuite_ECDSA_SHA256 + hash; case PARCSigningAlgorithm_NULL: |