D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
src
/
linux-headers-6.8.0-88
/
include
/
linux
/
Filename :
sed-opal-key.h
back
Copy
/* SPDX-License-Identifier: GPL-2.0 */ /* * SED key operations. * * Copyright (C) 2023 IBM Corporation * * These are the accessor functions (read/write) for SED Opal * keys. Specific keystores can provide overrides. * */ #include <linux/kernel.h> #ifdef CONFIG_PSERIES_PLPKS_SED int sed_read_key(char *keyname, char *key, u_int *keylen); int sed_write_key(char *keyname, char *key, u_int keylen); #else static inline int sed_read_key(char *keyname, char *key, u_int *keylen) { return -EOPNOTSUPP; } static inline int sed_write_key(char *keyname, char *key, u_int keylen) { return -EOPNOTSUPP; } #endif