Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
nl::Weave::Crypto::HKDF
Tóm tắt
Hàm khởi tạo và hàm phá
|
HKDF(void)
|
~HKDF(void)
|
Hàm tĩnh công khai
|
DeriveKey(const uint8_t *salt, uint16_t saltLen, const uint8_t *keyMaterial1, uint16_t keyMaterial1Len, const uint8_t *keyMaterial2, uint16_t keyMaterial2Len, const uint8_t *info, uint16_t infoLen, uint8_t *outKey, uint16_t outKeyBufSize, uint16_t outKeyLen)
|
|
Loại công khai
@344
@344
Thuộc tính công khai
PseudoRandomKey
uint8_t PseudoRandomKey[kPseudoRandomKeyLength]
Hàm công khai
AddKeyMaterial
void AddKeyMaterial(
const uint8_t *keyData,
uint16_t keyDataLen
)
AddKeyMaterial
void AddKeyMaterial(
const BIGNUM & num
)
void BeginExtractKey(
const uint8_t *salt,
uint16_t saltLen
)
ExpandKey
WEAVE_ERROR ExpandKey(
const uint8_t *info,
uint16_t infoLen,
uint16_t keyLen,
uint8_t *outKey
)
WEAVE_ERROR FinishExtractKey(
void
)
200
HKDF(
void
)
Đặt lại
void Reset(
void
)
~HKDF
~HKDF(
void
)
Hàm tĩnh công khai
DeriveKey
WEAVE_ERROR DeriveKey(
const uint8_t *salt,
uint16_t saltLen,
const uint8_t *keyMaterial1,
uint16_t keyMaterial1Len,
const uint8_t *keyMaterial2,
uint16_t keyMaterial2Len,
const uint8_t *info,
uint16_t infoLen,
uint8_t *outKey,
uint16_t outKeyBufSize,
uint16_t outKeyLen
)
Trừ khi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle. Thread là nhãn hiệu đã đăng ký của Thread Group, Inc.
Cập nhật lần gần đây nhất: 2023-12-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]