Searched refs:common_ctx (Results 1 – 3 of 3) sorted by relevance
125 common_ctx_t *common_ctx = (common_ctx_t *)ctx; in crypto_free_mode_ctx() local127 switch (common_ctx->cc_flags & in crypto_free_mode_ctx()130 kmem_free(common_ctx, sizeof (ecb_ctx_t)); in crypto_free_mode_ctx()134 kmem_free(common_ctx, sizeof (cbc_ctx_t)); in crypto_free_mode_ctx()138 kmem_free(common_ctx, sizeof (ctr_ctx_t)); in crypto_free_mode_ctx()
81 struct common_ctx { struct92 typedef struct common_ctx common_ctx_t; argument95 struct common_ctx ecb_common;109 struct common_ctx cbc_common;127 struct common_ctx ctr_common;165 struct common_ctx ccm_common;216 struct common_ctx gcm_common;
145 common_ctx_t *common_ctx = ctx; in crypto_update_iov() local151 &common_ctx->cc_iv[0]); in crypto_update_iov()168 common_ctx_t *common_ctx = ctx; in crypto_update_uio() local178 &common_ctx->cc_iv[0]); in crypto_update_uio()