Lines Matching refs:cryptotext
72 unsigned char *cryptotext;
120 /* cryptotext buffer must be at least len(plaintext)+blocksize */
122 cryptotext = talloc_array(tmp_ctx, unsigned char, ct_maxsize);
123 if (!cryptotext) {
129 sret = PK11_CipherOp(cctx->ectx, cryptotext, &ctlen, ct_maxsize,
139 sret = PK11_DigestFinal(cctx->ectx, cryptotext+ctlen, &digestlen,
157 * uint16_t length of the cryptotext in bytes (clen)
160 * uint8_t[clen] cryptotext
178 safealign_memcpy(&obfbuf[p], cryptotext, result_len, &p);
215 unsigned char *cryptotext;
251 /* check that we got sane mechanism properties and cryptotext size */
263 /* copy out key, ivbuf and cryptotext */
278 cryptotext = talloc_array(tmp_ctx, unsigned char, ctsize);
279 if (cryptotext == NULL) {
283 safealign_memcpy(cryptotext, obfbuf+p, ctsize, &p);
305 ctsize, cryptotext, ctsize);