Lines Matching refs:cbor_
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()
109 cbor_.addKeyparameters(array, keyParams); in generateKey()
111 cbor_.addAttestationKey(array, attestationKey); 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()
149 cbor_.addKeyparameters(request, keyParams); in importKey()
155 cbor_.addAttestationKey(request, attestationKey); 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()
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()
238 cbor_.addKeyparameters(request, unwrappingParams); in sendBeginImportWrappedKeyCmd()
249 cbor_.addKeyparameters(request, keyParams); in sendFinishImportWrappedKeyCmd()
268 cbor_.addKeyparameters(request, upgradeParams); in upgradeKey()
274 auto optKeyBlob = cbor_.getByteArrayVec(item, 1); in upgradeKey()
323 cbor_.addKeyparameters(array, params); in begin()
325 cbor_.addHardwareAuthToken(array, token); 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()
359 cbor_.addTimeStampToken(request, timestampToken.value_or(TimeStampToken())); in deviceLocked()
390 auto optKeyChars = cbor_.getKeyCharacteristics(item, 1); in getKeyCharacteristics()
405 auto optChallenge = cbor_.getByteArrayVec(item, 1); in getRootOfTrustChallenge()