Lines Matching refs:input
94 keymaster_error_t EcdsaOperation::StoreData(const Buffer& input, size_t* input_consumed) { in StoreData() argument
98 if (!data_.write(input.peek_read(), min(data_.available_write(), input.available_read()))) in StoreData()
101 *input_consumed = input.available_read(); in StoreData()
126 const Buffer& input, in Update() argument
130 return StoreData(input, input_consumed); in Update()
132 if (EVP_DigestSignUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update()
134 *input_consumed = input.available_read(); in Update()
139 const Buffer& input, const Buffer& /* signature */, in Finish() argument
145 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish()
195 const Buffer& input, in Update() argument
199 return StoreData(input, input_consumed); in Update()
201 if (EVP_DigestVerifyUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update()
203 *input_consumed = input.available_read(); in Update()
208 const Buffer& input, const Buffer& signature, in Finish() argument
211 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish()