internal static unsafe partial int CryptorUpdate( SafeAppleCryptorHandle cryptor, byte *pbData, int cbData, byte *pbOutput, int cbOutput, out int cbWritten, out int ccStatus);
protected override void Dispose(bool disposing) { if (disposing) { _cryptor?.Dispose(); _cryptor = null !; } base.Dispose(disposing); }
internal static unsafe partial int CryptorCreate( PAL_SymmetricOperation operation, PAL_SymmetricAlgorithm algorithm, PAL_ChainingMode chainingMode, PAL_PaddingMode paddingMode, byte *pbKey, int cbKey, byte *pbIv, PAL_SymmetricOptions options, out SafeAppleCryptorHandle cryptor, out int ccStatus);
internal static unsafe partial int CryptorReset(SafeAppleCryptorHandle cryptor, byte *pbIv, out int ccStatus);
internal static extern unsafe int CryptorReset(SafeAppleCryptorHandle cryptor, byte *pbIv, out int ccStatus);
internal static extern unsafe int CryptorFinal( SafeAppleCryptorHandle cryptor, byte *pbOutput, int cbOutput, out int cbWritten, out int ccStatus);