summaryrefslogtreecommitdiffstats
path: root/ncr-pk.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-24 02:14:38 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-07-24 04:25:24 +0200
commit52e90afd006bec2a072c00cae8945e606f43da66 (patch)
tree9c5720d01c2f779319931e31603e3e953bf9f8a0 /ncr-pk.c
parentd11063f50e61ba5880324908ea6cccb0314f0d46 (diff)
downloadcryptodev-linux-52e90afd006bec2a072c00cae8945e606f43da66.tar.gz
cryptodev-linux-52e90afd006bec2a072c00cae8945e606f43da66.tar.xz
cryptodev-linux-52e90afd006bec2a072c00cae8945e606f43da66.zip
Use algo_properties_st in rsa_encrypt_key_ex
Diffstat (limited to 'ncr-pk.c')
-rw-r--r--ncr-pk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-pk.c b/ncr-pk.c
index 09dd242..bd041b1 100644
--- a/ncr-pk.c
+++ b/ncr-pk.c
@@ -390,7 +390,7 @@ unsigned long osize = *output_size;
switch(ctx->algorithm->algo) {
case NCR_ALG_RSA:
cret = rsa_encrypt_key_ex( input, input_size, output, &osize,
- NULL, 0, ctx->oaep_hash->algo, ctx->type, &ctx->key->key.pk.rsa);
+ 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);