Lines Matching refs:pkey
164 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf()
174 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_sign()
175 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_sign()
213 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_verify()
230 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify()
246 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_verify_recover()
247 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify_recover()
310 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_encrypt()
311 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_encrypt()
342 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_decrypt()
343 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_decrypt()
519 static int pkey_rsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) { in pkey_rsa_keygen() argument
539 EVP_PKEY_assign_RSA(pkey, rsa); in pkey_rsa_keygen()