Lines Matching refs:tbuf
157 unsigned char *tbuf;
159 if ((tbuf = OPENSSL_malloc(rsasize)) == NULL) {
166 OPENSSL_free(tbuf);
172 ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(prsactx->libctx, tbuf,
180 OPENSSL_free(tbuf);
183 ret = RSA_public_encrypt(rsasize, tbuf, out, prsactx->rsa,
185 OPENSSL_free(tbuf);
234 unsigned char *tbuf;
236 if ((tbuf = OPENSSL_malloc(len)) == NULL) {
240 ret = RSA_private_decrypt(inlen, in, tbuf, prsactx->rsa,
247 OPENSSL_free(tbuf);
255 OPENSSL_free(tbuf);
260 ret = RSA_padding_check_PKCS1_OAEP_mgf1(out, outsize, tbuf,
270 OPENSSL_free(tbuf);
274 prsactx->libctx, out, outsize, tbuf, len,
277 OPENSSL_free(tbuf);