File Index
Files and directories
Sign in
FILE

eip93-common.h

File preview with syntax highlighting.

linux-6.19.14/drivers/crypto/inside-secure/eip93/eip93-common.h C
 1/* SPDX-License-Identifier: GPL-2.0
 2 *
 3 * Copyright (C) 2019 - 2021
 4 *
 5 * Richard van Schagen <vschagen@icloud.com>
 6 * Christian Marangi <ansuelsmth@gmail.com
 7 */
 8
 9#ifndef _EIP93_COMMON_H_
10#define _EIP93_COMMON_H_
11
12void *eip93_get_descriptor(struct eip93_device *eip93);
13int eip93_put_descriptor(struct eip93_device *eip93, struct eip93_descriptor *desc);
14
15void eip93_set_sa_record(struct sa_record *sa_record, const unsigned int keylen,
16			 const u32 flags);
17
18int eip93_parse_ctrl_stat_err(struct eip93_device *eip93, int err);
19
20int eip93_hmac_setkey(u32 ctx_flags, const u8 *key, unsigned int keylen,
21		      unsigned int hashlen, u8 *ipad, u8 *opad,
22		      bool skip_ipad);
23
24#endif /* _EIP93_COMMON_H_ */
~/ Read-only file preview.