Blob Blame History Raw
From 2efe138f0bc37ee033f27be6e43ec4798cad6911 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Mon, 31 Jan 2022 10:32:38 +0100
Subject: [PATCH] kABI padding for generic crypto
Patch-mainline: Never, kABI padding
References: bsc#1179531

The big structures that define drivers and algorithms

Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 include/linux/crypto.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 855869e1f..34d1090a1 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -246,6 +246,8 @@ struct cipher_alg {
 	                  unsigned int keylen);
 	void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
 	void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
+
+	void *suse_kabi_padding;
 };
 
 /**
@@ -264,6 +266,8 @@ struct compress_alg {
 			    unsigned int slen, u8 *dst, unsigned int *dlen);
 	int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
 			      unsigned int slen, u8 *dst, unsigned int *dlen);
+
+	void *suse_kabi_padding;
 };
 
 #ifdef CONFIG_CRYPTO_STATS
@@ -494,6 +498,7 @@ struct crypto_alg {
 	
 	struct module *cra_module;
 
+	void *suse_kabi_padding;
 #ifdef CONFIG_CRYPTO_STATS
 	union {
 		struct crypto_istat_aead aead;
-- 
2.34.1