VLC 4.0.0-dev
signature_packet_t Struct Reference

#include <update.h>

Data Fields

uint8_t version
 
uint8_t type
 
uint8_t public_key_algo
 
uint8_t digest_algo
 
uint8_t hash_verification [2]
 
uint8_t issuer_longid [8]
 
union {
   struct {
      uint8_t   hashed_data_len [2]
 
      uint8_t *   hashed_data
 
      uint8_t   unhashed_data_len [2]
 
      uint8_t *   unhashed_data
 
   }   v4
 
   struct {
      uint8_t   hashed_data_len
 
      uint8_t   timestamp [4]
 
   }   v3
 
specific
 
union {
   struct {
      uint8_t   r [2+256/8]
 
      uint8_t   s [2+256/8]
 
   }   dsa
 
   struct {
      uint8_t   s [2+4096/8]
 
   }   rsa
 
algo_specific
 

Field Documentation

◆ 

union { ... } signature_packet_t::algo_specific

◆ digest_algo

◆ 

struct { ... } signature_packet_t::dsa

◆ hash_verification

uint8_t signature_packet_t::hash_verification[2]

◆ hashed_data

uint8_t* signature_packet_t::hashed_data

◆ hashed_data_len

uint8_t signature_packet_t::hashed_data_len

◆ issuer_longid

uint8_t signature_packet_t::issuer_longid[8]

◆ public_key_algo

uint8_t signature_packet_t::public_key_algo

◆ r

uint8_t signature_packet_t::r[2+256/8]

◆ 

struct { ... } signature_packet_t::rsa

◆ s

uint8_t signature_packet_t::s[2+4096/8]

◆ 

◆ timestamp

uint8_t signature_packet_t::timestamp[4]

◆ type

◆ unhashed_data

uint8_t* signature_packet_t::unhashed_data

◆ unhashed_data_len

uint8_t signature_packet_t::unhashed_data_len[2]

◆ 

struct { ... } signature_packet_t::v3

◆ 

◆ version

uint8_t signature_packet_t::version

The documentation for this struct was generated from the following file: