Searched refs:actual_secret (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/km_openssl/ |
D | ecies_kem.cpp | 109 Buffer actual_secret(z.available_read() + shared_secret.available_read()); in Encrypt() local 110 actual_secret.write(z.peek_read(), z.available_read()); in Encrypt() 111 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read()); in Encrypt() 113 if (!kdf_->Init(actual_secret.peek_read(), actual_secret.available_read(), nullptr /* salt */, in Encrypt() 164 Buffer actual_secret(z.available_read() + shared_secret.available_read()); in Decrypt() local 165 actual_secret.write(z.peek_read(), z.available_read()); in Decrypt() 166 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read()); in Decrypt() 168 if (!kdf_->Init(actual_secret.peek_read(), actual_secret.available_read(), nullptr /* salt */, in Decrypt()
|