summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-04-11 12:33:06 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-04-11 12:33:06 +0000
commit74633553a912519a6e73a9d830132e58f420a6c9 (patch)
treead4b498680c993039f5b6371fd53c0091c828801 /crypto/err
parent376bf1d4aaddbc7645b364e6963b34951fe51f9b (diff)
Experimental HMAC support via EVP_PKEY_METHOD.
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err.c1
-rw-r--r--crypto/err/err.h2
-rw-r--r--crypto/err/openssl.ec1
3 files changed, 4 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 6812a9afed..acf16d91f1 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -150,6 +150,7 @@ static ERR_STRING_DATA ERR_str_libraries[]=
{ERR_PACK(ERR_LIB_TS,0,0) ,"time stamp routines"},
{ERR_PACK(ERR_LIB_ENGINE,0,0) ,"engine routines"},
{ERR_PACK(ERR_LIB_OCSP,0,0) ,"OCSP routines"},
+{ERR_PACK(ERR_LIB_HMAC,0,0) ,"HMAC routines"},
{0,NULL},
};
diff --git a/crypto/err/err.h b/crypto/err/err.h
index 3e3d395f3b..17e4909808 100644
--- a/crypto/err/err.h
+++ b/crypto/err/err.h
@@ -195,6 +195,7 @@ typedef struct err_state_st
#define ERR_LIB_ECDH 43
#define ERR_LIB_STORE 44
#define ERR_LIB_TS 45
+#define ERR_LIB_HMAC 46
#define ERR_LIB_USER 128
@@ -227,6 +228,7 @@ typedef struct err_state_st
#define ECDHerr(f,r) ERR_PUT_error(ERR_LIB_ECDH,(f),(r),__FILE__,__LINE__)
#define STOREerr(f,r) ERR_PUT_error(ERR_LIB_STORE,(f),(r),__FILE__,__LINE__)
#define TSerr(f,r) ERR_PUT_error(ERR_LIB_TS,(f),(r),__FILE__,__LINE__)
+#define HMACerr(f,r) ERR_PUT_error(ERR_LIB_HMAC,(f),(r),__FILE__,__LINE__)
/* Borland C seems too stupid to be able to shift and do longs in
* the pre-processor :-( */
diff --git a/crypto/err/openssl.ec b/crypto/err/openssl.ec
index 1dc5b563fd..fed3d39f02 100644
--- a/crypto/err/openssl.ec
+++ b/crypto/err/openssl.ec
@@ -32,6 +32,7 @@ L ECDSA crypto/ecdsa/ecdsa.h crypto/ecdsa/ecs_err.c
L ECDH crypto/ecdh/ecdh.h crypto/ecdh/ech_err.c
L STORE crypto/store/store.h crypto/store/str_err.c
L TS crypto/ts/ts.h crypto/ts/ts_err.c
+L HMAC crypto/hmac/hmac.h crypto/hmac/hmac_err.c
# additional header files to be scanned for function names
L NONE crypto/x509/x509_vfy.h NONE