Lines Matching defs:public
42 * For demo_verify, load EC public key pub_key from pub_key_der[].
44 static EVP_PKEY *get_key(OSSL_LIB_CTX *libctx, const char *propq, int public)
52 if (public) {
66 fprintf(stderr, "Failed to load %s key.\n", public ? "public" : "private");
73 int result = 0, public = 0;
81 priv_key = get_key(libctx, propq, public);
153 int result = 0, public = 1;
167 /* Get public key */
168 pub_key = get_key(libctx, propq, public);
170 fprintf(stderr, "Get public key failed.\n");