class
Matter::Session::Pase::PaseResponder
- Matter::Session::Pase::PaseResponder
- Reference
- Object
Overview
PASE session establishment (responder side - device)
Defined in:
matter/session/pase/pase.crConstructors
Instance Method Summary
- #context : Bytes
- #context=(context : Bytes)
- #crypto : Crypto::CryptoBase
- #crypto=(crypto : Crypto::CryptoBase)
-
#derive_session_keys : NamedTuple(encryption: Bytes, decryption: Bytes)
Derive session keys after successful PASE
-
#generate_pake3 : Bytes
Step 4: Generate confirmation value
-
#initialize_spake
Step 2: Initialize SPAKE2+ with w0 and L
- #pbkdf_params : PbkdfParameters
- #pbkdf_params=(pbkdf_params : PbkdfParameters)
- #pin_code : UInt32
- #pin_code=(pin_code : UInt32)
-
#process_pake1(p_a : Bytes) : Bytes
Step 3: Process pA (initiator's public value) and generate pB
-
#process_pbkdf_param_request(request : Bytes) : Bytes
Step 1: Process PBKDF parameter request and return parameters
- #spake : Crypto::Spake2p | Nil
- #spake=(spake : Crypto::Spake2p | Nil)
Constructor Detail
def self.new(pin_code : UInt32, pbkdf_params : PbkdfParameters = PbkdfParameters.default, crypto : Crypto::CryptoBase = Crypto::StandardCrypto.new, context : Bytes = "CHIP PAKE V1 Commissioning".to_slice)
#
Instance Method Detail
def derive_session_keys : NamedTuple(encryption: Bytes, decryption: Bytes)
#
Derive session keys after successful PASE
def process_pake1(p_a : Bytes) : Bytes
#
Step 3: Process pA (initiator's public value) and generate pB
def process_pbkdf_param_request(request : Bytes) : Bytes
#
Step 1: Process PBKDF parameter request and return parameters