Miloslav Trmac wrote:
- Stefan Richter stef...@s5r6.in-berlin.de wrote:
Miloslav Trmač wrote:
--- /dev/null
+++ b/crypto/userspace/utils.c
[...]
+#ifdef CONFIG_COMPAT
+/* max() is too clever for compile-time constants */
+#define CONST_MAX(A, B) ((A) (B) ? (A) : (B))
+
+#define
Main entry points:
NCR_GET_INPUT_ARGS:
Read a fixed struct and any attached attributes from userspace
NCR_GET_INPUT_ARGS_NO_OUTPUT:
Same as above, and inform the users the kernel will attach no
additional attributes.
NCR_OUT_INIT/ncr_out_free:
Allocate and free a
Miloslav Trmač wrote:
--- /dev/null
+++ b/crypto/userspace/utils.c
[...]
+#ifdef CONFIG_COMPAT
+/* max() is too clever for compile-time constants */
+#define CONST_MAX(A, B) ((A) (B) ? (A) : (B))
+
+#define MAX_SESSION_INPUT_DATA_SIZE \
+
- Stefan Richter stef...@s5r6.in-berlin.de wrote:
Miloslav Trmač wrote:
--- /dev/null
+++ b/crypto/userspace/utils.c
[...]
+#ifdef CONFIG_COMPAT
+/* max() is too clever for compile-time constants */
+#define CONST_MAX(A, B) ((A) (B) ? (A) : (B))
+
+#define