Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README | H A D | 24-Aug-2018 | 1.6 KiB | 38 | 31 | |
obj.c | H A D | 24-Aug-2018 | 17 KiB | 665 | 485 | |
obj_dat.h | H A D | 24-Aug-2018 | 257.9 KiB | 5,255 | 5,186 | |
obj_dat.pl | H A D | 24-Aug-2018 | 7.6 KiB | 310 | 272 | |
obj_mac.num | H A D | 24-Aug-2018 | 20.5 KiB | 950 | 949 | |
obj_test.cc | H A D | 24-Aug-2018 | 3 KiB | 107 | 74 | |
obj_xref.c | H A D | 24-Aug-2018 | 4.6 KiB | 125 | 52 | |
obj_xref.h | H A D | 24-Aug-2018 | 3.5 KiB | 97 | 89 | |
obj_xref.pl | H A D | 24-Aug-2018 | 2 KiB | 119 | 86 | |
objects.pl | H A D | 24-Aug-2018 | 7.8 KiB | 256 | 236 |
README
1OID information is generated via a series of perl scripts. In order, the full 2list of commands to run are: 3 4 perl objects.pl objects.txt obj_mac.num ../../include/openssl/nid.h 5 perl obj_dat.pl ../../include/openssl/nid.h obj_dat.h 6 perl obj_xref.pl obj_mac.num obj_xref.txt > obj_xref.h 7 8objects.txt contains the list of all built-in OIDs. It is processed by 9objects.pl to output obj_mac.num and nid.h. obj_mac.num is the list of NID 10values for each OID. This is an input/output parameter so NID values are stable 11across regenerations. nid.h is the header which defines macros for all the 12built-in OIDs in C. 13 14nid.h is read by obj_dat.pl to generate obj_dat.h. obj_dat.h contains the 15ASN1_OBJECTs corresponding to built-in OIDs themselves along with lookup tables 16for search by short name, OID, etc. 17 18obj_mac.num and obj_xref.txt are read by obj_xref.pl to generate 19obj_xref.h. obj_xref.txt links signature OIDs to corresponding public key 20algorithms and digests. obj_xref.h contains lookup tables for querying this 21information in both directions. 22 23Dependency graph: 24 25 objects.txt 26 | 27 V 28 [objects.pl] <--+ 29 / \ | 30 V V | 31 nid.h obj_mac.num obj_xref.txt 32 | \ / 33 V V V 34 [obj_dat.pl] [obj_xref.pl] 35 | | 36 V V 37 obj_dat.h obj_xref.h 38