Google は、黒人コミュニティのための人種的公平の促進に取り組んでいます。
詳細をご覧ください。
エントロピー
このモジュールには、エントロピー生成のためのプラットフォーム抽象化が含まれています。
概要
関数
otPlatEntropyGet
otError otPlatEntropyGet(
uint8_t *aOutput,
uint16_t aOutputLength
)
バッファをエントロピーで埋めます。
この関数は、真の乱数生成ツール(TRNG)を使用して実装しなければなりません。
詳細 |
パラメータ |
[out] aOutput
|
実際のランダムな値が配置される位置へのポインタ。NULL は指定できません。
|
[in] aOutputLength
|
aBuffer のサイズ。
|
|
戻り値 |
OT_ERROR_NONE
|
aBuffer にランダムな乱数を入力しました。
|
OT_ERROR_FAILED
|
aBuffer に true 乱数値を入力できませんでした。
|
OT_ERROR_INVALID_ARGS
|
aBuffer は NULL に設定されました。
|
|
リソース
OpenThread API リファレンスのトピックは、GitHub で入手できるソースコードに基づいています。 詳細については、ドキュメントをご覧ください。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2021-12-30 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]