File: ms_slic_pubkey.cpp

package info (click to toggle)
uefitool 0.28.0%2BA73-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,728 kB
  • sloc: ansic: 55,322; cpp: 23,375; sh: 43; xml: 23; makefile: 5
file content (29 lines) | stat: -rw-r--r-- 855 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

#include "ms_slic_pubkey.h"

ms_slic_pubkey_t::ms_slic_pubkey_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, ms_slic_pubkey_t* p__root) : kaitai::kstruct(p__io) {
    m__parent = p__parent;
    m__root = p__root ? p__root : this;
    _read();
}

void ms_slic_pubkey_t::_read() {
    m_type = m__io->read_u4le();
    m_len_pubkey = m__io->read_u4le();
    m_key_type = m__io->read_u1();
    m_version = m__io->read_u1();
    m_reserved = m__io->read_u2le();
    m_algorithm = m__io->read_u4le();
    m_magic = m__io->read_u4le();
    m_bit_length = m__io->read_u4le();
    m_exponent = m__io->read_u4le();
    m_modulus = m__io->read_bytes(128);
}

ms_slic_pubkey_t::~ms_slic_pubkey_t() {
    _clean_up();
}

void ms_slic_pubkey_t::_clean_up() {
}