Searched refs:sa_in (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 138 sa = (struct dynamic_sa_ctl *) ctx->sa_in; crypto4xx_setkey_aes() 153 crypto4xx_memcpy_le(ctx->sa_in + get_dynamic_sa_offset_key_field(ctx), crypto4xx_setkey_aes() 159 memcpy(ctx->sa_in + get_dynamic_sa_offset_state_ptr_field(ctx), crypto4xx_setkey_aes() 163 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); crypto4xx_setkey_aes() 189 struct dynamic_sa_hash160 *sa_in; crypto4xx_hash_alg_init() local 214 sa = (struct dynamic_sa_ctl *) ctx->sa_in; crypto4xx_hash_alg_init() 227 sa_in = (struct dynamic_sa_hash160 *) ctx->sa_in; crypto4xx_hash_alg_init() 229 memset(sa_in->inner_digest, 0, sizeof(sa_in->inner_digest)); crypto4xx_hash_alg_init() 230 memset(sa_in->outer_digest, 0, sizeof(sa_in->outer_digest)); crypto4xx_hash_alg_init() 231 sa_in->state_ptr = ctx->state_record_dma_addr; crypto4xx_hash_alg_init() 243 sa = (struct dynamic_sa_ctl *) ctx->sa_in; crypto4xx_hash_init()
|
H A D | crypto4xx_sa.c | 43 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_in)->sa_contents; get_dynamic_sa_offset_state_ptr_field() 69 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_in)->sa_contents; get_dynamic_sa_iv_size() 80 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_in)->sa_contents; get_dynamic_sa_offset_key_field()
|
H A D | crypto4xx_core.c | 129 ctx->sa_in = dma_alloc_coherent(ctx->dev->core_dev->device, size * 4, crypto4xx_alloc_sa() 131 if (ctx->sa_in == NULL) crypto4xx_alloc_sa() 139 ctx->sa_in, ctx->sa_in_dma_addr); crypto4xx_alloc_sa() 143 memset(ctx->sa_in, 0, size * 4); crypto4xx_alloc_sa() 152 if (ctx->sa_in != NULL) crypto4xx_free_sa() 154 ctx->sa_in, ctx->sa_in_dma_addr); crypto4xx_free_sa() 595 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; crypto4xx_copy_digest_to_dst() 866 memcpy(sa, ctx->sa_in, ctx->sa_len * 4); crypto4xx_build_pd() 878 sa = (struct dynamic_sa_ctl *) ctx->sa_in; crypto4xx_build_pd() 999 ctx->sa_in = NULL; crypto4xx_alg_init()
|
H A D | crypto4xx_core.h | 117 void *sa_in; member in struct:crypto4xx_ctx
|
Completed in 87 milliseconds