Searched refs:ivbuf (Results 1 - 3 of 3) sorted by relevance

/sssd-io/src/util/crypto/libcrypto/
H A Dcrypto_obfuscate.c77 unsigned char *ivbuf; local
111 ivbuf = talloc_array(tmp_ctx, unsigned char, mech_props->bsize);
112 if (ivbuf == NULL) {
118 RAND_bytes(ivbuf, mech_props->bsize);
128 if (!EVP_EncryptInit_ex(ctx, mech_props->cipher(), 0, keybuf, ivbuf)) {
176 safealign_memcpy(&obfbuf[p], ivbuf, mech_props->bsize, &p);
216 unsigned char *ivbuf; local
259 /* copy out key, ivbuf and cryptotext */
267 ivbuf = talloc_array(tmp_ctx, unsigned char, mech_props->bsize);
268 if (ivbuf
[all...]
/sssd-io/src/util/crypto/nss/
H A Dnss_nite.c185 uint8_t *ivbuf = NULL; local
260 ivbuf = talloc_size(tmp_ctx, ivlen);
261 if (!ivbuf) {
265 memcpy(ivbuf, ciphertext, ivlen);
268 ret = nss_ctx_init(tmp_ctx, enc, key, keylen, ivbuf, ivlen, &cctx);
H A Dnss_obfuscate.c216 unsigned char *ivbuf; local
262 /* copy out key, ivbuf and cryptotext */
270 ivbuf = talloc_array(tmp_ctx, unsigned char, mech_props->bsize);
271 if (ivbuf == NULL) {
275 safealign_memcpy(ivbuf, obfbuf+p, mech_props->bsize, &p);
286 ivbuf, mech_props->bsize, &cctx);

Completed in 7 milliseconds