RSA sign message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 20, 2016 at 12:19 AM, Dr. Stephen Henson <steve at openssl.org> wrote:
>
> If you want to hash and sign the hash you should use EVP functions such as
>  EVP_DigestSign*() functions instead. If you already have the hash you can
> use RSA_sign (though EVP_PKEY_sign() is preferred) the type parameter in
> the NID of the digest algorithm, for SHA256 you use NID_sha256.

Indeed, NID_sha256 works great in my case, thank you!

I will have a look at EVP_DigestSign*() functions too.

Thanks,
Gabriel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux