Searched refs:tmpout (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/lib/libutil/
H A Dbcrypt_pbkdf.c105 uint8_t tmpout[BCRYPT_HASHSIZE]; local
138 bcrypt_hash(sha2pass, sha2salt, tmpout);
139 memcpy(out, tmpout, sizeof(out));
144 SHA512Update(&ctx, tmpout, sizeof(tmpout));
146 bcrypt_hash(sha2pass, sha2salt, tmpout);
148 out[j] ^= tmpout[j];
167 explicit_bzero(tmpout, sizeof(tmpout));
/openbsd-current/sys/lib/libsa/
H A Dbcrypt_pbkdf.c103 uint8_t tmpout[BCRYPT_HASHSIZE]; local
136 bcrypt_hash(sha2pass, sha2salt, tmpout);
137 memcpy(out, tmpout, sizeof(out));
142 SHA512Update(&ctx, tmpout, sizeof(tmpout));
144 bcrypt_hash(sha2pass, sha2salt, tmpout);
146 out[j] ^= tmpout[j];
/openbsd-current/lib/libcrypto/cms/
H A Dcms_smime.c92 BIO *tmpout; local
94 tmpout = cms_get_text_bio(out, flags);
96 if (tmpout == NULL) {
114 if (tmpout && (BIO_write(tmpout, buf, i) != i))
119 if (!SMIME_text(tmpout, out)) {
128 if (tmpout != out)
129 BIO_free(tmpout);
352 BIO *cmsbio = NULL, *tmpin = NULL, *tmpout = NULL; local
439 tmpout
[all...]
/openbsd-current/lib/libcrypto/pkcs7/
H A Dpk7_smime.c262 BIO *tmpin, *tmpout; local
367 if (!(tmpout = BIO_new(BIO_s_mem()))) {
371 BIO_set_mem_eof_return(tmpout, 0);
373 tmpout = out;
380 if (tmpout)
381 BIO_write(tmpout, buf, i);
385 if (!SMIME_text(tmpout, out)) {
387 BIO_free(tmpout);
390 BIO_free(tmpout);

Completed in 85 milliseconds