softKeys.c revision 2
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include "softGlobal.h"
2N/A#include "softSession.h"
2N/A#include "softKeys.h"
2N/A if (!softtoken_initialized)
2N/A return (CKR_CRYPTOKI_NOT_INITIALIZED);
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A if (!softtoken_initialized)
2N/A return (CKR_CRYPTOKI_NOT_INITIALIZED);
2N/A goto clean_exit;
2N/A (ulPublicKeyAttributeCount == 0)) {
2N/A goto clean_exit;
2N/A (ulPrivateKeyAttributeCount != 0)) {
2N/A goto clean_exit;
2N/A if (!softtoken_initialized)
2N/A return (CKR_CRYPTOKI_NOT_INITIALIZED);
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit1;
2N/A goto clean_exit2;
2N/A goto clean_exit2;
2N/A goto clean_exit2;
2N/A if (!softtoken_initialized)
2N/A return (CKR_CRYPTOKI_NOT_INITIALIZED);
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit1;
2N/A goto clean_exit1;
2N/A if (!softtoken_initialized)
2N/A return (CKR_CRYPTOKI_NOT_INITIALIZED);
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit;
2N/A goto clean_exit1;