common_ctx
common_ctx_t *common_ctx = (common_ctx_t *)ctx;
switch (common_ctx->cc_flags & (ECB_MODE|CBC_MODE|CMAC_MODE|CTR_MODE|
kmem_free(common_ctx, sizeof (ecb_ctx_t));
free(common_ctx);
kmem_free(common_ctx, sizeof (cbc_ctx_t));
free(common_ctx);
kmem_free(common_ctx, sizeof (ctr_ctx_t));
free(common_ctx);
struct common_ctx cbc_common;
struct common_ctx ctr_common;
struct common_ctx ccm_common;
struct common_ctx gcm_common;
typedef struct common_ctx common_ctx_t;
struct common_ctx ecb_common;
common_ctx_t *common_ctx = ctx;
&common_ctx->cc_iv[0]);
common_ctx_t *common_ctx = ctx;
&common_ctx->cc_iv[0]);
common_ctx_t *common_ctx = ctx;
&common_ctx->cc_iv[0]);