Searched refs:sa_in (Results 1 – 3 of 3) sorted by relevance
136 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes()144 sa = ctx->sa_in; in crypto4xx_setkey_aes()379 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_ccm()387 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_ccm()528 if (ctx->sa_in || ctx->sa_out) in crypto4xx_setkey_aes_gcm()535 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_setkey_aes_gcm()592 decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt_aes_gcm()625 if (ctx->sa_in || ctx->sa_out) in crypto4xx_hash_alg_init()658 sa = ctx->sa_in; in crypto4xx_hash_init()677 req->nbytes, NULL, 0, ctx->sa_in, in crypto4xx_hash_update()[all …]
137 ctx->sa_in = kcalloc(size, 4, GFP_ATOMIC); in crypto4xx_alloc_sa()138 if (ctx->sa_in == NULL) in crypto4xx_alloc_sa()143 kfree(ctx->sa_in); in crypto4xx_alloc_sa()144 ctx->sa_in = NULL; in crypto4xx_alloc_sa()155 kfree(ctx->sa_in); in crypto4xx_free_sa()156 ctx->sa_in = NULL; in crypto4xx_free_sa()492 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst()935 ctx->sa_in = NULL; in crypto4xx_ctx_init()
120 struct dynamic_sa_ctl *sa_in; member