Home
last modified time | relevance | path

Searched refs:wd_tmd_t (Results 1 – 12 of 12) sorted by relevance

/dports/sysutils/wiimms/wiimms-iso-tools/src/libwbfs/
H A Dfile-formats.c74 TRACE_SIZEOF(wd_tmd_t); in validate_file_format_sizes()
110 wd_tmd_t * tmd = 0; in validate_file_format_sizes()
148 CHECK( sizeof(wd_tmd_t) == 0x1e4 ); in validate_file_format_sizes()
187 CHECK( sizeof(wd_tmd_t) == 0x1e4 ); in validate_file_format_sizes()
815 DASSERT(tmd_size>=sizeof(wd_tmd_t)); in tmd_setup()
858 bool tmd_is_marked_not_encrypted ( const wd_tmd_t * tmd ) in tmd_is_marked_not_encrypted()
870 u32 tmd_fake_sign ( wd_tmd_t * tmd, u32 tmd_size ) in tmd_fake_sign()
951 pc->tmd = (wd_tmd_t*)ptr; in setup_part_control_helper()
958 const u32 n_content = pc->tmd_size >= sizeof(wd_tmd_t) in setup_part_control_helper()
968 (ntohl(head->tmd_off4)<<2) + sizeof(wd_tmd_t), in setup_part_control_helper()
[all …]
H A Dfile-formats.h691 typedef struct wd_tmd_t struct
718 __attribute__ ((packed)) wd_tmd_t; argument
722 void tmd_setup ( wd_tmd_t * tmd, u32 tmd_size, const void * id4 );
724 void tmd_clear_encryption ( wd_tmd_t * tmd, int mark_not_encrypted );
725 bool tmd_is_marked_not_encrypted ( const wd_tmd_t * tmd );
726 u32 tmd_fake_sign ( wd_tmd_t * tmd, u32 tmd_size );
727 bool tmd_is_fake_signed ( const wd_tmd_t * tmd, u32 tmd_size );
741 wd_tmd_t * tmd; // pointer to tmd
H A Dcert.h300 const wd_tmd_t * tmd, // NULL or pointer to tmd
H A Dcert.c859 const wd_tmd_t * tmd, // NULL or pointer to tmd in cert_check_tmd()
870 const int tmd_size = sizeof(wd_tmd_t) in cert_check_tmd()
H A Dwiidisc.h593 wd_tmd_t * tmd; // NULL or pointer to tmd, size = ph.tmd_size
H A Dwiidisc.c2028 if ( ph->tmd_size < sizeof(wd_tmd_t) in wd_load_part()
2039 wd_tmd_t * tmd = MALLOC(ph->tmd_size); in wd_load_part()
/dports/sysutils/wiimms/wiimms-iso-tools/src/
H A Diso-interface.h218 const wd_tmd_t * tmd, // valid pointer to ticket
H A Dlib-sf.c2874 if ( sig_type == 0x10001 && file_size >= sizeof(wd_tmd_t) ) in AnalyzeMemFT()
2876 const wd_tmd_t * tmd = preload_buf; in AnalyzeMemFT()
2880 const int tmd_size = sizeof(wd_tmd_t) + n * sizeof(wd_tmd_content_t); in AnalyzeMemFT()
2896 if ( file_size >= sizeof(wd_tmd_t) ) in AnalyzeMemFT()
2898 const wd_tmd_t * tmd = preload_buf; in AnalyzeMemFT()
2900 if ( file_size == sizeof(wd_tmd_t) + n * sizeof(wd_tmd_content_t) in AnalyzeMemFT()
H A Diso-interface.c1176 wd_tmd_t * tmd = (wd_tmd_t*)buf; in Dump_TMD_BIN()
1184 const int tmd_size = sizeof(wd_tmd_t) + n_content * sizeof(wd_tmd_content_t); in Dump_TMD_BIN()
1220 const wd_tmd_t * tmd, // valid pointer to ticket in Dump_TMD_MEM()
1283 const int tmd_size = sizeof(wd_tmd_t) + n_content * sizeof(wd_tmd_content_t); in Dump_TMD_MEM()
H A Dlib-file.c3764 wd_tmd_t * tmd = (wd_tmd_t*)iobuf; in AddCertFile()
3765 skip = sizeof(wd_tmd_t) in AddCertFile()
H A Dwit.c561 wd_tmd_t * tmd = (wd_tmd_t*)tmd_buf; in cmd_create()
H A Dlib-std.c382 TRACE_SIZEOF(wd_tmd_t); in SetupLib()