Searched refs:common_ctx (Results 1 – 3 of 3) sorted by relevance
175 common_ctx_t *common_ctx = (common_ctx_t *)ctx; in crypto_free_mode_ctx() local177 switch (common_ctx->cc_flags & (ECB_MODE|CBC_MODE|CMAC_MODE|CTR_MODE| in crypto_free_mode_ctx()181 kmem_free(common_ctx, sizeof (ecb_ctx_t)); in crypto_free_mode_ctx()183 free(common_ctx); in crypto_free_mode_ctx()190 kmem_free(common_ctx, sizeof (cbc_ctx_t)); in crypto_free_mode_ctx()192 free(common_ctx); in crypto_free_mode_ctx()198 kmem_free(common_ctx, sizeof (ctr_ctx_t)); in crypto_free_mode_ctx()200 free(common_ctx); in crypto_free_mode_ctx()
83 struct common_ctx { struct94 typedef struct common_ctx common_ctx_t; argument97 struct common_ctx ecb_common;114 struct common_ctx cbc_common;133 struct common_ctx ctr_common;172 struct common_ctx ccm_common;219 struct common_ctx gcm_common;
203 common_ctx_t *common_ctx = ctx; in crypto_update_iov() local208 &common_ctx->cc_iv[0]); in crypto_update_iov()225 common_ctx_t *common_ctx = ctx; in crypto_update_uio() local234 &common_ctx->cc_iv[0]); in crypto_update_uio()290 common_ctx_t *common_ctx = ctx; in crypto_update_mp() local298 &common_ctx->cc_iv[0]); in crypto_update_mp()