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 | 180 if (ctx->gcm_pt_buf != NULL) { in gcm_clear_ctx() 181 explicit_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()
|
| H A D | gcm.c | 312 outp = &((ctx->gcm_pt_buf)[index]); in gcm_decrypt_incomplete_block() 351 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 352 ctx->gcm_pt_buf = NULL; in gcm_mode_decrypt_contiguous_blocks() 356 if (ctx->gcm_pt_buf != NULL) { in gcm_mode_decrypt_contiguous_blocks() 357 memcpy(new, ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 358 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 363 ctx->gcm_pt_buf = new; in gcm_mode_decrypt_contiguous_blocks() 365 memcpy(&ctx->gcm_pt_buf[ctx->gcm_processed_data_len], data, in gcm_mode_decrypt_contiguous_blocks() 399 blockp = ctx->gcm_pt_buf; in gcm_decrypt_final() 445 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 | 184 uint8_t *gcm_pt_buf; member
|