mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
Add OID for HMAC-RIPEMD160
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
5cc67a3ee2
commit
f2e3eb8bd9
@ -297,6 +297,8 @@
|
|||||||
|
|
||||||
#define MBEDTLS_OID_HMAC_SHA3_512 MBEDTLS_OID_NIST_ALG "\x02\x10" /**< id-hmacWithSHA3-512 OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101) csor(3) nistAlgorithms(4) hashalgs(2) hmacWithSHA3-512(16) } */
|
#define MBEDTLS_OID_HMAC_SHA3_512 MBEDTLS_OID_NIST_ALG "\x02\x10" /**< id-hmacWithSHA3-512 OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101) csor(3) nistAlgorithms(4) hashalgs(2) hmacWithSHA3-512(16) } */
|
||||||
|
|
||||||
|
#define MBEDTLS_OID_HMAC_RIPEMD160 MBEDTLS_OID_INTERNET "\x05\x05\x08\x01\x04" /**< id-hmacWithSHA1 OBJECT IDENTIFIER ::= {iso(1) iso-identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) ipsec(8) isakmpOakley(1) hmacRIPEMD160(4)} */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encryption algorithms
|
* Encryption algorithms
|
||||||
*/
|
*/
|
||||||
|
@ -863,6 +863,12 @@ static const oid_md_hmac_t oid_md_hmac[] =
|
|||||||
MBEDTLS_MD_SHA3_512,
|
MBEDTLS_MD_SHA3_512,
|
||||||
},
|
},
|
||||||
#endif /* MBEDTLS_MD_CAN_SHA3_512 */
|
#endif /* MBEDTLS_MD_CAN_SHA3_512 */
|
||||||
|
#if defined(MBEDTLS_MD_CAN_RIPEMD160)
|
||||||
|
{
|
||||||
|
OID_DESCRIPTOR(MBEDTLS_OID_HMAC_RIPEMD160, "hmacRIPEMD160", "HMAC-RIPEMD160"),
|
||||||
|
MBEDTLS_MD_RIPEMD160,
|
||||||
|
},
|
||||||
|
#endif /* MBEDTLS_MD_CAN_RIPEMD160 */
|
||||||
{
|
{
|
||||||
NULL_OID_DESCRIPTOR,
|
NULL_OID_DESCRIPTOR,
|
||||||
MBEDTLS_MD_NONE,
|
MBEDTLS_MD_NONE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user