Searched refs:split_key_len (Results 1 - 4 of 4) sorted by relevance

/drivers/crypto/caam/
H A Dkey_gen.h15 int gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len,
H A Dkey_gen.c44 int gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len, argument
90 append_fifo_store(desc, dma_addr_out, split_key_len,
H A Dcaamalg.c175 unsigned int split_key_len; member in struct:caam_ctx
185 ctx->split_key_len, CLASS_2 |
191 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 |
241 ctx->split_key_len, CLASS_2 |
244 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 |
328 ctx->split_key_len, CLASS_2 |
331 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 |
636 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len,
655 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >>
657 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 1
[all...]
H A Dcaamhash.c118 unsigned int split_key_len; member in struct:caam_hash_ctx
230 ctx->split_key_len, CLASS_2 |
241 if (ctx->split_key_len) {
319 if (ctx->split_key_len)
431 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len,
541 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >>
543 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 16);
546 printk(KERN_ERR "split_key_len %d split_key_pad_len %d\n",
547 ctx->split_key_len, ctx->split_key_pad_len);

Completed in 47 milliseconds