summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fil0crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/fil0crypt.h')
-rw-r--r--storage/innobase/include/fil0crypt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/storage/innobase/include/fil0crypt.h b/storage/innobase/include/fil0crypt.h
index 42cdafde4d0..827d63bc670 100644
--- a/storage/innobase/include/fil0crypt.h
+++ b/storage/innobase/include/fil0crypt.h
@@ -530,6 +530,21 @@ fil_crypt_calculate_checksum(
/*=========================*/
ulint zip_size, /*!< in: zip_size or 0 */
byte* dst_frame); /*!< in: page where to calculate */
+/**
+Add space to key rotation list for encryption.
+@param[in] space_id space to add to rotation */
+UNIV_INTERN
+void
+fil_crypt_add_space_to_keyrotation(
+ ulint space_id);
+
+/**
+Adjust keyrotation
+@param val value to be set */
+UNIV_INTERN
+void
+fil_crypt_set_keyrotation(
+ my_bool val);
#ifndef UNIV_NONINL
#include "fil0crypt.ic"