Skip to content
Commit a49de377 authored by Tadeusz Struk's avatar Tadeusz Struk Committed by David Howells
Browse files

crypto: Add hash param to pkcs1pad



This adds hash param to pkcs1pad.
The pkcs1pad template can work with or without the hash.
When hash param is provided then the verify operation will
also verify the output against the known digest.

Signed-off-by: default avatarTadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 41693d1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment