Searched refs:gcm_pt_buf (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/common/crypto/modes/
H A Dmodes.c216 if (((gcm_ctx_t *)ctx)->gcm_pt_buf != NULL)
217 kmem_free(((gcm_ctx_t *)ctx)->gcm_pt_buf,
222 if (((gcm_ctx_t *)ctx)->gcm_pt_buf != NULL)
223 free(((gcm_ctx_t *)ctx)->gcm_pt_buf);
H A Dgcm.c349 outp = &((ctx->gcm_pt_buf)[index]);
387 bcopy(ctx->gcm_pt_buf, new, ctx->gcm_pt_buf_len);
388 kmem_free(ctx->gcm_pt_buf, ctx->gcm_pt_buf_len);
391 bcopy(ctx->gcm_pt_buf, new, ctx->gcm_pt_buf_len);
392 free(ctx->gcm_pt_buf);
397 ctx->gcm_pt_buf = new;
399 bcopy(data, &ctx->gcm_pt_buf[ctx->gcm_processed_data_len],
426 blockp = ctx->gcm_pt_buf;
472 if (bcmp(&ctx->gcm_pt_buf[pt_len], ghash, ctx->gcm_tag_len)) {
476 rv = crypto_put_output_data(ctx->gcm_pt_buf, ou
[all...]
H A Dmodes.h190 * gcm_pt_buf: Stores the decrypted plaintext returned by
216 uint8_t *gcm_pt_buf; member in struct:gcm_ctx
/illumos-gate/usr/src/uts/common/crypto/io/
H A Daes.c1241 if (((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf != NULL) {
1242 kmem_free(((gcm_ctx_t *)&aes_ctx)->gcm_pt_buf,

Completed in 59 milliseconds