mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
![Harald Freudenberger](/assets/img/avatar_default.png)
Some cleanup in the s390 zcrypt device driver: - Removed fragments of pcixx crypto card code. This code can't be reached anymore because the hardware detection function does not recognize crypto cards < CEX2 since commit f56545430736 ("s390/zcrypt: Introduce QACT support for AP bus devices.") - Rename of some files and driver names which where still reflecting pcixx support to cex2a/cex2c. - Removed all the zcrypt version strings in the file headers. There is only one place left - the zcrypt.h header file is now the only place for zcrypt device driver version info. - Zcrypt version pump up from 2.2.0 to 2.2.1. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
29 lines
989 B
C
29 lines
989 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright IBM Corp. 2001, 2012
|
|
* Author(s): Robert Burroughs
|
|
* Eric Rossman (edrossma@us.ibm.com)
|
|
*
|
|
* Hotplug & misc device support: Jochen Roehrig (roehrig@de.ibm.com)
|
|
* Major cleanup & driver split: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
|
* MSGTYPE restruct: Holger Dengler <hd@linux.vnet.ibm.com>
|
|
*/
|
|
|
|
#ifndef _ZCRYPT_MSGTYPE50_H_
|
|
#define _ZCRYPT_MSGTYPE50_H_
|
|
|
|
#define MSGTYPE50_NAME "zcrypt_msgtype50"
|
|
#define MSGTYPE50_VARIANT_DEFAULT 0
|
|
|
|
#define MSGTYPE50_CRB2_MAX_MSG_SIZE 0x390 /* sizeof(struct type50_crb2_msg) */
|
|
#define MSGTYPE50_CRB3_MAX_MSG_SIZE 0x710 /* sizeof(struct type50_crb3_msg) */
|
|
|
|
#define MSGTYPE_ADJUSTMENT 0x08 /* type04 extension (not needed in type50) */
|
|
|
|
unsigned int get_rsa_modex_fc(struct ica_rsa_modexpo *, int *);
|
|
unsigned int get_rsa_crt_fc(struct ica_rsa_modexpo_crt *, int *);
|
|
|
|
void zcrypt_msgtype50_init(void);
|
|
void zcrypt_msgtype50_exit(void);
|
|
|
|
#endif /* _ZCRYPT_MSGTYPE50_H_ */
|