Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
123456789101112131415161718192021222324252627/* 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_SEDint sed_read_key(char *keyname, char *key, u_int *keylen);int sed_write_key(char *keyname, char *key, u_int keylen);#elsestatic inlineint sed_read_key(char *keyname, char *key, u_int *keylen) { return -EOPNOTSUPP;}static inlineint sed_write_key(char *keyname, char *key, u_int keylen) { return -EOPNOTSUPP;}#endif