//go:build !darwin // +build !darwin // Package macse provides Go bindings for macOS Secure Enclave operations. package macse import "fmt" var errNotSupported = fmt.Errorf("secure enclave is only supported on macOS") //nolint:gochecknoglobals // CreateKey is not supported on non-darwin platforms. func CreateKey(_ string) ([]byte, string, error) { return nil, "", errNotSupported } // Encrypt is not supported on non-darwin platforms. func Encrypt(_ string, _ []byte) ([]byte, error) { return nil, errNotSupported } // Decrypt is not supported on non-darwin platforms. func Decrypt(_ string, _ []byte) ([]byte, error) { return nil, errNotSupported } // DeleteKey is not supported on non-darwin platforms. func DeleteKey(_ string) error { return errNotSupported }