     /// Marked as internal for Swift as there is a Swift specific function. @returns the encrypted data, if this is nil then error is set.
     @objc class func encrypt(algorithm: CCAlgorithm, usingOptions options: CCOptions, key: NSData, initialisationVector: NSData?, dataIn: NSData, error: NSErrorPointer = nil) -> NSData? {
         
-        return cryptOperation(Operation.Encrypt.cValue(), usingAlgorithm: algorithm, options: options, withKey: key, initialisationVector: initialisationVector, dataIn: dataIn, error: error)
+        return cryptOperation(Operation.Encrypt.cValue, usingAlgorithm: algorithm, options: options, withKey: key, initialisationVector: initialisationVector, dataIn: dataIn, error: error)
     }
     
     /// Marked as internal for Swift as there is a Swift specific function. @returns the decrypted data, if this is nil then error is set.
     @objc class func decrypt(algorithm: CCAlgorithm, usingOptions options: CCOptions, key: NSData, initialisationVector: NSData?, dataIn: NSData, error: NSErrorPointer = nil) -> NSData? {
         
-        return cryptOperation(Operation.Decrypt.cValue(), usingAlgorithm: algorithm, options: options, withKey: key, initialisationVector: initialisationVector, dataIn: dataIn, error: error)
+        return cryptOperation(Operation.Decrypt.cValue, usingAlgorithm: algorithm, options: options, withKey: key, initialisationVector: initialisationVector, dataIn: dataIn, error: error)
     }
     
     /// Exposed as the root function - this matches the API of the C CCCrypt function. Marked as internal for Swift as there is a Swift specific function. @returns the out data, if this is nil then error is set.

    /// Init with mode.
    public convenience init(operation: Operation, mode: RDHMode, algorithm: RDHAlgorithm, padding: RDHPadding, key: NSData, initialisationVector: NSData?, tweakMaterial: NSData, numberOfRounds: Int = 0) {
        
        self.init(operation: operation.cValue(), mode: mode.toRaw(), algorithm: algorithm.toRaw(), padding: padding.toRaw(), key: key, initialisationVector: initialisationVector, tweakMaterial: tweakMaterial, numberOfRounds: numberOfRounds)
    }
    
    /// Init with mode for Objective-C. Marked as internal for Swift as there is a Swift specific init.

        let ccDataInLength = UInt(dataIn.length)
        
        // Data out
        let dataOutAvailable = ccDataInLength + algorithm.blockSize
        var dataOut: NSMutableData? = NSMutableData(length: Int(dataOutAvailable))
        var dataOutMoved: UInt = 0

