ক্রিপ্টো - থ্রেড স্ট্যাক
এই মডিউল ক্রিপ্টোগ্রাফিক ফাংশন অন্তর্ভুক্ত.
সারসংক্ষেপ
Typedefs | |
---|---|
otCryptoSha256Hash | typedefstruct otCryptoSha256Hash এই কাঠামোটি একটি SHA-256 হ্যাশ উপস্থাপন করে। |
ভেরিয়েবল | |
---|---|
OT_TOOL_PACKED_END |
ফাংশন | |
---|---|
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 গণনা করে। |
otCryptoEcdsaSign (uint8_t *aOutput, uint16_t *aOutputLength, const uint8_t *aInputHash, uint16_t aInputHashLength, const uint8_t *aPrivateKey, uint16_t aPrivateKeyLength) | এই পদ্ধতি ECDSA চিহ্ন তৈরি করে। |
otCryptoHmacSha256 (const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash) | void এই ফাংশন HMAC গণনা সম্পাদন করে। |
কাঠামো | |
---|---|
otCryptoSha256Hash | এই কাঠামোটি একটি SHA-256 হ্যাশ উপস্থাপন করে। |
Typedefs
otCryptoSha256Hash
struct otCryptoSha256Hash otCryptoSha256Hash
এই কাঠামোটি একটি SHA-256 হ্যাশ উপস্থাপন করে।
ভেরিয়েবল
OT_TOOL_PACKED_END
OT_TOOL_PACKED_BEGIN struct otCryptoSha256Hash OT_TOOL_PACKED_END
ফাংশন
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 গণনা করে।
বিস্তারিত | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
পরামিতি |
|
otCryptoEcdsaSign
otError otCryptoEcdsaSign( uint8_t *aOutput, uint16_t *aOutputLength, const uint8_t *aInputHash, uint16_t aInputHashLength, const uint8_t *aPrivateKey, uint16_t aPrivateKeyLength )
এই পদ্ধতি ECDSA চিহ্ন তৈরি করে।
বিস্তারিত | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
পরামিতি |
| ||||||||||||
রিটার্ন মান |
|
#CryptoHmacSha256
void otCryptoHmacSha256( const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCryptoSha256Hash *aHash )
এই ফাংশন HMAC গণনা সম্পাদন করে।
বিস্তারিত | |||||||||
---|---|---|---|---|---|---|---|---|---|
পরামিতি |
|
ম্যাক্রো
OT_CRYPTO_SHA256_HASH_SIZE
OT_CRYPTO_SHA256_HASH_SIZE 32
SHA256 হ্যাশের দৈর্ঘ্য (বাইটে)।
সম্পদ
OpenThread API রেফারেন্স বিষয়গুলি উৎস কোড থেকে উদ্ভূত হয়, যা GitHub- এ উপলব্ধ। আরও তথ্যের জন্য, বা আমাদের ডকুমেন্টেশনে অবদান রাখতে, সম্পদ দেখুন।