Crypto - กลุ่มเทรด
โมดูลนี้มีฟังก์ชันการเข้ารหัส
สรุป
Typedef |
|
|---|---|
otCryptoSha256Hash
|
typedef แสดงแฮช SHA-256 |
ฟังก์ชัน |
|
|---|---|
otCryptoAesCcm(const otCryptoKey *aKey, uint8_t aTagLength, const void *aNonce, uint8_t aNonceLength, const void *aHeader, uint32_t aHeaderLength, void *aPlainText, void *aCipherText, uint32_t aLength, bool aEncrypt, void *aTag)
|
void
คำนวณ AES CCM
|
otCryptoHmacSha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash)
|
void
คำนวณ HMAC
|
Typedef
ฟังก์ชัน
otCryptoAesCcm
void otCryptoAesCcm( const otCryptoKey *aKey, uint8_t aTagLength, const void *aNonce, uint8_t aNonceLength, const void *aHeader, uint32_t aHeaderLength, void *aPlainText, void *aCipherText, uint32_t aLength, bool aEncrypt, void *aTag )
คำนวณ AES CCM
| รายละเอียด | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| พารามิเตอร์ |
|
||||||||||||||||||||||
otCryptoHmacSha256
void otCryptoHmacSha256( const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash )
คำนวณ HMAC
| รายละเอียด | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| พารามิเตอร์ |
|
||||||||
แหล่งข้อมูล
หัวข้ออ้างอิง API ของ OpenThread จะมาจากซอร์สโค้ดซึ่งพร้อมใช้งานใน GitHub ดูข้อมูลเพิ่มเติมหรือมีส่วนร่วมในเอกสารประกอบของเราได้ที่แหล่งข้อมูล