Searched refs:gcm_pt_buf (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/common/crypto/modes/ |
H A D | modes.c | 216 if (((gcm_ctx_t *)ctx)->gcm_pt_buf != NULL) in crypto_free_mode_ctx() 217 kmem_free(((gcm_ctx_t *)ctx)->gcm_pt_buf, in crypto_free_mode_ctx() 222 if (((gcm_ctx_t *)ctx)->gcm_pt_buf != NULL) in crypto_free_mode_ctx() 223 free(((gcm_ctx_t *)ctx)->gcm_pt_buf); in crypto_free_mode_ctx()
|
H A D | gcm.c | 349 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 D | modes.h | 216 uint8_t *gcm_pt_buf; member
|
/titanic_41/usr/src/uts/common/crypto/io/ |
H A D | aes.c | 1241 if (((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf != NULL) { in aes_decrypt_atomic() 1242 kmem_free(((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf, in aes_decrypt_atomic()
|