Searched refs:split_key_len (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/crypto/caam/ |
H A D | key_gen.h | 15 int gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len,
|
H A D | key_gen.c | 44 int gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len, gen_split_key() argument 90 append_fifo_store(desc, dma_addr_out, split_key_len, gen_split_key()
|
H A D | caamhash.c | 118 unsigned int split_key_len; member in struct:caam_hash_ctx 230 ctx->split_key_len, CLASS_2 | append_key_ahash() 241 if (ctx->split_key_len) { init_sh_desc_key_ahash() 319 if (ctx->split_key_len) ahash_set_sh_desc() 431 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len, gen_split_hash_key() 541 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >> ahash_setkey() 543 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 16); ahash_setkey() 546 printk(KERN_ERR "split_key_len %d split_key_pad_len %d\n", ahash_setkey() 547 ctx->split_key_len, ctx->split_key_pad_len); ahash_setkey()
|
H A D | caamalg.c | 195 unsigned int split_key_len; member in struct:caam_ctx 216 ctx->split_key_len, CLASS_2 | append_key_aead() 222 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | append_key_aead() 286 ctx->split_key_len, CLASS_2 | aead_null_set_sh_desc() 289 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | aead_null_set_sh_desc() 373 ctx->split_key_len, CLASS_2 | aead_null_set_sh_desc() 376 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | aead_null_set_sh_desc() 1648 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len, gen_split_aead_key() 1667 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >> aead_setkey() 1669 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 16); aead_setkey() 1678 printk(KERN_ERR "split_key_len %d split_key_pad_len %d\n", aead_setkey() 1679 ctx->split_key_len, ctx->split_key_pad_len); aead_setkey()
|
Completed in 161 milliseconds