본문으로 건너뛰기

google/boringssl

Mirror of BoringSSL

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

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

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

update-wycheproof-test-vectors

How to import updated Project Wycheproof test vectors and regenerate BoringSSL's FileTest inputs.

경로
_agents/skills/update_wycheproof_test_vectors/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.

Updating Wycheproof Test Vectors

Note: Handling new tests, upstream JSON fields, or acceptable test flags requires judgment. Do a first pass on these decisions, call out all such decisions explicitly in your output to the user along with a concise justification for your first-pass decision, and wait for the human user's decision on anything genuinely questionable.

  1. Sync Upstream JSON Vectors:

    • Sync testvectors_v1/*.json from the target revision of the upstream github.com repository recorded in third_party/wycheproof_testvectors/METADATA into third_party/wycheproof_testvectors/ (including additions and deletions).
  2. Convert Implemented Test Vectors to .txt:

    • Only convert and import into BoringSSL's test suite (defaultInputs in util/convert_wycheproof/convert_wycheproof.go and *_test.cc) test vectors for primitives and formats implemented in BoringSSL (checking both new upstream files and whether BoringSSL now implements anything previously skipped). Note any omissions in the CL description.
    • When invoked with no arguments, convert_wycheproof.go reads defaultInputs from and writes .txt files to CWD:
      (cd third_party/wycheproof_testvectors && go run ../../util/convert_wycheproof/convert_wycheproof.go)
      
    • If .txt files are added or removed (or defaultInputs changes), run update_pregenerated_files.
  3. Update METADATA: Update version and last_upgrade_date.

  4. Build and Triage:

    • Build and run crypto_test (see build_and_test).
    • Update convert_wycheproof.go or *_test.cc consumers as needed for new tests, upstream fields, or acceptable test flags (see crypto/test/wycheproof_util.h), following the judgment and reporting note above.

이 스킬의 파일

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

지원 파일 전체 둘러보기