Path: blob/master/drivers/crypto/inside-secure/eip93/eip93-common.h
26285 views
/* SPDX-License-Identifier: GPL-2.01*2* Copyright (C) 2019 - 20213*4* Richard van Schagen <[email protected]>5* Christian Marangi <[email protected]6*/78#ifndef _EIP93_COMMON_H_9#define _EIP93_COMMON_H_1011void *eip93_get_descriptor(struct eip93_device *eip93);12int eip93_put_descriptor(struct eip93_device *eip93, struct eip93_descriptor *desc);1314void eip93_set_sa_record(struct sa_record *sa_record, const unsigned int keylen,15const u32 flags);1617int eip93_parse_ctrl_stat_err(struct eip93_device *eip93, int err);1819int eip93_hmac_setkey(u32 ctx_flags, const u8 *key, unsigned int keylen,20unsigned int hashlen, u8 *ipad, u8 *opad,21bool skip_ipad);2223#endif /* _EIP93_COMMON_H_ */242526