diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-24 02:14:38 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-07-24 04:25:24 +0200 |
commit | 52e90afd006bec2a072c00cae8945e606f43da66 (patch) | |
tree | 9c5720d01c2f779319931e31603e3e953bf9f8a0 /ncr-pk.c | |
parent | d11063f50e61ba5880324908ea6cccb0314f0d46 (diff) | |
download | cryptodev-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |