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 d69d94e7e3 Teach crypto/x509 how to verify an Ed25519 signature. 7 years ago
..
CMakeLists.txt Fix a bug in obj_dat.pl and add basic crypto/obj tests. 8 years ago
README Reimplement objects.pl in Go. 7 years ago
obj.c Reimplement objects.pl in Go. 7 years ago
obj_dat.h Implement draft-ietf-curdle-pkix-04's serialization. 7 years ago
obj_mac.num Implement draft-ietf-curdle-pkix-04's serialization. 7 years ago
obj_test.cc Work around language and compiler bug in memcpy, etc. 7 years ago
obj_xref.c Teach crypto/x509 how to verify an Ed25519 signature. 7 years ago
objects.go Reimplement objects.pl in Go. 7 years ago
objects.txt Implement draft-ietf-curdle-pkix-04's serialization. 7 years ago

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.