Lines Matching refs:psc_buf
70 uint8_t *psc_buf;
172 ctx->psc_buf = NULL;
185 ctx->psc_buf = realloc(ctx->psc_buf, ctx->psc_size, M_PADLOCK,
187 if(ctx->psc_buf == NULL)
190 bcopy(buf, ctx->psc_buf + ctx->psc_offset, bufsize);
201 if (ctx->psc_buf != NULL) {
202 zfree(ctx->psc_buf, M_PADLOCK);
203 ctx->psc_buf = NULL;
215 padlock_do_sha1(ctx->psc_buf, hash, ctx->psc_offset);
225 padlock_do_sha256(ctx->psc_buf, hash, ctx->psc_offset);
240 dpctx->psc_buf = malloc(dpctx->psc_size, M_PADLOCK, M_WAITOK);
241 bcopy(spctx->psc_buf, dpctx->psc_buf, dpctx->psc_size);