diff options
| author | Alex Burmashev <alexander.burmashev@oracle.com> | 2021-02-16 07:08:35 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-02-19 14:28:10 -0500 |
| commit | 31e1aa7aca6a0d3bd4f26008b455e27be0952bea (patch) | |
| tree | 1585c879fa5eb2604d7dab597a8c7bf2a08b5f51 /Cryptlib/OpenSSL/crypto/stack/stack.c | |
| parent | f1feb3ac04e2c96aa751fda8d36bb50c04ffa58d (diff) | |
| download | efi-boot-shim-31e1aa7aca6a0d3bd4f26008b455e27be0952bea.tar.gz efi-boot-shim-31e1aa7aca6a0d3bd4f26008b455e27be0952bea.zip | |
pe.c: parse SBAT variable and perform basic verification
Per Peter Jones suggestion, we will be flexible in what data we expect
while parsing the variable. Three fields are mandatory:
component_generation, component_name_size, component_name
However we also support adding comments and additional information to be
added after component name, with ',' as a separator. Those information
will be ignored and not used for verification purposes.
So:
grub,1
and
grub,1,wow,this,is,my,comment
will provide exactly same set of data for verification.
[0]: https://github.com/rhboot/shim/blob/main/SBAT.md
Signed-off-by: Alex Burmashev <alexander.burmashev@oracle.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/stack/stack.c')
0 files changed, 0 insertions, 0 deletions
