Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Informacje o strukturze keymaster_ec_keygen_params_t
#include <
keymaster_common.h
>
Parametry potrzebne do wygenerowania klucza EC.
W wersji 2 jedynym parametrem jest rozmiar pola. Rozmiary odpowiadają tym wymaganym krzywiznom:
192 = NIST P-192 224 = NIST P-224 256 = NIST P-256 384 = NIST P-384 521 = NIST P-521
Parametry tych krzywych są dostępne pod adresem:
http://www.nsa.gov/ia/_files/nist-routines.pdf
w rozdziale 4.
Definicja w wierszu
156
pliku
keymaster_common.h
.
Dokumentacja tego typu danych została wygenerowana z tego pliku:
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: keymaster_ec_keygen_params_t Struct Reference\n\nkeymaster_ec_keygen_params_t Struct Reference\n=============================================\n\n[Data Fields](#pub-attribs) \nkeymaster_ec_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 | [field_size](/reference/hal/structkeymaster__ec__keygen__params__t#a85f91712ec4fffda3a0453f88282fc6e) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nParameters needed to generate an EC key.\n\n\nField size is the only parameter in version 2. The sizes correspond to these required curves:\n\n\n192 = NIST P-192 224 = NIST P-224 256 = NIST P-256 384 = NIST P-384 521 = NIST P-521\n\n\nThe parameters for these curves are available at:\n\u003chttp://www.nsa.gov/ia/_files/nist-routines.pdf\u003e\nin Chapter 4.\n\n\nDefinition at line\n[156](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| uint32_t field_size |\n\n\nDefinition at line\n[157](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)"]]