class EFIValidate::EALFHeader
Constants
- EALF_HASH_FUNCTIONS
- EALF_HASH_SHA1
- EALF_HASH_SHA256
- EALF_MAGIC
- EALF_ROW_SIZE
Public Instance Methods
create_hash()
click to toggle source
# File lib/efivalidate/ealf_header.rb, line 28 def create_hash EFIValidate::EALFHeader::EALF_HASH_FUNCTIONS[self.ealf_hash_function][:funciton].call end
hash_size()
click to toggle source
# File lib/efivalidate/ealf_header.rb, line 24 def hash_size EFIValidate::EALFHeader::EALF_HASH_FUNCTIONS[self.ealf_hash_function][:size] end
row_size()
click to toggle source
# File lib/efivalidate/ealf_header.rb, line 20 def row_size EALF_ROW_SIZE + self.hash_size end