Re: signing data

2013-06-12 Thread Michael Wild
On 12.06.2013 14:57, Dr. Stephen Henson wrote: > On Fri, Jun 07, 2013, Michael Wild wrote: > >> Thanks for all the answers. Now I feel really stupid about forgetting >> the implicit 0... >> >> Stephen: How do I prevent my program from hashing the data? >> EVP_

Re: signing data

2013-06-07 Thread Michael Wild
07, 2013, Michael Wild wrote: > >> Dear all >> >> I'm quite the noob in all things OpenSSL, and I'm struggling getting >> started with signing a piece of data. >> >> Here a MWE that should illustrate the problem. It loads "private.pem"

signing data

2013-06-06 Thread Michael Wild
Dear all I'm quite the noob in all things OpenSSL, and I'm struggling getting started with signing a piece of data. Here a MWE that should illustrate the problem. It loads "private.pem" (a RSA private key I generated using `openssl genrsa -out private.pem 1024`) and then tries to sign a piece of

Signature of EVP_DigestVerifyFinal()

2013-05-29 Thread Michael Wild
Dear all I'm a total OpenSSL newbie, so please be kind. While writing my C++ program, I stumbled over the somewhat strange signature of EVP_DigestVerifyFinal: > int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, > unsigned char *sig, > size_t siglen);

Signature of EVP_DigestVerifyFinal()

2013-05-29 Thread Michael Wild
Dear all I'm a total OpenSSL newbie, so please be kind. While writing my C++ program, I stumbled over the somewhat strange signature of EVP_DigestVerifyFinal: > int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, > unsigned char *sig, > size_t siglen);