[PATCH 1/2] crypto: Add hash param to pkcs1pad

2016-02-24 Thread Tadeusz Struk
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: Tadeusz Struk --- crypto/rsa-pkcs1pad.c | 182

[PATCH 1/2] crypto: Add hash param to pkcs1pad

2016-02-24 Thread Tadeusz Struk
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: Tadeusz Struk --- crypto/rsa-pkcs1pad.c | 182