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