You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
David Benjamin 095b6c9baa Also add a decoupled OBJ_obj2txt. преди 6 години
..
CMakeLists.txt Convert obj_tests to gtest преди 7 години
README Reimplement objects.pl in Go. преди 7 години
obj.c Also add a decoupled OBJ_obj2txt. преди 6 години
obj_dat.h Add OpenSSL 1.1.0's cipher property functions. преди 7 години
obj_mac.num Add OpenSSL 1.1.0's cipher property functions. преди 7 години
obj_test.cc Convert obj_tests to gtest преди 7 години
obj_xref.c Run the comment converter on libcrypto. преди 7 години
objects.go Reimplement objects.pl in Go. преди 7 години
objects.txt Add OpenSSL 1.1.0's cipher property functions. преди 7 години

README

The files nid.h, obj_mac.num, and obj_dat.h are generated from objects.txt and
obj_mac.num. To regenerate them, run:

go run objects.go

objects.txt contains the list of all built-in OIDs. It is processed by
objects.go to output obj_mac.num, obj_dat.h, and nid.h.

obj_mac.num is the list of NID values for each OID. This is an input/output
file so NID values are stable across regenerations.

nid.h is the header which defines macros for all the built-in OIDs in C.

obj_dat.h contains the ASN1_OBJECTs corresponding to built-in OIDs themselves
along with lookup tables for search by short name, OID, etc.