自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
keymaster_dsa_keygen_params_t 结构体参考文档
#include <
keymaster_common.h
>
生成 DSA 密钥所需的参数。
定义位于文件
keymaster_common.h
的
132 行
。
此结构体的文档是根据以下文件生成的:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Android Hardware Abstraction Layer: keymaster_dsa_keygen_params_t Struct Reference\n\nkeymaster_dsa_keygen_params_t Struct Reference\n==============================================\n\n[Data Fields](#pub-attribs) \nkeymaster_dsa_keygen_params_t Struct Reference \n\n`\n#include \u003c\n`[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)`\n\u003e\n`\n\n|------------------|-----------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint32_t | [key_size](/reference/hal/structkeymaster__dsa__keygen__params__t#a83844a351f4b92ad62ba71b38733aa04) |\n| ||\n| uint32_t | [generator_len](/reference/hal/structkeymaster__dsa__keygen__params__t#a9d938f799f20f0db616ed53931e7faca) |\n| ||\n| uint32_t | [prime_p_len](/reference/hal/structkeymaster__dsa__keygen__params__t#a1d743b864df91fffd8fa85c9eaac17d4) |\n| ||\n| uint32_t | [prime_q_len](/reference/hal/structkeymaster__dsa__keygen__params__t#a7a95c7a903b63c5b887927e56961aea4) |\n| ||\n| const uint8_t \\* | [generator](/reference/hal/structkeymaster__dsa__keygen__params__t#afed5a7c5c62153197185a58fb7c0fab5) |\n| ||\n| const uint8_t \\* | [prime_p](/reference/hal/structkeymaster__dsa__keygen__params__t#a1dab66aba7531084f88017de161b3887) |\n| ||\n| const uint8_t \\* | [prime_q](/reference/hal/structkeymaster__dsa__keygen__params__t#a979fe9486ba2515e0d5d0cad0a536765) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nParameters needed to generate a DSA key.\n\n\nDefinition at line\n[132](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------------------|\n| const uint8_t\\* generator |\n\n\nDefinition at line\n[137](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\n|------------------------|\n| uint32_t generator_len |\n\n\nDefinition at line\n[134](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\n|-------------------|\n| uint32_t key_size |\n\n\nDefinition at line\n[133](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\n|-------------------------|\n| const uint8_t\\* prime_p |\n\n\nDefinition at line\n[138](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\n|----------------------|\n| uint32_t prime_p_len |\n\n\nDefinition at line\n[135](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\n|-------------------------|\n| const uint8_t\\* prime_q |\n\n\nDefinition at line\n[139](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\n|----------------------|\n| uint32_t prime_q_len |\n\n\nDefinition at line\n[136](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\nof file\n[keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [keymaster_common.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_common.h)"]]