]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/blame - drivers/crypto/caam/key_gen.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-disco-kernel.git] / drivers / crypto / caam / key_gen.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
4c1ec1f9
YK
2/*
3 * CAAM/SEC 4.x definitions for handling key-generation jobs
4 *
5 * Copyright 2008-2011 Freescale Semiconductor, Inc.
6 *
7 */
8
9struct split_key_result {
10 struct completion completion;
11 int err;
12};
13
14void split_key_done(struct device *dev, u32 *desc, u32 err, void *context);
15
db57656b 16int gen_split_key(struct device *jrdev, u8 *key_out,
6655cb8e
HG
17 struct alginfo * const adata, const u8 *key_in, u32 keylen,
18 int max_keylen);