Home
last modified time | relevance | path

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

/packages/modules/adb/pairing_auth/
Daes_128_gcm.cpp37 Aes128Gcm::Aes128Gcm(const uint8_t* key_material, size_t key_material_len) { in Aes128Gcm() argument
38 CHECK(key_material); in Aes128Gcm()
43 CHECK_EQ(HKDF(key, sizeof(key), EVP_sha256(), key_material, key_material_len, nullptr, 0, info, in Aes128Gcm()
Dpairing_auth.cpp151 uint8_t key_material[SPAKE2_MAX_KEY_SIZE]; in InitCipher() local
152 int status = SPAKE2_process_msg(spake2_ctx_.get(), key_material, &key_material_len, in InitCipher()
153 sizeof(key_material), their_msg.data(), their_msg.size()); in InitCipher()
161 cipher_.reset(new Aes128Gcm(key_material, key_material_len)); in InitCipher()
/packages/modules/adb/pairing_auth/include/adb/pairing/
Daes_128_gcm.h31 explicit Aes128Gcm(const uint8_t* key_material, size_t key_material_len);