Lines Matching refs:sig_value
75 unsigned char *sig_value = NULL; in demo_sign() local
125 sig_value = OPENSSL_malloc(sig_len); in demo_sign()
126 if (sig_value == NULL) { in demo_sign()
130 if (!EVP_DigestSignFinal(sign_context, sig_value, &sig_len)) { in demo_sign()
135 *sig_out_value = sig_value; in demo_sign()
137 BIO_dump_indent_fp(stdout, sig_value, sig_len, 2); in demo_sign()
144 OPENSSL_free(sig_value); in demo_sign()
151 size_t sig_len, unsigned char *sig_value) in demo_verify() argument
191 if (EVP_DigestVerifyFinal(verify_context, sig_value, sig_len) <= 0) { in demo_verify()
210 unsigned char *sig_value = NULL; in main() local
218 if (!demo_sign(libctx, sig_name, &sig_len, &sig_value)) { in main()
222 if (!demo_verify(libctx, sig_name, sig_len, sig_value)) { in main()
233 OPENSSL_free(sig_value); in main()