Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / drivers / crypto / caam / key_gen.h
blobc5588f6d8109ee7247f0bab5c52c06db7dfb41b0
1 /*
2 * CAAM/SEC 4.x definitions for handling key-generation jobs
4 * Copyright 2008-2011 Freescale Semiconductor, Inc.
6 */
8 struct split_key_result {
9 struct completion completion;
10 int err;
13 void split_key_done(struct device *dev, u32 *desc, u32 err, void *context);
15 int gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len,
16 int split_key_pad_len, const u8 *key_in, u32 keylen,
17 u32 alg_op);