Lines Matching defs:cryptotext
78 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) {
135 if (!EVP_EncryptUpdate(ctx, cryptotext, &ctlen, (const unsigned char *)password, plen)) {
141 if (!EVP_EncryptFinal_ex(ctx, cryptotext + ctlen, &digestlen)) {
156 * uint16_t length of the cryptotext in bytes (clen)
159 * uint8_t[clen] cryptotext
177 safealign_memcpy(&obfbuf[p], cryptotext, result_len, &p);
214 unsigned char *cryptotext;
249 /* check that we got sane mechanism properties and cryptotext size */
259 /* copy out key, ivbuf and cryptotext */
274 cryptotext = talloc_array(tmp_ctx, unsigned char, ctsize);
275 if (cryptotext == NULL) {
279 safealign_memcpy(cryptotext, obfbuf+p, ctsize, &p);
293 if (!EVP_DecryptUpdate(ctx, (unsigned char *)pwdbuf, &plainlen, cryptotext, ctsize)) {