MCPcopy Create free account

hub / github.com/Foxboron/go-uefi / functions

Functions321 in github.com/Foxboron/go-uefi

↓ 1 callersMethodAppend
Appends the raw signature values to the database
efi/signature/signature_database.go:48
↓ 1 callersMethodAppendList
Appends a signature list to the database TODO: Should merge towards a fitting list?
efi/signature/signature_database.go:81
↓ 1 callersMethodAppendSignature
AppendSignature append a signature to the file.
authenticode/checksum.go:221
↓ 1 callersFunctionCertToBytes
(cert *x509.Certificate)
asntest/asntest.go:17
↓ 1 callersMethodCmpHeader
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 callersFunctionCreateSpcIndirectDataContent
CreateSpcIndirectDataContent creates the SPCIndirectDataContent container as specified int he Authenticode standard.
authenticode/authenticode.go:64
↓ 1 callersFunctionDiffText
(t *testing.T, a, b []byte)
asntest/asntest.go:48
↓ 1 callersFunctionFormatEFIVariableAuth2
(sig *signature.EFIVariableAuthentication2)
cmd/efianalyze/main.go:63
↓ 1 callersFunctionFromMapFS
Convert fstest.MapFS to afero.Fs
efi/efitest/efitest.go:12
↓ 1 callersFunctionGetAttrFromFile
Stub implementation for OSX
efi/attr/attr_other.go:10
↓ 1 callersMethodGetBootEntry
(option string)
efivarfs/efivarfs.go:88
↓ 1 callersMethodGetBootOrder
()
efivarfs/efivarfs.go:110
↓ 1 callersMethodGetLoaderEntrySelected
()
efivarfs/efivarfs.go:118
↓ 1 callersMethodGetSecureBoot
()
efivarfs/efivarfs.go:43
↓ 1 callersFunctionGetSupportedSignatures
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 callersMethodGetVarWithAttributes
GetVarWithAttributes parses and unmarshalls a EFI variable, while also returning the parsed attributes.
efivarfs/efifs.go:70
↓ 1 callersMethodGetdb
()
efivarfs/efivarfs.go:59
↓ 1 callersMethodMarshal
(b *bytes.Buffer)
efivarfs/types.go:27
↓ 1 callersMethodMarshal
()
pkcs7/pkcs7.go:747
↓ 1 callersMethodMarshal
(b *bytes.Buffer)
efi/signature/varsign.go:158
↓ 1 callersMethodMarshal
(b *bytes.Buffer)
efi/signature/varsign.go:184
↓ 1 callersFunctionNewEFITime
()
efi/util/efitime.go:42
↓ 1 callersFunctionNewEFIVariableAuthentication2
Returns an EFIVariableAuthencation2 struct no SignedData
efi/signature/varsign.go:144
↓ 1 callersFunctionNewFSWrapper
()
efivarfs/fswrapper/fswrapper.go:66
↓ 1 callersFunctionNewMemoryWrapper
()
efivarfs/fswrapper/fswrapper.go:58
↓ 1 callersFunctionNoAttr
Control whether or not the authenticated attributes gets hashed
pkcs7/pkcs7.go:76
↓ 1 callersMethodOpen
Open returns an io.Reader containing the binary with any appended signatures
authenticode/checksum.go:315
↓ 1 callersFunctionParseACPIDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/acpi_device.go:27
↓ 1 callersFunctionParseEFIAuthVariable
(filename string)
cmd/efianalyze/main.go:92
↓ 1 callersFunctionParseEFIImage
(filename string)
cmd/efianalyze/main.go:108
↓ 1 callersFunctionParseEfivars
(f io.Reader, size int)
efi/attributes/attributes.go:83
↓ 1 callersMethodParseEfivars
(f io.Reader, size int)
efivarfs/fswrapper/fswrapper.go:153
↓ 1 callersFunctionParseHardwareDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/hardware_device.go:31
↓ 1 callersFunctionParseKeyDb
(filename string)
cmd/efianalyze/main.go:44
↓ 1 callersFunctionParseMediaDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/media_device.go:69
↓ 1 callersFunctionParseMessagingDevicePath
(f io.Reader, efi *EFIDevicePath)
efi/device/messaging_device.go:46
↓ 1 callersFunctionParseSignatureList
(filename string)
cmd/efianalyze/main.go:53
↓ 1 callersMethodReadAt
(p []byte, off int64)
authenticode/multireader.go:43
↓ 1 callersFunctionReadCerts
ReadCerts reads multiple certificates from PEM-encoded data
efi/util/certs.go:67
↓ 1 callersFunctionReadCertsFromFile
ReadCertsFromFile reads multiple certificates from a PEM file
efi/util/certs.go:58
↓ 1 callersMethodReadEfivarsFile
For a full path instead of the inferred efivars path
efivarfs/fswrapper/fswrapper.go:166
↓ 1 callersMethodReadEfivarsWithGuid
(filename string, guid util.EFIGUID)
efivarfs/fswrapper/fswrapper.go:179
↓ 1 callersFunctionReadSignatureData
(f io.Reader, size uint32)
efi/signature/signature_list.go:94
↓ 1 callersFunctionReadWinCertificateUEFIGUID
(f io.Reader)
efi/signature/varsign.go:97
↓ 1 callersMethodRemove
Remove the raw signature values to the database
efi/signature/signature_database.go:93
↓ 1 callersMethodRemoveList
Removes a signature list from the database
efi/signature/signature_database.go:134
↓ 1 callersFunctionRequestTimestamp
RequestTimestamp requests a timestamp from a TSA server
pkcs7/timestamp.go:271
↓ 1 callersMethodRunKernelTests
Signs HelloWorld.efi and attempts to run it within tianocore
tests/integration_test.go:82
↓ 1 callersFunctionSetAttr
SetAttr sets the attributes of a file on a linux filesystem to the given value
efi/attr/attr.go:77
↓ 1 callersFunctionSetAttrOnFile
Stub implementation for OSX
efi/attr/attr_other.go:15
↓ 1 callersFunctionSetFS
(f afero.Fs)
efi/fs/fs.go:10
↓ 1 callersMethodSetFS
(fs afero.Fs)
efivarfs/fswrapper/fswrapper.go:36
↓ 1 callersFunctionSetUpModeOff
()
efi/efitest/files.go:26
↓ 1 callersMethodToAfero
()
efi/efitest/efitest.go:30
↓ 1 callersMethodUnmarshal
(data *bytes.Buffer)
efivar/efivar.go:231
↓ 1 callersMethodUnmarshal
(b *bytes.Buffer)
efi/attributes/attributes.go:28
↓ 1 callersMethodUnmarshal
(b *bytes.Buffer)
efi/signature/signature_database.go:155
↓ 1 callersMethodUnmarshal
(b *bytes.Buffer)
efi/signature/varsign.go:162
↓ 1 callersFunctionWithVM
Sets up the test by making a copy of the OVMF files from the system
tests/integration_test.go:146
↓ 1 callersFunctionWriteEFIVariable
(variable string, buf []byte)
efi/efi.go:163
↓ 1 callersFunctionWriteEFIVariableAuthencation2
(b *bytes.Buffer, e EFIVariableAuthentication2)
efi/signature/varsign.go:266
↓ 1 callersFunctionWriteEfivars
Write an
efi/attributes/attributes.go:132
↓ 1 callersFunctionWriteEfivarsWithGuid
Write an EFI variable to sysfs TODO: Fix retryable writes
efi/attributes/attributes.go:142
↓ 1 callersMethodWriteEfivarsWithGuid
Write an EFI variable to sysfs TODO: Fix retryable writes
efivarfs/fswrapper/fswrapper.go:186
↓ 1 callersFunctionWriteWinCertificateUEFIGUID
(b *bytes.Buffer, w *WinCertificateUEFIGUID)
efi/signature/varsign.go:116
↓ 1 callersFunctionfromMapFS
Convert fstest.MapFS to afero.Fs
efivarfs/testfs/testfs.go:33
↓ 1 callersFunctionhasContentInfo
(der *cryptobyte.String)
pkcs7/pkcs7.go:323
↓ 1 callersFunctionmustSigner
(s string)
authenticode/checksum_test.go:45
↓ 1 callersFunctionnewMultiReaderAt
newMultiReaderAt is like io.MultiReader but produces a ReaderAt (and Size), instead of just a reader.
authenticode/multireader.go:18
↓ 1 callersFunctionnewSizeReaderAt
(sec *pe.Section)
authenticode/checksum.go:380
↓ 1 callersFunctionparseCertificates
(der *cryptobyte.String)
pkcs7/pkcs7.go:352
↓ 1 callersFunctionparseEncryptedDigest
(der *cryptobyte.String)
pkcs7/pkcs7.go:502
↓ 1 callersFunctionparseIssuerAndSerialNumber
(der *cryptobyte.String)
pkcs7/pkcs7.go:406
↓ 1 callersFunctionparseSignerInfos
(der *cryptobyte.String)
pkcs7/pkcs7.go:510
↓ 1 callersFunctionparseTSAResp
parseTSAResp parses a TSA response using cryptobytes
pkcs7/timestamp.go:323
↓ 1 callersMethodremoveslice
(index int)
efi/signature/signature_database.go:125
↓ 1 callersMethodsignatureBytes
()
authenticode/checksum.go:336
↓ 1 callersMethodverify
(cert *x509.Certificate)
pkcs7/pkcs7.go:578
↓ 1 callersMethodverifyTimestamp
(cert *x509.Certificate, opts ...VerifyOption)
pkcs7/pkcs7.go:597
MethodAppendDatabase
Appends a signature database
efi/signature/signature_database.go:86
MethodAppendSignature
(s SignatureData)
efi/signature/signature_list.go:212
MethodBytes
()
efivarfs/types.go:33
MethodBytes
Bytes returns the binary with any appended signatures
authenticode/checksum.go:301
MethodBytes
()
efi/attributes/attributes.go:32
MethodBytes
()
efi/util/guid.go:34
MethodBytes
Serialize the Signature Database into bytes
efi/signature/signature_database.go:145
MethodBytes
()
efi/signature/varsign.go:190
MethodBytes
()
efi/signature/signature_list.go:116
MethodBytes
()
efi/signature/signature_list.go:234
MethodBytesExists
Checks if the bytes in a list is present in the signature database
efi/signature/signature_database.go:43
MethodCheckImmutable
()
efivarfs/fswrapper/fswrapper.go:50
MethodFormat
()
efi/device/messaging_device.go:33
MethodFormat
()
efi/device/messaging_device.go:42
MethodFormat
()
efi/device/acpi_device.go:23
MethodFormat
()
efi/device/hardware_device.go:27
MethodFormat
()
efi/device/device.go:75
MethodFormat
()
efi/device/media_device.go:35
MethodFormat
()
efi/device/media_device.go:56
MethodFormat
()
efi/device/media_device.go:65
MethodFormat
()
efi/util/efitime.go:32
← previousnext →101–200 of 321, ranked by callers