linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Query] RSA SHA-384 signature verification
@ 2020-06-15 17:04 Anshuman Gupta
  2020-06-15 19:25 ` Stephan Mueller
  0 siblings, 1 reply; 5+ messages in thread
From: Anshuman Gupta @ 2020-06-15 17:04 UTC (permalink / raw)
  To: linux-crypto; +Cc: anshuman.gupta

Hi ,
I wanted to verify a RSA SHA-384 signature.
I am using crypto_alloc_shash(), crypto_shash_digest() API to extract
the SHA-384 digest.
I am having public key along with the sha-384 digest extracted from raw data and signature.  
AFAIU understand from crypto documentation that i need to verify the
signature by importing public key to akcipher/skcipher API.
Here i am not sure which cipher API to prefer symmetric key cipher or asymmetric key
cipher API.

There are two types of API to import the key.
crypto_skcipher_setkey()
crypto_akcipher_set_pub_key()

Also i am not sure exactly which algo to use for RSA-SHA384 signature
verification.

Any help or inputs from crypto community will highly appreciated.

Thanks ,
Anshuman Gupta.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-17 10:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 17:04 [Query] RSA SHA-384 signature verification Anshuman Gupta
2020-06-15 19:25 ` Stephan Mueller
2020-06-16  3:56   ` Anshuman Gupta
2020-06-16  5:03     ` Stephan Mueller
2020-06-17 10:09       ` Anshuman Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).