Lines Matching refs:keypair
147 OSSL_PARAM *keypair = NULL; in extract_keypair() local
149 if (EVP_PKEY_todata(pkey, EVP_PKEY_KEYPAIR, &keypair) != 1) in extract_keypair()
155 OSSL_PARAM_free(keypair); in extract_keypair()
156 keypair = NULL; in extract_keypair()
158 *p_keypair = keypair; in extract_keypair()
165 OSSL_PARAM keypair[]) in demo_sign() argument
179 if (EVP_PKEY_fromdata(pkey_ctx, &pkey, EVP_PKEY_KEYPAIR, keypair) != 1) in demo_sign()
276 OSSL_PARAM *keypair = NULL; in main() local
293 if (extract_keypair(pkey, &keypair) != 1) in main()
297 if (demo_sign(libctx, &sig_len, &sig_value, keypair) != 1) in main()
313 OSSL_PARAM_free(keypair); in main()