X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b04fe171f0375ecd5d8a24747ca1dff85720a0ca..6b200bc335dc93c5516ccb52f14bd896d8c7fad7:/SecurityTests/cspxutils/aesVect/enDecrypt.h?ds=inline diff --git a/SecurityTests/cspxutils/aesVect/enDecrypt.h b/SecurityTests/cspxutils/aesVect/enDecrypt.h deleted file mode 100644 index 43b9042e..00000000 --- a/SecurityTests/cspxutils/aesVect/enDecrypt.h +++ /dev/null @@ -1,47 +0,0 @@ -#include -#include - -/* - * 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);