Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/crypto/modes/
H A Dmodes.c171 common_ctx_t *common_ctx = (common_ctx_t *)ctx; in crypto_free_mode_ctx() local
173 switch (common_ctx->cc_flags & in crypto_free_mode_ctx()
177 kmem_free(common_ctx, sizeof (ecb_ctx_t)); in crypto_free_mode_ctx()
179 free(common_ctx); in crypto_free_mode_ctx()
185 kmem_free(common_ctx, sizeof (cbc_ctx_t)); in crypto_free_mode_ctx()
187 free(common_ctx); in crypto_free_mode_ctx()
193 kmem_free(common_ctx, sizeof (ctr_ctx_t)); in crypto_free_mode_ctx()
195 free(common_ctx); in crypto_free_mode_ctx()
H A Dmodes.h76 struct common_ctx { struct
87 typedef struct common_ctx common_ctx_t; argument
90 struct common_ctx ecb_common;
104 struct common_ctx cbc_common;
122 struct common_ctx ctr_common;
160 struct common_ctx ccm_common;
207 struct common_ctx gcm_common;
/titanic_41/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c401 common_ctx_t *common_ctx = ctx; in crypto_update_iov() local
406 &common_ctx->cc_iv[0]); in crypto_update_iov()
423 common_ctx_t *common_ctx = ctx; in crypto_update_uio() local
432 &common_ctx->cc_iv[0]); in crypto_update_uio()
488 common_ctx_t *common_ctx = ctx; in crypto_update_mp() local
496 &common_ctx->cc_iv[0]); in crypto_update_mp()