| OLD | NEW |
| 1 /* | 1 /* |
| 2 * PKCS #11 FIPS Power-Up Self Test. | 2 * PKCS #11 FIPS Power-Up Self Test. |
| 3 * | 3 * |
| 4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
| 5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 7 /* $Id: fipstest.c,v 1.31 2012/06/28 17:55:06 rrelyea%redhat.com Exp $ */ | 7 /* $Id: fipstest.c,v 1.30 2012/04/25 14:50:10 gerv%gerv.net Exp $ */ |
| 8 | 8 |
| 9 #include "softoken.h" /* Required for RC2-ECB, RC2-CBC, RC4, DES-ECB, */ | 9 #include "softoken.h" /* Required for RC2-ECB, RC2-CBC, RC4, DES-ECB, */ |
| 10 /* DES-CBC, DES3-ECB, DES3-CBC, RSA */ | 10 /* DES-CBC, DES3-ECB, DES3-CBC, RSA */ |
| 11 /* and DSA. */ | 11 /* and DSA. */ |
| 12 #include "seccomon.h" /* Required for RSA and DSA. */ | 12 #include "seccomon.h" /* Required for RSA and DSA. */ |
| 13 #include "lowkeyi.h" /* Required for RSA and DSA. */ | 13 #include "lowkeyi.h" /* Required for RSA and DSA. */ |
| 14 #include "pkcs11.h" /* Required for PKCS #11. */ | 14 #include "pkcs11.h" /* Required for PKCS #11. */ |
| 15 #include "secerr.h" | 15 #include "secerr.h" |
| 16 | 16 |
| 17 #ifdef NSS_ENABLE_ECC | 17 #ifdef NSS_ENABLE_ECC |
| (...skipping 2138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2156 /* Software/Firmware Integrity Test. */ | 2156 /* Software/Firmware Integrity Test. */ |
| 2157 rv = sftk_fipsSoftwareIntegrityTest(); | 2157 rv = sftk_fipsSoftwareIntegrityTest(); |
| 2158 | 2158 |
| 2159 if( rv != CKR_OK ) | 2159 if( rv != CKR_OK ) |
| 2160 return rv; | 2160 return rv; |
| 2161 | 2161 |
| 2162 /* Passed Power-Up SelfTest(s). */ | 2162 /* Passed Power-Up SelfTest(s). */ |
| 2163 return( CKR_OK ); | 2163 return( CKR_OK ); |
| 2164 } | 2164 } |
| 2165 | 2165 |
| OLD | NEW |