crypto: hash - annotate algorithms taking optional key
[pandora-kernel.git] / include / linux / crypto.h
index 6f501de..b5f3191 100644 (file)
  */
 #define CRYPTO_ALG_INSTANCE            0x00000800
 
+/*
+ * Set if the algorithm has a ->setkey() method but can be used without
+ * calling it first, i.e. there is a default key.
+ */
+#define CRYPTO_ALG_OPTIONAL_KEY                0x00004000
+
 /*
  * Transform masks and values (for crt_flags).
  */