Skip to content

google/boringssl

Mirror of BoringSSL

https://skillcdn.ai/gh/google/boringssl

Connect this address to your AI to use this skill. How to connect

  • Unverified
  • Default branchmain
  • Commit1008a51
  • LicenseApache-2.0
  • Searchwords
View on GitHub

add-object-nid-oid

How to add a new object with a NID and/or OID to BoringSSL.

Path
_agents/skills/add_object_nid_oid/SKILL.md
License
Apache-2.0

Warnings for the author

  • "name" should match the name of the directory that holds SKILL.md
  • Not listed through the skills extension: the directory must be named after the skill.

Adding a New NID or OID

To add a new ASN.1 object (with a NID and/or OID) to BoringSSL, you must add it to the objects definition file and regenerate the generated headers and lookup tables.

Refer to crypto/obj/README.md for an overview of the generated files.

Steps

  1. Update objects.txt:

  2. Regenerate Files:

    • The generator script crypto/obj/objects.go must be run from the crypto/obj directory because it relies on relative paths for its inputs and outputs.
    • Run the following command:
      cd crypto/obj && go run objects.go
      
    • This will update obj_mac.num (to stabilize NIDs), obj_dat.h, and include/openssl/nid.h.

Files of this skill

This skill has no supporting files.

Browse all supporting files