Re: [openssl-users] Fwd: Openssl api for signature verification using digest

2018-08-29 Thread Siti Rafidah
All on my phone Pada 29 Aug 2018, at 17:53, Linta Maria menulis: > Hi Viktor, > > As you suggested, signature wasn't correct. > With below input also it's not working. > > Pubkey is read to evp_PKEY format > > EVP_PKEY * vkey; > char PubKey [] ="-BEGIN PUBLIC KEY-""\n" >

Re: [openssl-users] Fwd: Openssl api for signature verification using digest

2018-08-29 Thread Viktor Dukhovni
> On Aug 29, 2018, at 5:53 AM, Linta Maria wrote: > > As you suggested, signature wasn't correct. > With below input also it's not working. Once again, the code is working correct, the key below did not produce the posted signature. Please use "openssl rsautl" as shown in my previous

[openssl-users] Fwd: Openssl api for signature verification using digest

2018-08-29 Thread Linta Maria
Hi Viktor, As you suggested, signature wasn't correct. With below input also it's not working. Pubkey is read to evp_PKEY format EVP_PKEY * vkey; char PubKey [] ="-BEGIN PUBLIC KEY-""\n" "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxEZo8DRHBFBN0w1YYw3w" "\n"