rng

package
v1.9.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package rng handles interaction with kernel random number generator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPoolSize

func GetPoolSize() (int, error)

GetPoolSize returns kernel random pool size.

func TPMSeed

func TPMSeed() error

TPMSeed seeds the random entropy pool from the TPM.

func WriteEntropy

func WriteEntropy(data []byte) error

WriteEntropy writes entropy data to the pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL