Searched defs:cryptotext (Results 1 - 2 of 2) sorted by relevance

/sssd/src/util/crypto/libcrypto/
H A Dcrypto_obfuscate.c78 unsigned char *cryptotext; local
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; local
[all...]
/sssd/src/util/crypto/nss/
H A Dnss_obfuscate.c72 unsigned char *cryptotext; local
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; local
[all...]

Completed in 317 milliseconds