INNER CODE UNIT · Swift
final
Kitura/BlueCryptor · Sources/Cryptor/Digest.swift:196
func final() -> [UInt8]
}
///
/// Wraps the underlying algorithm specific structures and calls
/// in a generic interface.
///
/// - Parameter CTX: The context for the digest.
///
private class DigestEngineCC<CTX>: DigestEngine {
typealias Context = UnsafeMutablePointer<CTX>
typealias Buffer = UnsafeRawPointer
typealias Digest = UnsafeMutablePointer<UInt8>
typealias Initializer = (Context) -> (Int32)
typealias Updater = (Context, Buffer, CC_LONG) -> (Int32)
typealias Finalizer = (Digest, Context) -> (Int32)