Skip to content

Commit

Permalink
restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
msandstedt committed Jan 28, 2022
1 parent 2952674 commit cc1b2c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/commissioner/Events.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ struct AesCcm128KeyBuffer : private AesCcm128Key
AesCcm128KeyBuffer() {}
const AesCcm128KeySpan Get() const { return this->Span(); };
void Set(AesCcm128KeySpan keySpan) { *this = AesCcm128KeyBuffer(keySpan); }
void Clear() { *this = AesCcm128KeyBuffer(); }
void Clear() { *this = AesCcm128KeyBuffer(); }
};

using OnboardingPayload = chip::Platform::SharedPtr<chip::SetupPayload>;
Expand Down
3 changes: 2 additions & 1 deletion src/commissioner/ExampleCommissioningStateMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ struct SigningCertificates : SdkStates::Base

private:
static void OnDeviceNOCChainGeneration(void * context, CHIP_ERROR err, const chip::ByteSpan & derNoc,
const chip::ByteSpan & derIcac, const chip::ByteSpan & derRcac, Optional<AesCcm128KeySpan> ipk, Optional<NodeId> adminSubject)
const chip::ByteSpan & derIcac, const chip::ByteSpan & derRcac,
Optional<AesCcm128KeySpan> ipk, Optional<NodeId> adminSubject)
{

ChipLogProgress(Controller, "Received callback from the CA for NOC Chain generation. Status %s", ErrorStr(err));
Expand Down
3 changes: 1 addition & 2 deletions src/commissioner/States.h
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ struct CapturingAttestationChallenge : Base<TContext>
{}
void Enter()
{
auto challenge =
this->mCommissionee.mPaseSession.Get()->AsSecureSession()->GetCryptoContext().GetAttestationChallenge();
auto challenge = this->mCommissionee.mPaseSession.Get()->AsSecureSession()->GetCryptoContext().GetAttestationChallenge();
mAttestationInformation.Challenge()->Set(challenge);
this->mCtx.Dispatch(TContext::Event::template Create<Events::AttestationInformation>(mAttestationInformation));
}
Expand Down

0 comments on commit cc1b2c2

Please sign in to comment.