Home
last modified time | relevance | path

Searched refs:spake2_ctx_ (Results 1 – 1 of 1) sorted by relevance

/packages/modules/adb/pairing_auth/
Dpairing_auth.cpp86 bssl::UniquePtr<SPAKE2_CTX> spake2_ctx_; member
116 spake2_ctx_.reset(SPAKE2_CTX_new(spake_role, my_name, my_len, their_name, their_len)); in PairingAuthCtx()
117 if (spake2_ctx_ == nullptr) { in PairingAuthCtx()
125 int status = SPAKE2_generate_msg(spake2_ctx_.get(), key, &key_size, SPAKE2_MAX_MSG_SIZE, in PairingAuthCtx()
152 int status = SPAKE2_process_msg(spake2_ctx_.get(), key_material, &key_material_len, in InitCipher()