| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor(sign/verify): split boolean param into dedicated setSignSpec/setVerifySpec overload Separate the boolean parameter into its own method overload (SetSignSpecBoolean/SetVerifySpecBoolean) instead of using a combined OptIntUint8ArrBool union type, improving type safety and API clarity. - Rename OptIntUint8ArrBool to OptIntUint8Arr (drop BOOLEAN variant) - Add SetSignSpecBoolean/SetVerifySpecBoolean for boolean params - Update .d.ts type definitions with separate boolean overload Signed-off-by: kang1024 <yangjiankang3@huawei.com> | 2 个月前 | |
fix: Remove unused "log.h" includes and clean up redundant debug output - Remove unused "log.h" includes to fix -Wunused-function errors - Add missing <chrono> includes in api_metrics - Drop duplicate @gen_async annotations in idl - Remove redundant printf debug output in unit tests Co-Authored-By: Agent Signed-off-by: kang1024 <yangjiankang3@huawei.com> | 26 天前 | |
feat: add api_metrics module with BOOLEAN+TIMES+ENUMERATION reporting - Native: 108 APIs, static inner + public wrapper pattern with timing - ANI: 76 sync APIs, RAII guard with SetErrorCode(HcfResult) - NAPI: 76 APIs, sync/factory guard + async Execute-only guard - Helper functions receive guard by reference for error propagation - SetErrorCode and throw call count 1:1, order enforced - HcfJsApiId enum (106 values) shared by NAPI and ANI - Conditional compilation via CRYPTO_FRAMEWORK_API_METRICS_ENABLE Co-Authored-By: Agent Signed-off-by: kang1024 <yangjiankang3@huawei.com> | 1 个月前 | |
refactor: rework api metrics and scope reporting to PQC algorithms Trim the JS APIS_NAME whitelist to the create* factories plus KEM methods, drop the now-dead HistogramScopeGuard usages, delete the native metrics module, and scope create* reporting to PQC algorithms. Co-Authored-By: Agent Signed-off-by: kang1024 <yangjiankang3@huawei.com> | 6 天前 | |
ani添加pac编译参数 Signed-off-by: lichaochen_huawei <lichaochen@huawei.com> | 19 天前 |