Lines Matching refs:evp_key
605 EVP_PKEY *evp_key;
611 evp_key = EVP_PKEY_new();
612 if (!evp_key)
615 if (!EVP_PKEY_set1_RSA(evp_key, key)) {
620 size = EVP_PKEY_size(evp_key);
644 if (!EVP_SignFinal(ctx, sig->sig, &sig_size, evp_key)) {
651 EVP_PKEY_free(evp_key);
658 EVP_PKEY_free(evp_key);
666 EVP_PKEY *evp_key;
671 evp_key = EVP_PKEY_new();
672 if (!evp_key)
675 if (!EVP_PKEY_set1_RSA(evp_key, key)) {
680 size = EVP_PKEY_size(evp_key);
704 if (!EVP_VerifyFinal(ctx, sig->sig, sizeof(sig->sig), evp_key)) {
711 EVP_PKEY_free(evp_key);
718 EVP_PKEY_free(evp_key);