/system/keymaster/ |
D | ecdsa_operation.cpp | 98 keymaster_error_t EcdsaOperation::StoreData(const Buffer& input, size_t* input_consumed) { in StoreData() argument 105 *input_consumed = input.available_read(); in StoreData() 128 Buffer* /* output */, size_t* input_consumed) { in Update() argument 130 return StoreData(input, input_consumed); in Update() 134 *input_consumed = input.available_read(); in Update() 193 Buffer* /* output */, size_t* input_consumed) { in Update() argument 195 return StoreData(input, input_consumed); in Update() 199 *input_consumed = input.available_read(); in Update()
|
D | android_keymaster_test.cpp | 524 size_t input_consumed; in TEST_P() local 525 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed)); in TEST_P() 561 size_t input_consumed; in TEST_P() local 562 EXPECT_EQ(KM_ERROR_INVALID_INPUT_LENGTH, UpdateOperation(message, &result, &input_consumed)); in TEST_P() 664 size_t input_consumed; in TEST_P() local 665 ASSERT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed)); in TEST_P() 666 ASSERT_EQ(message.size(), input_consumed); in TEST_P() 716 size_t input_consumed; in TEST_P() local 717 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed)); in TEST_P() 1236 size_t input_consumed; in TEST_P() local [all …]
|
D | rsa_operation.cpp | 146 Buffer* /* output */, size_t* input_consumed) { in Update() argument 147 assert(input_consumed); in Update() 155 return StoreData(input, input_consumed); in Update() 159 keymaster_error_t RsaOperation::StoreData(const Buffer& input, size_t* input_consumed) { in StoreData() argument 160 assert(input_consumed); in StoreData() 171 *input_consumed = input.available_read(); in StoreData() 280 Buffer* output, size_t* input_consumed) { in Update() argument 284 input_consumed); in Update() 288 *input_consumed = input.available_read(); in Update() 403 Buffer* output, size_t* input_consumed) { in Update() argument [all …]
|
D | operation.cpp | 140 size_t input_consumed; in UpdateForFinish() local 144 Update(input_params, input, &output_params, &output, &input_consumed); in UpdateForFinish() 147 assert(input_consumed == input.available_read()); in UpdateForFinish()
|
D | ecdsa_operation.h | 40 keymaster_error_t StoreData(const Buffer& input, size_t* input_consumed); 58 size_t* input_consumed) override; 72 size_t* input_consumed) override;
|
D | android_keymaster_test_utils.cpp | 261 size_t* input_consumed) { in UpdateOperation() argument 267 input_consumed, &out_params, &out_tmp); in UpdateOperation() 277 size_t* input_consumed) { in UpdateOperation() argument 283 input_consumed, &out_params, &out_tmp); in UpdateOperation() 356 size_t input_consumed; in ProcessMessage() local 357 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed)); in ProcessMessage() 358 EXPECT_EQ(message.size(), input_consumed); in ProcessMessage() 370 size_t input_consumed; in ProcessMessage() local 372 &result, &input_consumed)); in ProcessMessage() 373 EXPECT_EQ(message.size(), input_consumed); in ProcessMessage() [all …]
|
D | aes_operation.cpp | 196 size_t* input_consumed) { in Update() argument 204 *input_consumed = input.available_read(); in Update() 472 size_t input_consumed; in UpdateForFinish() local 473 *error = Update(additional_params, input, output_params, output, &input_consumed); in UpdateForFinish() 476 if (input_consumed != input.available_read()) { in UpdateForFinish() 563 Buffer* output, size_t* input_consumed) { in Update() argument 564 if (!output || !input_consumed) in Update() 568 *input_consumed = input.available_read(); in Update()
|
D | rsa_operation.h | 46 size_t* input_consumed) override; 56 keymaster_error_t StoreData(const Buffer& input, size_t* input_consumed); 97 size_t* input_consumed) override; 119 size_t* input_consumed) override;
|
D | hmac_operation.cpp | 152 Buffer* /* output */, size_t* input_consumed) { in Update() argument 155 *input_consumed = input.available_read(); in Update()
|
D | aes_operation.h | 70 size_t* input_consumed) override; 138 size_t* input_consumed) override;
|
D | hmac_operation.h | 36 size_t* input_consumed);
|
D | operation.h | 107 size_t* input_consumed) = 0;
|
D | android_keymaster_messages_test.cpp | 290 msg.input_consumed = 99; in TEST() 314 EXPECT_EQ(0U, deserialized->input_consumed); in TEST() 317 EXPECT_EQ(99U, deserialized->input_consumed); in TEST() 321 EXPECT_EQ(99U, deserialized->input_consumed); in TEST()
|
D | soft_keymaster_device.cpp | 1255 const keymaster_blob_t* input, size_t* input_consumed, in update() argument 1261 if (!input_consumed) in update() 1269 return km1_dev->update(km1_dev, operation_handle, in_params, input, input_consumed, in update() 1301 *input_consumed = response.input_consumed; in update() 1319 const keymaster_blob_t* input, size_t* input_consumed, in update() argument 1329 return update(&sk_dev->km1_device_, operation_handle, in_params, input, input_consumed, in update()
|
D | keymaster1_engine.cpp | 275 size_t input_consumed; in Keymaster1Finish() local 280 &input_consumed, nullptr /* out_params */, nullptr /* output */); in Keymaster1Finish()
|
D | android_keymaster_messages.cpp | 218 buf = append_uint32_to_buf(buf, end, input_consumed); in NonErrorSerialize() 227 retval = copy_uint32_from_buf(buf_ptr, end, &input_consumed); in NonErrorDeserialize()
|
D | android_keymaster_test_utils.h | 198 size_t* input_consumed); 201 std::string* output, size_t* input_consumed);
|
D | android_keymaster.cpp | 311 &response->output, &response->input_consumed); in UpdateOperation()
|
/system/vold/ |
D | Keymaster.cpp | 40 const keymaster_blob_t* input, size_t* input_consumed, 73 const keymaster_blob_t* input, size_t* input_consumed, in update() argument 76 return mDevice->update(mDevice, operation_handle, in_params, input, input_consumed, in update()
|
D | cryptfs.c | 378 size_t input_consumed; in keymaster_sign_object() local 380 &input, &input_consumed, NULL /* out_params */, in keymaster_sign_object() 387 if (input_consumed != to_sign_size) { in keymaster_sign_object()
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 169 const keymaster_blob_t* input, size_t* input_consumed, 226 const keymaster_blob_t* input, size_t* input_consumed,
|
D | android_keymaster_messages.h | 366 : KeymasterResponse(ver), input_consumed(0) {} in KeymasterResponse() 373 size_t input_consumed; member
|