Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/crypto/modes/
H A Dmodes.c201 if (((ccm_ctx_t *)ctx)->ccm_pt_buf != NULL) in crypto_free_mode_ctx()
202 kmem_free(((ccm_ctx_t *)ctx)->ccm_pt_buf, in crypto_free_mode_ctx()
207 if (((ccm_ctx_t *)ctx)->ccm_pt_buf != NULL) in crypto_free_mode_ctx()
208 free(((ccm_ctx_t *)ctx)->ccm_pt_buf); in crypto_free_mode_ctx()
H A Dccm.c341 outp = &((ctx->ccm_pt_buf)[ctx->ccm_processed_data_len]); in ccm_decrypt_incomplete_block()
483 resultp = (uint8_t *)ctx->ccm_pt_buf + in ccm_mode_decrypt_contiguous_blocks()
543 pt = ctx->ccm_pt_buf; in ccm_decrypt_final()
575 rv = crypto_put_output_data(ctx->ccm_pt_buf, out, pt_len); in ccm_decrypt_final()
895 ccm_ctx->ccm_pt_buf = kmem_alloc(ccm_ctx->ccm_data_len, in ccm_init_ctx()
898 ccm_ctx->ccm_pt_buf = malloc(ccm_ctx->ccm_data_len); in ccm_init_ctx()
900 if (ccm_ctx->ccm_pt_buf == NULL) { in ccm_init_ctx()
H A Dmodes.h167 uint8_t *ccm_pt_buf; member
250 #define ac_pt_buf acu.acu_ccm.ccm_pt_buf