diff options
author | cvs2hg <devnull@localhost> | 2005-11-15 18:19:19 +0000 |
---|---|---|
committer | cvs2hg <devnull@localhost> | 2005-11-15 18:19:19 +0000 |
commit | 18c92e41a5b4a92c2b8a876f02348b58c8ff7b05 (patch) | |
tree | 5270801605a7bfd0559bf4cbfa3bec42a4136adb /security/nss/lib/pki/symmkey.c | |
parent | 415c3e0a7c1c85b6aa5563eaac9dd5d6bedbc750 (diff) | |
download | nss-hg-JSS_4_2_BETA1.tar.gz |
fixup commit for tag 'JSS_4_2_BETA1'JSS_4_2_BETA1
Diffstat (limited to 'security/nss/lib/pki/symmkey.c')
-rw-r--r-- | security/nss/lib/pki/symmkey.c | 300 |
1 files changed, 0 insertions, 300 deletions
diff --git a/security/nss/lib/pki/symmkey.c b/security/nss/lib/pki/symmkey.c deleted file mode 100644 index 0806e588b..000000000 --- a/security/nss/lib/pki/symmkey.c +++ /dev/null @@ -1,300 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is the Netscape security libraries. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1994-2000 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#ifdef DEBUG -static const char CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; -#endif /* DEBUG */ - -#ifndef NSSPKI_H -#include "nsspki.h" -#endif /* NSSPKI_H */ - -extern const NSSError NSS_ERROR_NOT_FOUND; - -NSS_IMPLEMENT PRStatus -NSSSymmetricKey_Destroy ( - NSSSymmetricKey *mk -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return PR_FAILURE; -} - -NSS_IMPLEMENT PRStatus -NSSSymmetricKey_DeleteStoredObject ( - NSSSymmetricKey *mk, - NSSCallback *uhh -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return PR_FAILURE; -} - -NSS_IMPLEMENT PRUint32 -NSSSymmetricKey_GetKeyLength ( - NSSSymmetricKey *mk -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return -1; -} - -NSS_IMPLEMENT PRUint32 -NSSSymmetricKey_GetKeyStrength ( - NSSSymmetricKey *mk -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return -1; -} - -NSS_IMPLEMENT PRStatus -NSSSymmetricKey_IsStillPresent ( - NSSSymmetricKey *mk -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return PR_FAILURE; -} - -NSS_IMPLEMENT NSSTrustDomain * -NSSSymmetricKey_GetTrustDomain ( - NSSSymmetricKey *mk, - PRStatus *statusOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSToken * -NSSSymmetricKey_GetToken ( - NSSSymmetricKey *mk, - PRStatus *statusOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSSlot * -NSSSymmetricKey_GetSlot ( - NSSSymmetricKey *mk, - PRStatus *statusOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSModule * -NSSSymmetricKey_GetModule ( - NSSSymmetricKey *mk, - PRStatus *statusOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSItem * -NSSSymmetricKey_Encrypt ( - NSSSymmetricKey *mk, - NSSAlgorithmAndParameters *apOpt, - NSSItem *data, - NSSCallback *uhh, - NSSItem *rvOpt, - NSSArena *arenaOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSItem * -NSSSymmetricKey_Decrypt ( - NSSSymmetricKey *mk, - NSSAlgorithmAndParameters *apOpt, - NSSItem *encryptedData, - NSSCallback *uhh, - NSSItem *rvOpt, - NSSArena *arenaOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSItem * -NSSSymmetricKey_Sign ( - NSSSymmetricKey *mk, - NSSAlgorithmAndParameters *apOpt, - NSSItem *data, - NSSCallback *uhh, - NSSItem *rvOpt, - NSSArena *arenaOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSItem * -NSSSymmetricKey_SignRecover ( - NSSSymmetricKey *mk, - NSSAlgorithmAndParameters *apOpt, - NSSItem *data, - NSSCallback *uhh, - NSSItem *rvOpt, - NSSArena *arenaOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT PRStatus -NSSSymmetricKey_Verify ( - NSSSymmetricKey *mk, - NSSAlgorithmAndParameters *apOpt, - NSSItem *data, - NSSItem *signature, - NSSCallback *uhh -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return PR_FAILURE; -} - -NSS_IMPLEMENT NSSItem * -NSSSymmetricKey_VerifyRecover ( - NSSSymmetricKey *mk, - NSSAlgorithmAndParameters *apOpt, - NSSItem *signature, - NSSCallback *uhh, - NSSItem *rvOpt, - NSSArena *arenaOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSItem * -NSSSymmetricKey_WrapSymmetricKey ( - NSSSymmetricKey *wrappingKey, - NSSAlgorithmAndParameters *apOpt, - NSSSymmetricKey *keyToWrap, - NSSCallback *uhh, - NSSItem *rvOpt, - NSSArena *arenaOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSItem * -NSSSymmetricKey_WrapPrivateKey ( - NSSSymmetricKey *wrappingKey, - NSSAlgorithmAndParameters *apOpt, - NSSPrivateKey *keyToWrap, - NSSCallback *uhh, - NSSItem *rvOpt, - NSSArena *arenaOpt -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSSymmetricKey * -NSSSymmetricKey_UnwrapSymmetricKey ( - NSSSymmetricKey *wrappingKey, - NSSAlgorithmAndParameters *apOpt, - NSSItem *wrappedKey, - NSSOID *target, - PRUint32 keySizeOpt, - NSSOperations operations, - NSSCallback *uhh -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSPrivateKey * -NSSSymmetricKey_UnwrapPrivateKey ( - NSSSymmetricKey *wrappingKey, - NSSAlgorithmAndParameters *apOpt, - NSSItem *wrappedKey, - NSSUTF8 *labelOpt, - NSSItem *keyIDOpt, - PRBool persistant, - PRBool sensitive, - NSSToken *destinationOpt, - NSSCallback *uhh -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSSymmetricKey * -NSSSymmetricKey_DeriveSymmetricKey ( - NSSSymmetricKey *originalKey, - NSSAlgorithmAndParameters *apOpt, - NSSOID *target, - PRUint32 keySizeOpt, - NSSOperations operations, - NSSCallback *uhh -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - -NSS_IMPLEMENT NSSCryptoContext * -NSSSymmetricKey_CreateCryptoContext ( - NSSSymmetricKey *mk, - NSSAlgorithmAndParameters *apOpt, - NSSCallback *uhh -) -{ - nss_SetError(NSS_ERROR_NOT_FOUND); - return NULL; -} - |