Home
last modified time | relevance | path

Searched refs:common_ctx (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/common/crypto/modes/
H A Dmodes.c175 common_ctx_t *common_ctx = (common_ctx_t *)ctx; in crypto_free_mode_ctx() local
177 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()
H A Dmodes.h83 struct common_ctx { struct
94 typedef struct common_ctx common_ctx_t; argument
97 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;
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c203 common_ctx_t *common_ctx = ctx; in crypto_update_iov() local
208 &common_ctx->cc_iv[0]); in crypto_update_iov()
225 common_ctx_t *common_ctx = ctx; in crypto_update_uio() local
234 &common_ctx->cc_iv[0]); in crypto_update_uio()
290 common_ctx_t *common_ctx = ctx; in crypto_update_mp() local
298 &common_ctx->cc_iv[0]); in crypto_update_mp()