Searched refs:gcm_pt_buf (Results 1 – 3 of 3) sorted by relevance
| /freebsd-head/sys/contrib/openzfs/module/icp/algs/modes/ |
| HD | modes.c | 180 if (ctx->gcm_pt_buf != NULL) { in gcm_clear_ctx() 181 memset(ctx->gcm_pt_buf, 0, ctx->gcm_pt_buf_len); in gcm_clear_ctx() 182 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_clear_ctx()
|
| HD | gcm.c | 309 outp = &((ctx->gcm_pt_buf)[index]); in gcm_decrypt_incomplete_block() 348 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 349 ctx->gcm_pt_buf = NULL; in gcm_mode_decrypt_contiguous_blocks() 353 if (ctx->gcm_pt_buf != NULL) { in gcm_mode_decrypt_contiguous_blocks() 354 memcpy(new, ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 355 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 360 ctx->gcm_pt_buf = new; in gcm_mode_decrypt_contiguous_blocks() 362 memcpy(&ctx->gcm_pt_buf[ctx->gcm_processed_data_len], data, in gcm_mode_decrypt_contiguous_blocks() 396 blockp = ctx->gcm_pt_buf; in gcm_decrypt_final() 442 if (memcmp(&ctx->gcm_pt_buf[pt_len], ghash, ctx->gcm_tag_len)) { in gcm_decrypt_final() [all …]
|
| /freebsd-head/sys/contrib/openzfs/module/icp/include/modes/ |
| HD | modes.h | 175 uint8_t *gcm_pt_buf; member
|