ocf-linux: version bump to 20110720
[openwrt/openwrt.git] / package / ocf-crypto-headers / src / cryptodev.h
index fa1a57b4f85690874e5ef5bea581b1ad0124a116..cca0ec822deece07293c14fe48bf55fc42e642e0 100644 (file)
@@ -2,8 +2,8 @@
 /*     $OpenBSD: cryptodev.h,v 1.31 2002/06/11 11:14:29 beck Exp $     */
 
 /*-
- * Linux port done by David McCullough <david_mccullough@securecomputing.com>
- * Copyright (C) 2006-2007 David McCullough
+ * Linux port done by David McCullough <david_mccullough@mcafee.com>
+ * Copyright (C) 2006-2010 David McCullough
  * Copyright (C) 2004-2005 Intel Corporation.
  * The license and original author are listed below.
  *
 #define CRYPTO_SHA2_384                        23
 #define CRYPTO_SHA2_512                        24
 #define CRYPTO_RIPEMD160               25
-#define CRYPTO_ALGORITHM_MAX   25 /* Keep updated - see below */
+#define        CRYPTO_LZS_COMP                 26
+#define CRYPTO_ALGORITHM_MAX   26 /* Keep updated - see above */
 
 /* Algorithm flags */
 #define CRYPTO_ALG_FLAG_SUPPORTED      0x01 /* Algorithm is supported */
@@ -336,6 +337,7 @@ struct cryptodesc {
 #define crd_key                CRD_INI.cri_key
 #define crd_alg                CRD_INI.cri_alg
 #define crd_klen       CRD_INI.cri_klen
+#define crd_mlen       CRD_INI.cri_mlen
 
        struct cryptodesc *crd_next;
 };