Searched refs:gcm_pt_buf (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/ |
H A D | modes.c | 179 if (ctx->gcm_pt_buf != NULL) { in gcm_clear_ctx() 180 memset(ctx->gcm_pt_buf, 0, ctx->gcm_pt_buf_len); in gcm_clear_ctx() 181 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_clear_ctx()
|
H A D | gcm.c | 308 outp = &((ctx->gcm_pt_buf)[index]); in gcm_decrypt_incomplete_block() 347 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 348 ctx->gcm_pt_buf = NULL; in gcm_mode_decrypt_contiguous_blocks() 352 if (ctx->gcm_pt_buf != NULL) { in gcm_mode_decrypt_contiguous_blocks() 353 memcpy(new, ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 354 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 359 ctx->gcm_pt_buf = new; in gcm_mode_decrypt_contiguous_blocks() 361 memcpy(&ctx->gcm_pt_buf[ctx->gcm_processed_data_len], data, in gcm_mode_decrypt_contiguous_blocks() 395 blockp = ctx->gcm_pt_buf; in gcm_decrypt_final() 441 if (memcmp(&ctx->gcm_pt_buf[pt_len], ghash, ctx->gcm_tag_len)) { in gcm_decrypt_final() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/include/modes/ |
H A D | modes.h | 174 uint8_t *gcm_pt_buf; member
|