Searched refs:sig_value (Results 1 – 3 of 3) sorted by relevance
/openssl/demos/signature/ |
H A D | EVP_ED_Signature_demo.c | 36 unsigned char *sig_value = NULL; in demo_sign() local 64 sig_value = OPENSSL_malloc(sig_len); in demo_sign() 65 if (sig_value == NULL) { in demo_sign() 75 *sig_out_value = sig_value; in demo_sign() 76 BIO_dump_indent_fp(stdout, sig_value, sig_len, 2); in demo_sign() 82 OPENSSL_free(sig_value); in demo_sign() 114 if (!EVP_DigestVerify(verify_context, sig_value, sig_len, in demo_verify() 174 unsigned char *sig_value = NULL; in main() local 189 &sig_value, &sig_len)) { in main() 194 sig_value, sig_len, libctx)) { in main() [all …]
|
H A D | EVP_EC_Signature_demo.c | 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() 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 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() [all …]
|
H A D | EVP_DSA_Signature_demo.c | 169 unsigned char *sig_value = NULL; in demo_sign() local 201 sig_value = OPENSSL_malloc(sig_len); in demo_sign() 202 if (sig_value == NULL) in demo_sign() 206 if (EVP_DigestSignFinal(ctx, sig_value, &sig_len) != 1) in demo_sign() 213 OPENSSL_free(sig_value); in demo_sign() 215 sig_value = NULL; in demo_sign() 218 *p_sig_value = sig_value; in demo_sign() 223 BIO_dump_indent_fp(stdout, sig_value, sig_len, 2); in demo_sign() 258 if (EVP_DigestVerifyFinal(ctx, sig_value, sig_len) != 1) in demo_verify() 278 unsigned char *sig_value = NULL; in main() local [all …]
|
Completed in 7 milliseconds