Home
last modified time | relevance | path

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

/system/core/adb/pairing_auth/
Daes_128_gcm.cpp35 Aes128Gcm::Aes128Gcm(const uint8_t* key_material, size_t key_material_len) { in Aes128Gcm() argument
37 CHECK_NE(key_material_len, 0ul); in Aes128Gcm()
41 CHECK_EQ(HKDF(key, sizeof(key), EVP_sha256(), key_material, key_material_len, nullptr, 0, info, in Aes128Gcm()
Dpairing_auth.cpp148 size_t key_material_len = 0; in InitCipher() local
150 int status = SPAKE2_process_msg(spake2_ctx_.get(), key_material, &key_material_len, in InitCipher()
159 cipher_.reset(new Aes128Gcm(key_material, key_material_len)); in InitCipher()
/system/core/adb/pairing_auth/include/adb/pairing/
Daes_128_gcm.h31 explicit Aes128Gcm(const uint8_t* key_material, size_t key_material_len);