]> git.saurik.com Git - apple/security.git/blobdiff - SecurityTests/cspxutils/aesVect/enDecrypt.h
Security-57740.51.3.tar.gz
[apple/security.git] / SecurityTests / cspxutils / aesVect / enDecrypt.h
diff --git a/SecurityTests/cspxutils/aesVect/enDecrypt.h b/SecurityTests/cspxutils/aesVect/enDecrypt.h
deleted file mode 100644 (file)
index 43b9042..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#include <Security/cssmtype.h>
-#include <Security/cssmerr.h>
-
-/* 
- * encrypt/decrypt using test implementation.
- */
-CSSM_RETURN encryptDecryptTest(
-       CSSM_BOOL                       forEncrypt,
-       uint32                          keyBits,
-       uint32                          blockSizeInBits,        
-       const uint8                     *key,                           // raw key bytes
-       const uint8                     *inText,
-       uint32                          inTextLen,                      // in bytes
-       uint8                           *outText);
-
-/* 
- * encrypt/decrypt using reference AES.
- */
-CSSM_RETURN encryptDecryptRef(
-       CSSM_BOOL                       forEncrypt,
-       uint32                          keyBits,
-       uint32                          blockSizeInBits,        
-       const uint8                     *key,                           // raw key bytes
-       const uint8                     *inText,
-       uint32                          inTextLen,                      // in bytes
-       uint8                           *outText);
-
-/* 
- * encrypt/decrypt using CSP.
- */
-CSSM_RETURN encryptDecryptCsp(
-       CSSM_BOOL                       forEncrypt,
-       uint32                          keyBits,
-       uint32                          blockSizeInBits,        
-       const uint8                     *key,                           // raw key bytes
-       const uint8                     *inText,
-       uint32                          inTextLen,                      // in bytes
-       uint8                           *outText);
-
-typedef CSSM_RETURN (*encrDecrFcn) (
-       CSSM_BOOL                       forEncrypt,
-       uint32                          keyBits,
-       uint32                          blockSizeInBits,        
-       const uint8                     *key,                           // raw key bytes
-       const uint8                     *inText,
-       uint32                          inTextLen,                      // in bytes
-       uint8                           *outText);