     }
 }
 
-extension HMAC_bridge_Algorithm {
+extension HMAC.Algorithm {
     var digestLength: Int {
         switch self {
         case .SHA1: return Int(HMAC_bridge_SHA1_DIGEST_LENGTH)

        case .SHA224: return Int(HMAC_bridge_SHA224_DIGEST_LENGTH)
        }
    }
}

// https://tools.ietf.org/html/rfc2202

public class HMAC {
    public enum Algorithm: CUnsignedInt {
        case SHA1, MD5, SHA256, SHA384, SHA512, SHA224
    }

    typealias Context = UnsafeMutablePointer<HMAC_bridge_Context>
    
    var context = Context.alloc(1)
