Home
last modified time | relevance | path

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

/packages/apps/SecureElement/src/com/android/se/security/arf/
DDERParser.java49 private short mDERSize, mDERIndex, mTLVDataSize = 0; field in DERParser
53 mDERIndex = 0; in DERParser()
61 if (mDERBuffer[mDERIndex] == ASN1.TAG_Padding) { in DERParser()
63 while (++mDERIndex < mDERSize) { in DERParser()
64 if (mDERBuffer[mDERIndex] != ASN1.TAG_Padding) { in DERParser()
80 value = (value << 7) + (mDERBuffer[mDERIndex] & 0x7F); in readIntBase128()
81 } while ((mDERBuffer[mDERIndex++] & 0x80) != 0); in readIntBase128()
95 if ((TLVSize = (mDERBuffer[mDERIndex++] & 0xff)) >= 128) { in getTLVSize()
99 TLVSize = (TLVSize << 8) + (mDERBuffer[mDERIndex++] & 0xff); in getTLVSize()
107 if ((mDERIndex + TLVSize) > mDERSize) throw new PKCS15Exception("[Parser] Not enough data"); in getTLVSize()
[all …]