Lines Matching refs:out
50 uint8_t *out = NULL;
87 out = talloc_zero_size(tmp_ctx, outlen);
92 ret = generate_csprng_buffer(out, ivlen);
96 ret = nss_ctx_init(tmp_ctx, enc, key, keylen, out, ivlen, &cctx);
110 sret = PK11_CipherOp(cctx->ectx, out + clen, &tmplen.s,
119 sret = PK11_DigestFinal(cctx->ectx, out + clen, &tmplen.u, outlen - clen);
151 sret = PK11_DigestOp(hctx->ectx, out, clen);
157 sret = PK11_DigestFinal(hctx->ectx, out + clen, &digestlen,
164 *ciphertext = talloc_move(mem_ctx, &out);
184 uint8_t *out = NULL;
217 out = talloc_zero_size(tmp_ctx, cipherlen);
245 sret = PK11_DigestFinal(hctx->ectx, out, &digestlen, hmaclen);
251 ret = NSS_SecureMemcmp(&ciphertext[cipherlen - hmaclen], out, hmaclen);
280 sret = PK11_CipherOp(cctx->ectx, out, &outlen, cipherlen,
287 sret = PK11_DigestFinal(cctx->ectx, out + outlen, &tmplen,
296 *plaintext = talloc_move(mem_ctx, &out);