본문으로 건너뛰기

google/boringssl

Mirror of BoringSSL

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

내 AI에 이 주소를 연결하면 이 스킬을 쓸 수 있어요. 연결 방법 보기

  • 미확인
  • 기본 브랜치main
  • 커밋1008a51
  • 라이선스Apache-2.0
  • 검색단어
GitHub에서 보기

add-object-nid-oid

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

경로
_agents/skills/add_object_nid_oid/SKILL.md
라이선스
Apache-2.0

작성자를 위한 경고

  • "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.

이 스킬의 파일

이 스킬에는 보조 파일이 없습니다.

지원 파일 전체 둘러보기