diff options
author | Dina K Nimeh <Dina.Nimeh@Sun.COM> | 2010-06-07 08:54:25 -0700 |
---|---|---|
committer | Dina K Nimeh <Dina.Nimeh@Sun.COM> | 2010-06-07 08:54:25 -0700 |
commit | 726fad2a65f16c200a03969c29cb5c86c2d427db (patch) | |
tree | aca280cc44a7b599ab39116a9229a98428f7c9d7 /usr/src/lib/pkcs11/pkcs11_softtoken/common/softFipsPost.c | |
parent | ad559bec55fd74f310399483501e1fa231f65528 (diff) | |
download | illumos-joyent-726fad2a65f16c200a03969c29cb5c86c2d427db.tar.gz |
6875651 move asymmetric crypto to libsoftcrypto
6816864 collect together padding methods used by PKCS#11
6917508 bignum library needs big random number function
6249983 softtoken based RSA/DSA slow on Niagara
6917506 arcfour lint check missing from usr/src/uts/sun4v/Makefile
6917513 move softFipsDSAUtil.c to common/crypto/fips/fips_dsa_util.c
6834849 dsa_sign() produces invalid signature when pkcs11 engine is used via openssl(1) for certain keys
Diffstat (limited to 'usr/src/lib/pkcs11/pkcs11_softtoken/common/softFipsPost.c')
-rw-r--r-- | usr/src/lib/pkcs11/pkcs11_softtoken/common/softFipsPost.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/common/softFipsPost.c b/usr/src/lib/pkcs11/pkcs11_softtoken/common/softFipsPost.c index e9bc272eee..7fdec8d5cf 100644 --- a/usr/src/lib/pkcs11/pkcs11_softtoken/common/softFipsPost.c +++ b/usr/src/lib/pkcs11/pkcs11_softtoken/common/softFipsPost.c @@ -18,9 +18,9 @@ * * CDDL HEADER END */ + /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. */ #include <stdlib.h> @@ -35,6 +35,8 @@ #define _AES_FIPS_POST #define _DES_FIPS_POST #include "softCrypt.h" +#define _DSA_FIPS_POST +#include <dsa_impl.h> #define _RSA_FIPS_POST #include <rsa_impl.h> #include <sha1_impl.h> @@ -43,7 +45,6 @@ extern int fips_ecdsa_post(void); -extern CK_RV soft_fips_dsa_post(void); /* @@ -143,7 +144,7 @@ soft_fips_post(void) * 1. DSA Sign on SHA-1 digest * 2. DSA Verification */ - rv = soft_fips_dsa_post(); + rv = fips_dsa_post(); if (rv != CKR_OK) return (rv); |