Searched refs:keybuf (Results 1 - 2 of 2) sorted by relevance

/sssd/src/util/crypto/libcrypto/
H A Dcrypto_obfuscate.c76 unsigned char *keybuf; local
105 keybuf = talloc_array(tmp_ctx, unsigned char, mech_props->keylen);
106 if (keybuf == NULL) {
117 RAND_bytes(keybuf, mech_props->keylen);
128 if (!EVP_EncryptInit_ex(ctx, mech_props->cipher(), 0, keybuf, ivbuf)) {
175 safealign_memcpy(&obfbuf[p], keybuf, mech_props->keylen, &p);
215 unsigned char *keybuf; local
260 keybuf = talloc_array(tmp_ctx, unsigned char, mech_props->keylen);
261 if (keybuf == NULL) {
265 safealign_memcpy(keybuf, obfbu
[all...]
/sssd/src/util/crypto/nss/
H A Dnss_obfuscate.c216 unsigned char *keybuf; local
264 keybuf = talloc_array(tmp_ctx, unsigned char, mech_props->keylen);
265 if (keybuf == NULL) {
269 safealign_memcpy(keybuf, obfbuf+p, mech_props->keylen, &p);
286 keybuf, mech_props->keylen,

Completed in 490 milliseconds