Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Foxboron/go-uefi
/ functions
Functions
321 in github.com/Foxboron/go-uefi
⨍
Functions
321
◇
Types & classes
68
↓ 1 callers
Method
Append
Appends the raw signature values to the database
efi/signature/signature_database.go:48
↓ 1 callers
Method
AppendList
Appends a signature list to the database TODO: Should merge towards a fitting list?
efi/signature/signature_database.go:81
↓ 1 callers
Method
AppendSignature
AppendSignature append a signature to the file.
authenticode/checksum.go:221
↓ 1 callers
Function
CertToBytes
(cert *x509.Certificate)
asntest/asntest.go:17
↓ 1 callers
Method
CmpHeader
Compare the signature lists header to see if they are the same type of list This is usefull if you wonder if you can merge the lists or not
efi/signature/signature_list.go:152
↓ 1 callers
Function
CreateSpcIndirectDataContent
CreateSpcIndirectDataContent creates the SPCIndirectDataContent container as specified int he Authenticode standard.
authenticode/authenticode.go:64
↓ 1 callers
Function
DiffText
(t *testing.T, a, b []byte)
asntest/asntest.go:48
↓ 1 callers
Function
FormatEFIVariableAuth2
(sig *signature.EFIVariableAuthentication2)
cmd/efianalyze/main.go:63
↓ 1 callers
Function
FromMapFS
Convert fstest.MapFS to afero.Fs
efi/efitest/efitest.go:12
↓ 1 callers
Function
GetAttrFromFile
Stub implementation for OSX
efi/attr/attr_other.go:10
↓ 1 callers
Method
GetBootEntry
(option string)
efivarfs/efivarfs.go:88
↓ 1 callers
Method
GetBootOrder
()
efivarfs/efivarfs.go:110
↓ 1 callers
Method
GetLoaderEntrySelected
()
efivarfs/efivarfs.go:118
↓ 1 callers
Method
GetSecureBoot
()
efivarfs/efivarfs.go:43
↓ 1 callers
Function
GetSupportedSignatures
Section 3.3 - Globally Defined Variables Array of GUIDs representing the type of signatures supported by the platform firmware. Should be treated as r
efi/signature/signature_list.go:75
↓ 1 callers
Method
GetVarWithAttributes
GetVarWithAttributes parses and unmarshalls a EFI variable, while also returning the parsed attributes.
efivarfs/efifs.go:70
↓ 1 callers
Method
Getdb
()
efivarfs/efivarfs.go:59
↓ 1 callers
Method
Marshal
(b *bytes.Buffer)
efivarfs/types.go:27
↓ 1 callers
Method
Marshal
()
pkcs7/pkcs7.go:747
↓ 1 callers
Method
Marshal
(b *bytes.Buffer)
efi/signature/varsign.go:158
↓ 1 callers
Method
Marshal
(b *bytes.Buffer)
efi/signature/varsign.go:184
↓ 1 callers
Function
NewEFITime
()
efi/util/efitime.go:42
↓ 1 callers
Function
NewEFIVariableAuthentication2
Returns an EFIVariableAuthencation2 struct no SignedData
efi/signature/varsign.go:144
↓ 1 callers
Function
NewFSWrapper
()
efivarfs/fswrapper/fswrapper.go:66
↓ 1 callers
Function
NewMemoryWrapper
()
efivarfs/fswrapper/fswrapper.go:58
↓ 1 callers
Function
NoAttr
Control whether or not the authenticated attributes gets hashed
pkcs7/pkcs7.go:76
↓ 1 callers
Method
Open
Open returns an io.Reader containing the binary with any appended signatures
authenticode/checksum.go:315
↓ 1 callers
Function
ParseACPIDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/acpi_device.go:27
↓ 1 callers
Function
ParseEFIAuthVariable
(filename string)
cmd/efianalyze/main.go:92
↓ 1 callers
Function
ParseEFIImage
(filename string)
cmd/efianalyze/main.go:108
↓ 1 callers
Function
ParseEfivars
(f io.Reader, size int)
efi/attributes/attributes.go:83
↓ 1 callers
Method
ParseEfivars
(f io.Reader, size int)
efivarfs/fswrapper/fswrapper.go:153
↓ 1 callers
Function
ParseHardwareDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/hardware_device.go:31
↓ 1 callers
Function
ParseKeyDb
(filename string)
cmd/efianalyze/main.go:44
↓ 1 callers
Function
ParseMediaDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/media_device.go:69
↓ 1 callers
Function
ParseMessagingDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/messaging_device.go:46
↓ 1 callers
Function
ParseSignatureList
(filename string)
cmd/efianalyze/main.go:53
↓ 1 callers
Method
ReadAt
(p []byte, off int64)
authenticode/multireader.go:43
↓ 1 callers
Function
ReadCerts
ReadCerts reads multiple certificates from PEM-encoded data
efi/util/certs.go:67
↓ 1 callers
Function
ReadCertsFromFile
ReadCertsFromFile reads multiple certificates from a PEM file
efi/util/certs.go:58
↓ 1 callers
Method
ReadEfivarsFile
For a full path instead of the inferred efivars path
efivarfs/fswrapper/fswrapper.go:166
↓ 1 callers
Method
ReadEfivarsWithGuid
(filename string, guid util.EFIGUID)
efivarfs/fswrapper/fswrapper.go:179
↓ 1 callers
Function
ReadSignatureData
(f io.Reader, size uint32)
efi/signature/signature_list.go:94
↓ 1 callers
Function
ReadWinCertificateUEFIGUID
(f io.Reader)
efi/signature/varsign.go:97
↓ 1 callers
Method
Remove
Remove the raw signature values to the database
efi/signature/signature_database.go:93
↓ 1 callers
Method
RemoveList
Removes a signature list from the database
efi/signature/signature_database.go:134
↓ 1 callers
Function
RequestTimestamp
RequestTimestamp requests a timestamp from a TSA server
pkcs7/timestamp.go:271
↓ 1 callers
Method
RunKernelTests
Signs HelloWorld.efi and attempts to run it within tianocore
tests/integration_test.go:82
↓ 1 callers
Function
SetAttr
SetAttr sets the attributes of a file on a linux filesystem to the given value
efi/attr/attr.go:77
↓ 1 callers
Function
SetAttrOnFile
Stub implementation for OSX
efi/attr/attr_other.go:15
↓ 1 callers
Function
SetFS
(f afero.Fs)
efi/fs/fs.go:10
↓ 1 callers
Method
SetFS
(fs afero.Fs)
efivarfs/fswrapper/fswrapper.go:36
↓ 1 callers
Function
SetUpModeOff
()
efi/efitest/files.go:26
↓ 1 callers
Method
ToAfero
()
efi/efitest/efitest.go:30
↓ 1 callers
Method
Unmarshal
(data *bytes.Buffer)
efivar/efivar.go:231
↓ 1 callers
Method
Unmarshal
(b *bytes.Buffer)
efi/attributes/attributes.go:28
↓ 1 callers
Method
Unmarshal
(b *bytes.Buffer)
efi/signature/signature_database.go:155
↓ 1 callers
Method
Unmarshal
(b *bytes.Buffer)
efi/signature/varsign.go:162
↓ 1 callers
Function
WithVM
Sets up the test by making a copy of the OVMF files from the system
tests/integration_test.go:146
↓ 1 callers
Function
WriteEFIVariable
(variable string, buf []byte)
efi/efi.go:163
↓ 1 callers
Function
WriteEFIVariableAuthencation2
(b *bytes.Buffer, e EFIVariableAuthentication2)
efi/signature/varsign.go:266
↓ 1 callers
Function
WriteEfivars
Write an
efi/attributes/attributes.go:132
↓ 1 callers
Function
WriteEfivarsWithGuid
Write an EFI variable to sysfs TODO: Fix retryable writes
efi/attributes/attributes.go:142
↓ 1 callers
Method
WriteEfivarsWithGuid
Write an EFI variable to sysfs TODO: Fix retryable writes
efivarfs/fswrapper/fswrapper.go:186
↓ 1 callers
Function
WriteWinCertificateUEFIGUID
(b *bytes.Buffer, w *WinCertificateUEFIGUID)
efi/signature/varsign.go:116
↓ 1 callers
Function
fromMapFS
Convert fstest.MapFS to afero.Fs
efivarfs/testfs/testfs.go:33
↓ 1 callers
Function
hasContentInfo
(der *cryptobyte.String)
pkcs7/pkcs7.go:323
↓ 1 callers
Function
mustSigner
(s string)
authenticode/checksum_test.go:45
↓ 1 callers
Function
newMultiReaderAt
newMultiReaderAt is like io.MultiReader but produces a ReaderAt (and Size), instead of just a reader.
authenticode/multireader.go:18
↓ 1 callers
Function
newSizeReaderAt
(sec *pe.Section)
authenticode/checksum.go:380
↓ 1 callers
Function
parseCertificates
(der *cryptobyte.String)
pkcs7/pkcs7.go:352
↓ 1 callers
Function
parseEncryptedDigest
(der *cryptobyte.String)
pkcs7/pkcs7.go:502
↓ 1 callers
Function
parseIssuerAndSerialNumber
(der *cryptobyte.String)
pkcs7/pkcs7.go:406
↓ 1 callers
Function
parseSignerInfos
(der *cryptobyte.String)
pkcs7/pkcs7.go:510
↓ 1 callers
Function
parseTSAResp
parseTSAResp parses a TSA response using cryptobytes
pkcs7/timestamp.go:323
↓ 1 callers
Method
removeslice
(index int)
efi/signature/signature_database.go:125
↓ 1 callers
Method
signatureBytes
()
authenticode/checksum.go:336
↓ 1 callers
Method
verify
(cert *x509.Certificate)
pkcs7/pkcs7.go:578
↓ 1 callers
Method
verifyTimestamp
(cert *x509.Certificate, opts ...VerifyOption)
pkcs7/pkcs7.go:597
Method
AppendDatabase
Appends a signature database
efi/signature/signature_database.go:86
Method
AppendSignature
(s SignatureData)
efi/signature/signature_list.go:212
Method
Bytes
()
efivarfs/types.go:33
Method
Bytes
Bytes returns the binary with any appended signatures
authenticode/checksum.go:301
Method
Bytes
()
efi/attributes/attributes.go:32
Method
Bytes
()
efi/util/guid.go:34
Method
Bytes
Serialize the Signature Database into bytes
efi/signature/signature_database.go:145
Method
Bytes
()
efi/signature/varsign.go:190
Method
Bytes
()
efi/signature/signature_list.go:116
Method
Bytes
()
efi/signature/signature_list.go:234
Method
BytesExists
Checks if the bytes in a list is present in the signature database
efi/signature/signature_database.go:43
Method
CheckImmutable
()
efivarfs/fswrapper/fswrapper.go:50
Method
Format
()
efi/device/messaging_device.go:33
Method
Format
()
efi/device/messaging_device.go:42
Method
Format
()
efi/device/acpi_device.go:23
Method
Format
()
efi/device/hardware_device.go:27
Method
Format
()
efi/device/device.go:75
Method
Format
()
efi/device/media_device.go:35
Method
Format
()
efi/device/media_device.go:56
Method
Format
()
efi/device/media_device.go:65
Method
Format
()
efi/util/efitime.go:32
← previous
next →
101–200 of 321, ranked by callers