/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */ /* \file cc_cipher.h * ARM CryptoCell Cipher Crypto API */ #ifndef __CC_CIPHER_H__ #define __CC_CIPHER_H__ #include <linux/kernel.h> #include <crypto/algapi.h> #include "cc_driver.h" #include "cc_buffer_mgr.h" struct cipher_req_ctx { … }; int cc_cipher_alloc(struct cc_drvdata *drvdata); int cc_cipher_free(struct cc_drvdata *drvdata); struct cc_hkey_info { … } __packed; #define CC_HW_KEY_SIZE … #endif /*__CC_CIPHER_H__*/