//go:build !darwin || !cgo // Package macse provides Go bindings for macOS Secure Enclave operations. package macse import "errors" var errNotSupported = errors.New("secure enclave needs a macOS build with cgo") // CreateKey fails: the Secure Enclave needs a macOS build with cgo. func CreateKey(_ string) ([]byte, string, error) { return nil, "", errNotSupported } // Encrypt fails: the Secure Enclave needs a macOS build with cgo. func Encrypt(_ string, _ []byte) ([]byte, error) { return nil, errNotSupported } // Decrypt fails: the Secure Enclave needs a macOS build with cgo. func Decrypt(_ string, _ []byte) ([]byte, error) { return nil, errNotSupported } // DeleteKey fails: the Secure Enclave needs a macOS build with cgo. func DeleteKey(_ string) error { return errNotSupported }