Lines Matching refs:sig_len
168 size_t sig_len = 0; in demo_sign() local
196 if (EVP_DigestSignFinal(ctx, NULL, &sig_len) != 1) in demo_sign()
198 if (sig_len == 0) in demo_sign()
201 sig_value = OPENSSL_malloc(sig_len); in demo_sign()
206 if (EVP_DigestSignFinal(ctx, sig_value, &sig_len) != 1) in demo_sign()
214 sig_len = 0; in demo_sign()
217 *p_sig_len = sig_len; in demo_sign()
223 BIO_dump_indent_fp(stdout, sig_value, sig_len, 2); in demo_sign()
229 size_t sig_len, unsigned char *sig_value, in demo_verify() argument
258 if (EVP_DigestVerifyFinal(ctx, sig_value, sig_len) != 1) in demo_verify()
277 size_t sig_len = 0; in main() local
297 if (demo_sign(libctx, &sig_len, &sig_value, keypair) != 1) in main()
301 if (demo_verify(libctx, sig_len, sig_value, public_key) != 1) in main()