Searched refs:split_key_len (Results 1 – 4 of 4) sorted by relevance
/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 231 ctx->split_key_len, CLASS_2 | in append_key_ahash() 242 if (ctx->split_key_len) { in init_sh_desc_key_ahash() 320 if (ctx->split_key_len) in ahash_set_sh_desc() 432 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len, in gen_split_hash_key() 543 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >> in ahash_setkey() 545 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 16); in ahash_setkey() 549 ctx->split_key_len, ctx->split_key_pad_len); in ahash_setkey()
|
D | caamalg.c | 229 unsigned int split_key_len; member 250 ctx->split_key_len, CLASS_2 | in append_key_aead() 256 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | in append_key_aead() 320 ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc() 323 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc() 397 ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc() 400 append_key(desc, ctx->key_dma, ctx->split_key_len, CLASS_2 | in aead_null_set_sh_desc() 1328 return gen_split_key(ctx->jrdev, ctx->key, ctx->split_key_len, in gen_split_aead_key() 1347 ctx->split_key_len = mdpadlen[(ctx->alg_op & OP_ALG_ALGSEL_SUBMASK) >> in aead_setkey() 1349 ctx->split_key_pad_len = ALIGN(ctx->split_key_len, 16); in aead_setkey() [all …]
|