Home
last modified time | relevance | path

Searched refs:gcm_pt_buf (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/common/crypto/modes/
H A Dgcm.c349 outp = &((ctx->gcm_pt_buf)[index]); in gcm_decrypt_incomplete_block()
387 bcopy(ctx->gcm_pt_buf, new, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks()
388 kmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks()
391 bcopy(ctx->gcm_pt_buf, new, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks()
392 free(ctx->gcm_pt_buf); in gcm_mode_decrypt_contiguous_blocks()
397 ctx->gcm_pt_buf = new; in gcm_mode_decrypt_contiguous_blocks()
399 bcopy(data, &ctx->gcm_pt_buf[ctx->gcm_processed_data_len], in gcm_mode_decrypt_contiguous_blocks()
426 blockp = ctx->gcm_pt_buf; in gcm_decrypt_final()
472 if (bcmp(&ctx->gcm_pt_buf[pt_len], ghash, ctx->gcm_tag_len)) { in gcm_decrypt_final()
476 rv = crypto_put_output_data(ctx->gcm_pt_buf, out, pt_len); in gcm_decrypt_final()
H A Dmodes.c221 if (((gcm_ctx_t *)ctx)->gcm_pt_buf != NULL) in crypto_free_mode_ctx()
222 kmem_free(((gcm_ctx_t *)ctx)->gcm_pt_buf, in crypto_free_mode_ctx()
227 if (((gcm_ctx_t *)ctx)->gcm_pt_buf != NULL) in crypto_free_mode_ctx()
228 free(((gcm_ctx_t *)ctx)->gcm_pt_buf); in crypto_free_mode_ctx()
H A Dmodes.h228 uint8_t *gcm_pt_buf; member
/illumos-gate/usr/src/uts/common/crypto/io/
H A Daes.c1267 if (((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf != NULL) { in aes_decrypt_atomic()
1268 kmem_free(((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf, in aes_decrypt_atomic()