mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-12 23:55:25 +00:00
Although it does not do anything, as there is no CPU rng on arm64 at present. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
14 lines
177 B
Go
14 lines
177 B
Go
// +build !linux !amd64,!arm64
|
|
|
|
package main
|
|
|
|
import "errors"
|
|
|
|
func initRand() bool {
|
|
return false
|
|
}
|
|
|
|
func rand() (uint64, error) {
|
|
return 0, errors.New("No rng available")
|
|
}
|