Home
last modified time | relevance | path

Searched refs:tmpVariables (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/libese/ready_se/google/keymint/KM200/Applet/AndroidSEProvider/src/com/android/javacard/keymaster/
H A DKMAndroidSEApplet.java305 tmpVariables[0] = KMArray.instance((short) 1); in authenticateOEM()
306 KMArray.cast(tmpVariables[0]).add((short) 0, KMByteBlob.exp()); in authenticateOEM()
307 short args = receiveIncoming(apdu, tmpVariables[0]); in authenticateOEM()
339 tmpVariables[0] = KMArray.cast(args).get((short) 1); in processProvisionOEMRootPublicKeyCmd()
341 byte keyFormat = KMEnum.cast(tmpVariables[0]).getVal(); in processProvisionOEMRootPublicKeyCmd()
347 tmpVariables[0] = KMEnumTag.getValue(KMType.ALGORITHM, data[KEY_PARAMETERS]); in processProvisionOEMRootPublicKeyCmd()
348 if (tmpVariables[0] != KMType.EC) { in processProvisionOEMRootPublicKeyCmd()
352 tmpVariables[0] = in processProvisionOEMRootPublicKeyCmd()
354 if (tmpVariables[0] != KMType.INVALID_VALUE) { in processProvisionOEMRootPublicKeyCmd()
355 if (KMEnumArrayTag.cast(tmpVariables[0]).length() != 1) { in processProvisionOEMRootPublicKeyCmd()
[all …]
/aosp_15_r20/external/libese/ready_se/google/keymint/KM300/Applet/AndroidSEProvider/src/com/android/javacard/keymaster/
H A DKMAndroidSEApplet.java305 tmpVariables[0] = KMArray.instance((short) 1); in authenticateOEM()
306 KMArray.cast(tmpVariables[0]).add((short) 0, KMByteBlob.exp()); in authenticateOEM()
307 short args = receiveIncoming(apdu, tmpVariables[0]); in authenticateOEM()
339 tmpVariables[0] = KMArray.cast(args).get((short) 1); in processProvisionOEMRootPublicKeyCmd()
341 byte keyFormat = KMEnum.cast(tmpVariables[0]).getVal(); in processProvisionOEMRootPublicKeyCmd()
347 tmpVariables[0] = KMEnumTag.getValue(KMType.ALGORITHM, data[KEY_PARAMETERS]); in processProvisionOEMRootPublicKeyCmd()
348 if (tmpVariables[0] != KMType.EC) { in processProvisionOEMRootPublicKeyCmd()
352 tmpVariables[0] = in processProvisionOEMRootPublicKeyCmd()
354 if (tmpVariables[0] != KMType.INVALID_VALUE) { in processProvisionOEMRootPublicKeyCmd()
355 if (KMEnumArrayTag.cast(tmpVariables[0]).length() != 1) { in processProvisionOEMRootPublicKeyCmd()
[all …]
/aosp_15_r20/external/libese/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/
H A DKMKeymasterApplet.java327 protected static short[] tmpVariables; field in KMKeymasterApplet
348 tmpVariables = in KMKeymasterApplet()
496 short[] lengths = tmpVariables; in generateRSAKey()
571 short[] lengths = tmpVariables; in generateECKeys()
1439 .isDataValid(tmpVariables, KMCose.COSE_ALG_HMAC_256, KMType.INVALID_VALUE)) { in processSendRootOfTrust()
1646 while (index < tmpVariables.length) { in resetTransientBuffers()
1647 tmpVariables[index] = KMType.INVALID_VALUE; in resetTransientBuffers()
2865 tmpVariables[0] = op.getAuthTime(); in authorizeUpdateFinishOperation()
2866 tmpVariables[2] = KMVerificationToken.cast(data[VERIFICATION_TOKEN]).getTimestamp(); in authorizeUpdateFinishOperation()
2867 if (tmpVariables[2] == KMType.INVALID_VALUE) { in authorizeUpdateFinishOperation()
[all …]
/aosp_15_r20/external/libese/ready_se/google/keymint/KM200/Applet/src/com/android/javacard/keymaster/
H A DKMKeymasterApplet.java324 protected static short[] tmpVariables; field in KMKeymasterApplet
345 tmpVariables = in KMKeymasterApplet()
491 short[] lengths = tmpVariables; in generateRSAKey()
566 short[] lengths = tmpVariables; in generateECKeys()
1553 .isDataValid(tmpVariables, KMCose.COSE_ALG_HMAC_256, KMType.INVALID_VALUE)) { in processSendRootOfTrust()
1760 while (index < tmpVariables.length) { in resetTransientBuffers()
1761 tmpVariables[index] = KMType.INVALID_VALUE; in resetTransientBuffers()
2962 tmpVariables[0] = op.getAuthTime(); in authorizeUpdateFinishOperation()
2963 tmpVariables[2] = KMVerificationToken.cast(data[VERIFICATION_TOKEN]).getTimestamp(); in authorizeUpdateFinishOperation()
2964 if (tmpVariables[2] == KMType.INVALID_VALUE) { in authorizeUpdateFinishOperation()
[all …]