├── .github ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md └── workflows │ └── build.yml ├── .gitignore ├── .swiftformat ├── .swiftlint.yml ├── .xcode-version ├── CryptomatorCryptoLib.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm │ │ └── Package.resolved └── xcshareddata │ └── xcschemes │ ├── CryptomatorCryptoLib.xcscheme │ └── scrypt.xcscheme ├── LICENSE.txt ├── Package.resolved ├── Package.swift ├── README.md ├── Scripts ├── git-format-staged.py ├── process.sh └── xccov-to-sonarqube-generic.sh ├── Sources ├── CryptomatorCryptoLib │ ├── AesCtr.swift │ ├── AesSiv.swift │ ├── ContentCryptor.swift │ ├── CryptoError.swift │ ├── CryptoSupport.swift │ ├── CryptomatorCryptoLib.h │ ├── Cryptor.swift │ ├── Info.plist │ ├── Masterkey.swift │ └── MasterkeyFile.swift └── scrypt │ ├── Info.plist │ ├── crypto_scrypt.c │ ├── include │ ├── crypto_scrypt.h │ ├── insecure_memzero.h │ ├── sha256.h │ └── sysendian.h │ ├── insecure_memzero.c │ ├── scrypt.h │ └── sha256.c ├── Tests └── CryptomatorCryptoLibTests │ ├── AesCtrTests.swift │ ├── AesSivTests.swift │ ├── CryptoSupportMock.swift │ ├── CryptorTests.swift │ ├── CtrCryptorTests.swift │ ├── GcmCryptorTests.swift │ ├── Info.plist │ ├── MasterkeyFileTests.swift │ └── MasterkeyTests.swift └── sonar-project.properties /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/.swiftformat -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/.swiftlint.yml -------------------------------------------------------------------------------- /.xcode-version: -------------------------------------------------------------------------------- 1 | 26.0.1 2 | -------------------------------------------------------------------------------- /CryptomatorCryptoLib.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/CryptomatorCryptoLib.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /CryptomatorCryptoLib.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/CryptomatorCryptoLib.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /CryptomatorCryptoLib.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/CryptomatorCryptoLib.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /CryptomatorCryptoLib.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/CryptomatorCryptoLib.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /CryptomatorCryptoLib.xcodeproj/xcshareddata/xcschemes/CryptomatorCryptoLib.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/CryptomatorCryptoLib.xcodeproj/xcshareddata/xcschemes/CryptomatorCryptoLib.xcscheme -------------------------------------------------------------------------------- /CryptomatorCryptoLib.xcodeproj/xcshareddata/xcschemes/scrypt.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/CryptomatorCryptoLib.xcodeproj/xcshareddata/xcschemes/scrypt.xcscheme -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/README.md -------------------------------------------------------------------------------- /Scripts/git-format-staged.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Scripts/git-format-staged.py -------------------------------------------------------------------------------- /Scripts/process.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Scripts/process.sh -------------------------------------------------------------------------------- /Scripts/xccov-to-sonarqube-generic.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Scripts/xccov-to-sonarqube-generic.sh -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/AesCtr.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/AesCtr.swift -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/AesSiv.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/AesSiv.swift -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/ContentCryptor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/ContentCryptor.swift -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/CryptoError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/CryptoError.swift -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/CryptoSupport.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/CryptoSupport.swift -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/CryptomatorCryptoLib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/CryptomatorCryptoLib.h -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/Cryptor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/Cryptor.swift -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/Info.plist -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/Masterkey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/Masterkey.swift -------------------------------------------------------------------------------- /Sources/CryptomatorCryptoLib/MasterkeyFile.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/CryptomatorCryptoLib/MasterkeyFile.swift -------------------------------------------------------------------------------- /Sources/scrypt/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/Info.plist -------------------------------------------------------------------------------- /Sources/scrypt/crypto_scrypt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/crypto_scrypt.c -------------------------------------------------------------------------------- /Sources/scrypt/include/crypto_scrypt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/include/crypto_scrypt.h -------------------------------------------------------------------------------- /Sources/scrypt/include/insecure_memzero.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/include/insecure_memzero.h -------------------------------------------------------------------------------- /Sources/scrypt/include/sha256.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/include/sha256.h -------------------------------------------------------------------------------- /Sources/scrypt/include/sysendian.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/include/sysendian.h -------------------------------------------------------------------------------- /Sources/scrypt/insecure_memzero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/insecure_memzero.c -------------------------------------------------------------------------------- /Sources/scrypt/scrypt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/scrypt.h -------------------------------------------------------------------------------- /Sources/scrypt/sha256.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Sources/scrypt/sha256.c -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/AesCtrTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/AesCtrTests.swift -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/AesSivTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/AesSivTests.swift -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/CryptoSupportMock.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/CryptoSupportMock.swift -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/CryptorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/CryptorTests.swift -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/CtrCryptorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/CtrCryptorTests.swift -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/GcmCryptorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/GcmCryptorTests.swift -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/Info.plist -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/MasterkeyFileTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/MasterkeyFileTests.swift -------------------------------------------------------------------------------- /Tests/CryptomatorCryptoLibTests/MasterkeyTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/Tests/CryptomatorCryptoLibTests/MasterkeyTests.swift -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptomator/cryptolib-swift/HEAD/sonar-project.properties --------------------------------------------------------------------------------