package
0.0.0-20240723192418-397b19c8a77e
Repository: https://github.com/snapcore/secboot.git
Documentation: pkg.go.dev

# Functions

BypassMaybeReadByte returns a new io.Reader that can be used to make functions inside go's crypto library that take a source of randomness from an io.Reader behave deterministically for the same sequence of random bytes, even where they make use of the internal randutil.MaybeReadByte function to introduce non-determinism.
No description provided by the author
No description provided by the author
No description provided by the author
DecodePEMType decodes a PEM block with the specified type from the supplied data.
No description provided by the author
No description provided by the author
InSlice determines whether a value is contained in the provided slice, using the specified checker.
No description provided by the author
No description provided by the author
MustDecodePEMType decodes a PEM block with the specified type from the supplied data.
No description provided by the author
ParseCertificate parses a certificate from the supplied DER encoded data.
ParsePKCS1PrivateKey parses a RSA private key from the supplied DER encoded data.

# Constants

No description provided by the author

# Variables

ConvertibleTo determines whether a value of one type can be converted to another type.
ErrorIs determines whether any error in a chain has a specific value, using xerrors.Is For example: c.Check(err, ErrorIs, io.EOF).
No description provided by the author
IsFalse determines whether a boolean value is false.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
MockArgon2KDF provides a mock implementation of secboot.Argon2KDF that isn't memory intensive.