Changes

Jump to navigation Jump to search
Line 11: Line 11:  
Here's a Snippet of how I walk the keys and check everything I possibly can. The presumption is you already have the binary blob of the cert section (u8 *c), and the reported length of the cert from the header (w_hdr.sz_crt):
 
Here's a Snippet of how I walk the keys and check everything I possibly can. The presumption is you already have the binary blob of the cert section (u8 *c), and the reported length of the cert from the header (w_hdr.sz_crt):
   −
#define round_up(x,n)(-(-(x)&-(n)))
+
<nowiki>#define round_up(x,n)(-(-(x)&-(n)))
 
typedef unsigned char u8;
 
typedef unsigned char u8;
 
typedef unsigned short u16;
 
typedef unsigned short u16;
Line 81: Line 81:  
   }
 
   }
 
}
 
}
 +
</nowiki>
 +
--[[User:Finitelife|Finitelife]] ([[User talk:Finitelife|talk]]) 05:13, 15 October 2014 (CEST)
3

edits

Navigation menu