Home | History | Annotate | Download | only in evp

Lines Matching defs:tbuf

82   /* tbuf is a buffer which is either NULL, or is the size of the RSA modulus.
84 uint8_t *tbuf;
149 if (rctx->tbuf) {
150 OPENSSL_free(rctx->tbuf);
159 if (ctx->tbuf) {
162 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey));
163 if (!ctx->tbuf) {
208 !RSA_padding_add_PKCS1_PSS_mgf1(rsa, rctx->tbuf, tbs, rctx->md,
210 !RSA_encrypt(rsa, siglen, sig, *siglen, rctx->tbuf, key_len,
239 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen,
242 rctx->tbuf, rctx->saltlen)) {
253 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen,
256 CRYPTO_memcmp(tbs, rctx->tbuf, rslen) != 0) {
281 !RSA_padding_add_PKCS1_OAEP_mgf1(rctx->tbuf, key_len, in, inlen,
284 !RSA_encrypt(rsa, outlen, out, *outlen, rctx->tbuf, key_len,
316 !RSA_decrypt(rsa, &plaintext_len, rctx->tbuf, key_len, in, inlen,
322 out, key_len, rctx->tbuf, plaintext_len, rctx->oaep_label,