summaryrefslogtreecommitdiffstats
path: root/ncr-pk.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-19 11:26:59 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-19 11:26:59 +0200
commit27baa5af767d50deab36a8845d058f54849cc35c (patch)
tree0fe30ad971bb95cb2a44d144558dfab754a5a838 /ncr-pk.c
parentd4dc626658726f9c09619924dd6808f47f411db1 (diff)
downloadcryptodev-linux-27baa5af767d50deab36a8845d058f54849cc35c.tar.gz
cryptodev-linux-27baa5af767d50deab36a8845d058f54849cc35c.tar.xz
cryptodev-linux-27baa5af767d50deab36a8845d058f54849cc35c.zip
Fixed RSA encryption and decryption.
Diffstat (limited to 'ncr-pk.c')
-rw-r--r--ncr-pk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ncr-pk.c b/ncr-pk.c
index 52e5308..2bc5a35 100644
--- a/ncr-pk.c
+++ b/ncr-pk.c
@@ -366,6 +366,7 @@ unsigned long osize = *output_size;
NULL, 0, ctx->oaep_hash, ctx->type, &ctx->key->key.pk.rsa);
if (cret != CRYPT_OK) {
+ printk("cret: %d type: %d\n", cret, ctx->type);
err();
return tomerr(cret);
}