Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dnist_curve_key_exchange.cpp78 shared_secret_len_ = (field_len_bits + 7) / 8; in ExtractPublicKey()
79 public_key_len_ = 1 + 2 * shared_secret_len_; in ExtractPublicKey()
111 UniquePtr<uint8_t[]> result(new (std::nothrow) uint8_t[shared_secret_len_]); in CalculateSharedKey()
113 if (ECDH_compute_key(result.get(), shared_secret_len_, point.get(), private_key_.get(), in CalculateSharedKey()
114 nullptr /* kdf */) != static_cast<int>(shared_secret_len_)) { in CalculateSharedKey()
119 out_result->Reinitialize(result.get(), shared_secret_len_); in CalculateSharedKey()
/system/keymaster/include/keymaster/km_openssl/
Dnist_curve_key_exchange.h67 size_t shared_secret_len_; variable