Crypto - Thread Stack
این ماژول شامل توابع رمزنگاری است.
خلاصه
Typedefs | |
|---|---|
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 را انجام می دهد. |
Typedefs
کارکرد
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 را انجام می دهد.
| جزئیات | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| مولفه های |
|
منابع
موضوعات مرجع OpenThread API از کد منبع موجود در GitHub سرچشمه می گیرند. برای اطلاعات بیشتر، یا مشارکت در اسناد ما، به منابع مراجعه کنید.