src/runtime/secret/stubs_noasm.go
raw| 1 | // Copyright 2025 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build goexperiment.runtimesecret && !arm64 && !amd64 |
| 6 | |
| 7 | package secret |
| 8 | |
| 9 | import "unsafe" |
| 10 | |
| 11 | func loadRegisters(p unsafe.Pointer) {} |
| 12 | func spillRegisters(p unsafe.Pointer) uintptr { return 0 } |
| 13 | func useSecret(secret []byte) {} |