Lines Matching refs:public_key
127 OSSL_PARAM *public_key = NULL; in extract_public_key() local
129 if (EVP_PKEY_todata(pkey, EVP_PKEY_PUBLIC_KEY, &public_key) != 1) in extract_public_key()
135 OSSL_PARAM_free(public_key); in extract_public_key()
136 public_key = NULL; in extract_public_key()
138 *p_public_key = public_key; in extract_public_key()
230 OSSL_PARAM public_key[]) in demo_verify() argument
242 if (EVP_PKEY_fromdata(pkey_ctx, &pkey, EVP_PKEY_PUBLIC_KEY, public_key) != 1) in demo_verify()
275 OSSL_PARAM *public_key = NULL; in main() local
290 if (extract_public_key(pkey, &public_key) != 1) in main()
301 if (demo_verify(libctx, sig_len, sig_value, public_key) != 1) in main()
312 OSSL_PARAM_free(public_key); in main()