Blob Blame History Raw
From b0916c55fa5f83133a4955175da95813d07f64d6 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Mon, 16 Nov 2020 13:54:05 +0100
Subject: [PATCH 2/2] crypto: add suse_kabi_padding
References: jsc#SLE-14454
Patch-mainline: Never (kABI padding)

Add padding elements to structures of the generic crypto
layer. This aids later backports.

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

--- a/include/crypto/if_alg.h
+++ b/include/crypto/if_alg.h
@@ -34,12 +34,16 @@ struct alg_sock {
 
 	const struct af_alg_type *type;
 	void *private;
+
+	void *suse_kabi_padding;
 };
 
 struct af_alg_control {
 	struct af_alg_iv *iv;
 	int op;
 	unsigned int aead_assoclen;
+
+	void *suse_kabi_padding;
 };
 
 struct af_alg_type {
@@ -54,6 +58,8 @@ struct af_alg_type {
 	struct proto_ops *ops_nokey;
 	struct module *owner;
 	char name[14];
+
+	 void *suse_kabi_padding;
 };
 
 struct af_alg_sgl {
@@ -155,6 +161,9 @@ struct af_alg_ctx {
 	bool init;
 
 	unsigned int len;
+
+	void *suse_kabi_padding;
+
 };
 
 int af_alg_register_type(const struct af_alg_type *type);