Searched refs:gcm_pt_buf (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/algs/modes/ |
| HD | gcm.c | 308 outp = &((ctx->gcm_pt_buf)[index]); in gcm_decrypt_incomplete_block() 346 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 347 ctx->gcm_pt_buf = NULL; in gcm_mode_decrypt_contiguous_blocks() 350 bcopy(ctx->gcm_pt_buf, new, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 351 vmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks() 352 ctx->gcm_pt_buf = new; in gcm_mode_decrypt_contiguous_blocks() 354 bcopy(data, &ctx->gcm_pt_buf[ctx->gcm_processed_data_len], in gcm_mode_decrypt_contiguous_blocks() 388 blockp = ctx->gcm_pt_buf; in gcm_decrypt_final() 434 if (bcmp(&ctx->gcm_pt_buf[pt_len], ghash, ctx->gcm_tag_len)) { in gcm_decrypt_final() 438 rv = crypto_put_output_data(ctx->gcm_pt_buf, out, pt_len); in gcm_decrypt_final() [all …]
|
| HD | modes.c | 151 if (((gcm_ctx_t *)ctx)->gcm_pt_buf != NULL) in crypto_free_mode_ctx() 152 vmem_free(((gcm_ctx_t *)ctx)->gcm_pt_buf, in crypto_free_mode_ctx()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/include/modes/ |
| HD | modes.h | 233 uint8_t *gcm_pt_buf; member
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/io/ |
| HD | aes.c | 1218 if (((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf != NULL) { in aes_decrypt_atomic() 1219 vmem_free(((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf, in aes_decrypt_atomic()
|