summaryrefslogtreecommitdiffstats
path: root/crypto/userspace/ncr-pk.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/userspace/ncr-pk.h')
-rw-r--r--crypto/userspace/ncr-pk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/userspace/ncr-pk.h b/crypto/userspace/ncr-pk.h
index fb9aba5b5ee..1d4b8067d36 100644
--- a/crypto/userspace/ncr-pk.h
+++ b/crypto/userspace/ncr-pk.h
@@ -25,6 +25,11 @@ int ncr_pk_generate(const struct algo_properties_st *algo, struct nlattr *tb[],
struct key_item_st* private, struct key_item_st* public);
int ncr_pk_pack( const struct key_item_st * key, uint8_t * packed, uint32_t * packed_size);
int ncr_pk_unpack( struct key_item_st * key, const void * packed, size_t packed_size);
+#ifdef CONFIG_AUDIT
+void ncr_pk_audit_values(struct key_item_st *key);
+#else
+#define ncr_pk_audit_values(key) ((void)0)
+#endif
/* encryption/decryption */
int ncr_pk_cipher_init(const struct algo_properties_st *algo,