Lines Matching refs:keylen_pad
147 ctx->adata.keylen_pad; in aead_null_set_sh_desc()
228 nonce = (u32 *)((void *)ctx->key + ctx->adata.keylen_pad + in aead_set_sh_desc()
241 ctx->cdata.key_virt = ctx->key + ctx->adata.keylen_pad; in aead_set_sh_desc()
242 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
244 data_len[0] = ctx->adata.keylen_pad; in aead_set_sh_desc()
609 ctx->adata.keylen_pad = split_key_len(ctx->adata.algtype & in aead_setkey()
612 if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE) in aead_setkey()
616 memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, in aead_setkey()
619 ctx->adata.keylen_pad + in aead_setkey()
632 memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen); in aead_setkey()
633 dma_sync_single_for_device(jrdev, ctx->key_dma, ctx->adata.keylen_pad + in aead_setkey()
638 ctx->adata.keylen_pad + keys.enckeylen, 1); in aead_setkey()