nl::Weave:: Mật mã::HKDFSHA1Or256
Tóm tắt
Loại công khai
@345
@345
Thuộc tính công khai
Khóa giả ngẫu nhiên
uint8_t PseudoRandomKey[kMaxPseudoRandomKeyLength]
mForce Căn chỉnh
uint64_t mForceAlign
mObjBuf
uint8_t mObjBuf[1]
mSHA1ObjBuf
uint8_t mSHA1ObjBuf[sizeof(HKDFSHA1)]
mSHA256ObjBuf
uint8_t mSHA256ObjBuf[sizeof(HKDFSHA256)]
Hàm công khai
Tài liệu chính
void AddKeyMaterial(
const uint8_t *keyData,
uint16_t keyDataLen
)
void BeginExtractKey(
const uint8_t *salt,
uint16_t saltLen
)
Khóa mở rộng
WEAVE_ERROR ExpandKey(
const uint8_t *info,
uint16_t infoLen,
uint16_t keyLen,
uint8_t *outKey
)
WEAVE_ERROR FinishExtractKey(
void
)
HKDFSHA1Or256
HKDFSHA1Or256(
bool useSHA1
)
Đặt lại
void Reset(
void
)
~HKDFSHA1Or256
~HKDFSHA1Or256(
void
)
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 2020-08-28 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"
}]