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

/sssd/src/util/crypto/libcrypto/
H A Dcrypto_obfuscate.c208 char *pwdbuf; local
281 pwdbuf = talloc_array(tmp_ctx, char, ctsize);
282 if (!pwdbuf) {
293 if (!EVP_DecryptUpdate(ctx, (unsigned char *)pwdbuf, &plainlen, cryptotext, ctsize)) {
298 if (!EVP_DecryptFinal_ex(ctx, (unsigned char *)pwdbuf + plainlen, &digestlen)) {
303 *password = talloc_move(mem_ctx, &pwdbuf);
/sssd/src/util/crypto/nss/
H A Dnss_obfuscate.c209 char *pwdbuf; local
298 pwdbuf = talloc_array(tmp_ctx, char, ctsize);
299 if (!pwdbuf) {
304 sret = PK11_CipherOp(cctx->ectx, (unsigned char *) pwdbuf, &plainlen,
314 sret = PK11_DigestFinal(cctx->ectx, (unsigned char *) pwdbuf+plainlen,
324 *password = talloc_move(mem_ctx, &pwdbuf);

Completed in 9 milliseconds