Home
last modified time | relevance | path

Searched refs:sig_value (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/demos/signature/
H A DEVP_Signature_demo.c75 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
[all …]