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 | 6 ++++++
1 file changed, 6 insertions(+)
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -238,6 +238,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;
};
/**
@@ -256,6 +258,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;
};
#define cra_cipher cra_u.cipher
@@ -366,6 +370,8 @@ struct crypto_alg {
void (*cra_destroy)(struct crypto_alg *alg);
struct module *cra_module;
+
+ void *suse_kabi_padding;
} CRYPTO_MINALIGN_ATTR;
/*