Searched refs:AesCcm (Results 1 – 8 of 8) sorted by relevance
/openthread-3.5.0/src/core/crypto/ |
D | aes_ccm.cpp | 45 void AesCcm::SetKey(const uint8_t *aKey, uint16_t aKeyLength) in SetKey() 53 void AesCcm::SetKey(const Mac::KeyMaterial &aMacKey) in SetKey() 61 void AesCcm::Init(uint32_t aHeaderLength, in Init() 161 void AesCcm::Header(const void *aHeader, uint32_t aHeaderLength) in Header() 193 void AesCcm::Payload(void *aPlainText, void *aCipherText, uint32_t aLength, Mode aMode) in Payload() 252 void AesCcm::Payload(Message &aMessage, uint16_t aOffset, uint16_t aLength, Mode aMode) in Payload() 266 void AesCcm::Finalize(void *aTag) in Finalize() 280 void AesCcm::GenerateNonce(const Mac::ExtAddress &aAddress, in GenerateNonce()
|
D | aes_ccm.hpp | 63 class AesCcm class
|
/openthread-3.5.0/tests/unit/ |
D | test_aes.cpp | 59 ot::Crypto::AesCcm aesCcm; in TestMacBeaconFrame() 127 ot::Crypto::AesCcm aesCcm; in TestMacCommandFrame() 134 …aesCcm.Payload(test + kHeaderLength, test + kHeaderLength, kPayloadLength, ot::Crypto::AesCcm::kEn… in TestMacCommandFrame() 141 …aesCcm.Payload(test + kHeaderLength, test + kHeaderLength, kPayloadLength, ot::Crypto::AesCcm::kDe… in TestMacCommandFrame() 157 aesCcm.Payload(*message, kHeaderLength, kPayloadLength, ot::Crypto::AesCcm::kEncrypt); in TestMacCommandFrame() 166 aesCcm.Payload(*message, kHeaderLength, kPayloadLength, ot::Crypto::AesCcm::kDecrypt); in TestMacCommandFrame() 197 ot::Crypto::AesCcm aesCcm; in TestInPlaceAesCcmProcessing() 229 … aesCcm.Payload(*message, kHeaderLength, msgLength - kHeaderLength, ot::Crypto::AesCcm::kEncrypt); in TestInPlaceAesCcmProcessing() 240 … aesCcm.Payload(*message, kHeaderLength, msgLength - kHeaderLength, ot::Crypto::AesCcm::kDecrypt); in TestInPlaceAesCcmProcessing()
|
/openthread-3.5.0/src/core/api/ |
D | crypto_api.cpp | 73 AesCcm aesCcm; in otCryptoAesCcm() 89 … aesCcm.Payload(aPlainText, aCipherText, aLength, aEncrypt ? AesCcm::kEncrypt : AesCcm::kDecrypt); in otCryptoAesCcm()
|
/openthread-3.5.0/src/core/mac/ |
D | mac_frame.cpp | 1362 uint8_t nonce[Crypto::AesCcm::kNonceSize]; in ProcessTransmitAesCcm() 1364 Crypto::AesCcm aesCcm; in ProcessTransmitAesCcm() 1371 Crypto::AesCcm::GenerateNonce(aExtAddress, frameCounter, securityLevel, nonce); in ProcessTransmitAesCcm() 1378 aesCcm.Payload(GetPayload(), GetPayload(), GetPayloadLength(), Crypto::AesCcm::kEncrypt); in ProcessTransmitAesCcm() 1497 uint8_t nonce[Crypto::AesCcm::kNonceSize]; in ProcessReceiveAesCcm() 1500 Crypto::AesCcm aesCcm; in ProcessReceiveAesCcm() 1507 Crypto::AesCcm::GenerateNonce(aExtAddress, frameCounter, securityLevel, nonce); in ProcessReceiveAesCcm() 1515 aesCcm.Payload(GetPayload(), GetPayload(), GetPayloadLength(), Crypto::AesCcm::kDecrypt); in ProcessReceiveAesCcm() 1519 aesCcm.Payload(fuzz, GetPayload(), GetPayloadLength(), Crypto::AesCcm::kDecrypt); in ProcessReceiveAesCcm()
|
/openthread-3.5.0/src/core/common/ |
D | message.hpp | 74 class AesCcm; 270 friend class Crypto::AesCcm;
|
/openthread-3.5.0/src/core/thread/ |
D | mle.cpp | 2350 Error Mle::ProcessMessageSecurity(Crypto::AesCcm::Mode aMode, in ProcessMessageSecurity() 2374 Crypto::AesCcm aesCcm; in ProcessMessageSecurity() 2375 uint8_t nonce[Crypto::AesCcm::kNonceSize]; in ProcessMessageSecurity() 2385 case Crypto::AesCcm::kEncrypt: in ProcessMessageSecurity() 2390 case Crypto::AesCcm::kDecrypt: in ProcessMessageSecurity() 2401 …Crypto::AesCcm::GenerateNonce(extAddress, aHeader.GetFrameCounter(), Mac::Frame::kSecurityEncMic32… in ProcessMessageSecurity() 2417 if (aMode == Crypto::AesCcm::kDecrypt) in ProcessMessageSecurity() 2428 if (aMode == Crypto::AesCcm::kEncrypt) in ProcessMessageSecurity() 2502 …error = ProcessMessageSecurity(Crypto::AesCcm::kDecrypt, aMessage, aMessageInfo, aMessage.GetOffse… in HandleUdpReceive() 4868 …error = Get<Mle>().ProcessMessageSecurity(Crypto::AesCcm::kEncrypt, *this, messageInfo, offset, he… in SendTo()
|
D | mle.hpp | 1258 Error ProcessMessageSecurity(Crypto::AesCcm::Mode aMode,
|