Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/crypto/caam/
Dkey_gen.c44 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()
Dkey_gen.h15 int gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len,
Dcaamhash.c118 unsigned int split_key_len; member
238 ctx->split_key_len, CLASS_2 | in append_key_ahash()
249 if (ctx->split_key_len) { in init_sh_desc_key_ahash()
327 if (ctx->split_key_len) in ahash_set_sh_desc()
439 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len, in gen_split_hash_key()
549 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >> in ahash_setkey()
551 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 16); in ahash_setkey()
555 ctx->split_key_len, ctx->split_key_pad_len); in ahash_setkey()
Dcaamalg.c193 unsigned int split_key_len; member
214 ctx->split_key_len, CLASS_2 | in append_key_aead()
220 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | in append_key_aead()
283 ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc()
286 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc()
360 ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc()
363 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc()
1278 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len, in gen_split_aead_key()
1297 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >> in aead_setkey()
1299 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 16); in aead_setkey()
[all …]