On Fri, 26 Nov 2010 18:00:33 -0200
Klaus Heinrich Kiwi <[email protected]> wrote:

>     The CCA token can't support RSA VerifyRecover() correctly,
>     given the size constraints for the CCA RSA Encrypt operation
>     and also since it does the padding by itself.
> 
>     The CCA Token never advertised the CKF_SIGN_RECOVER and
>     CKF_VERIFY_RECOVER flags in it's CKM_RSA_PKCS mechanism to
>     start with, but the functions were there trying to perform
>     it anyway.
> 
>     I'm using #if 0 to "comment out" the relevant functions
>     if they are ever needed again.
> 
> Signed-off-by: Klaus Heinrich Kiwi <[email protected]>
> ---
>  usr/lib/pkcs11/cca_stdll/mech_rsa.c   |    3 ++-
>  usr/lib/pkcs11/cca_stdll/sign_mgr.c   |    2 +-
>  usr/lib/pkcs11/cca_stdll/verify_mgr.c |    2 +-
>  3 files changed, 4 insertions(+), 3 deletions(-)

Applied to the master branch


-- 
Klaus Heinrich Kiwi | [email protected] | http://blog.klauskiwi.com
Open Source Security blog :     http://www.ratliff.net/blog
IBM Linux Technology Center :   http://www.ibm.com/linux/ltc

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to