From c8ef656df28d1d21e5168191f959764da3a97122 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 8 Feb 2010 15:31:35 +0000 Subject: Make CMAC API similar to HMAC API. Add methods for CMAC. --- crypto/asn1/ameth_lib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crypto/asn1') diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index 9a8b6cc222..626e15cc9c 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -69,6 +69,7 @@ extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[]; extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth; extern const EVP_PKEY_ASN1_METHOD hmac_asn1_meth; +extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; /* Keep this sorted in type order !! */ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = @@ -90,7 +91,8 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = #ifndef OPENSSL_NO_EC &eckey_asn1_meth, #endif - &hmac_asn1_meth + &hmac_asn1_meth, + &cmac_asn1_meth }; typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); -- cgit v1.2.3