Lines Matching refs:sig_len
74 size_t sig_len; in demo_sign() local
117 if (!EVP_DigestSignFinal(sign_context, NULL, &sig_len)) { in demo_sign()
121 if (sig_len <= 0) { in demo_sign()
125 sig_value = OPENSSL_malloc(sig_len); in demo_sign()
130 if (!EVP_DigestSignFinal(sign_context, sig_value, &sig_len)) { in demo_sign()
134 *sig_out_len = sig_len; in demo_sign()
137 BIO_dump_indent_fp(stdout, sig_value, sig_len, 2); 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()
209 size_t sig_len = 0; 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()