Lines Matching refs:item

79     auto [item, err] = card_->sendRequest(Instruction::INS_GET_HW_INFO_CMD);  in getHardwareInfo()
85 if (err != KM_ERROR_OK || !(optVersion = cbor_.getUint64(item, 1)) || in getHardwareInfo()
86 !(optSecLevel = cbor_.getUint64(item, 2)) || in getHardwareInfo()
87 !(optKeyMintName = cbor_.getByteArrayStr(item, 3)) || in getHardwareInfo()
88 !(optKeyMintAuthorName = cbor_.getByteArrayStr(item, 4)) || in getHardwareInfo()
89 !(optTsRequired = cbor_.getUint64(item, 5))) { in getHardwareInfo()
112 auto [item, err] = card_->sendRequest(Instruction::INS_GENERATE_KEY_CMD, array); in generateKey()
117 auto optKeyBlob = cbor_.getByteArrayVec(item, 1); in generateKey()
118 auto optKeyChars = cbor_.getKeyCharacteristics(item, 2); in generateKey()
119 auto optCertChain = cbor_.getCertificateChain(item, 3); in generateKey()
134 auto [item, err] = card_->sendRequest(Instruction::INS_ADD_RNG_ENTROPY_CMD, request); in addRngEntropy()
157 auto [item, err] = card_->sendRequest(Instruction::INS_IMPORT_KEY_CMD, request); in importKey()
162 auto optKeyBlob = cbor_.getByteArrayVec(item, 1); in importKey()
163 auto optKeyChars = cbor_.getKeyCharacteristics(item, 2); in importKey()
164 auto optCertChain = cbor_.getCertificateChain(item, 3); in importKey()
184 std::unique_ptr<Item> item; in importWrappedKey() local
203 std::tie(item, errorCode) = in importWrappedKey()
210 std::tie(item, errorCode) = sendFinishImportWrappedKeyCmd( in importWrappedKey()
216 auto optKeyBlob = cbor_.getByteArrayVec(item, 1); in importWrappedKey()
217 auto optKeyChars = cbor_.getKeyCharacteristics(item, 2); in importWrappedKey()
218 auto optCertChain = cbor_.getCertificateChain(item, 3); in importWrappedKey()
269 auto [item, err] = card_->sendRequest(Instruction::INS_UPGRADE_KEY_CMD, request); in upgradeKey()
274 auto optKeyBlob = cbor_.getByteArrayVec(item, 1); in upgradeKey()
286 auto [item, err] = card_->sendRequest(Instruction::INS_DELETE_KEY_CMD, request); in deleteKey()
305 auto [item, err] = card_->sendRequest(Instruction::INS_DESTROY_ATT_IDS_CMD); in destroyAttestationIds()
327 auto [item, err] = card_->sendRequest(Instruction::INS_BEGIN_OPERATION_CMD, array); in begin()
333 auto keyParams = cbor_.getKeyParameters(item, 1); in begin()
334 auto optOpHandle = cbor_.getUint64(item, 2); in begin()
335 auto optBufMode = cbor_.getUint64(item, 3); in begin()
336 auto optMacLength = cbor_.getUint64(item, 4); in begin()
360 auto [item, err] = card_->sendRequest(Instruction::INS_DEVICE_LOCKED_CMD, request); in deviceLocked()
385 auto [item, err] = card_->sendRequest(Instruction::INS_GET_KEY_CHARACTERISTICS_CMD, request); in getKeyCharacteristics()
390 auto optKeyChars = cbor_.getKeyCharacteristics(item, 1); in getKeyCharacteristics()
400 auto [item, err] = card_->sendRequest(Instruction::INS_GET_ROT_CHALLENGE_CMD); in getRootOfTrustChallenge()
405 auto optChallenge = cbor_.getByteArrayVec(item, 1); in getRootOfTrustChallenge()
422 auto [item, err] = card_->sendRequest(Instruction::INS_SEND_ROT_DATA_CMD, request); in sendRootOfTrust()