Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DKeyStoreCryptoOperationChunkedStreamer.java128 OperationResult opResult = mKeyStoreStream.update(chunk); in update() local
129 if (opResult == null) { in update()
131 } else if (opResult.resultCode != KeyStore.NO_ERROR) { in update()
132 throw KeyStore.getKeyStoreException(opResult.resultCode); in update()
135 if (opResult.inputConsumed == chunk.length) { in update()
140 } else if (opResult.inputConsumed <= 0) { in update()
153 } else if (opResult.inputConsumed < chunk.length) { in update()
156 mBufferedOffset = opResult.inputConsumed; in update()
157 mBufferedLength = chunk.length - opResult.inputConsumed; in update()
161 + ", consumed: " + opResult.inputConsumed); in update()
[all …]
DAndroidKeyStoreHmacSpi.java166 OperationResult opResult = mKeyStore.begin( in ensureKeystoreOperationInitialized() local
174 if (opResult == null) { in ensureKeystoreOperationInitialized()
180 mOperationToken = opResult.token; in ensureKeystoreOperationInitialized()
181 mOperationHandle = opResult.operationHandle; in ensureKeystoreOperationInitialized()
185 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized()
DAndroidKeyStoreSignatureSpiBase.java202 OperationResult opResult = mKeyStore.begin( in ensureKeystoreOperationInitialized() local
209 if (opResult == null) { in ensureKeystoreOperationInitialized()
215 mOperationToken = opResult.token; in ensureKeystoreOperationInitialized()
216 mOperationHandle = opResult.operationHandle; in ensureKeystoreOperationInitialized()
220 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized()
232 mMessageStreamer = createMainDataStreamer(mKeyStore, opResult.token); in ensureKeystoreOperationInitialized()
DAndroidKeyStoreCipherSpiBase.java248 OperationResult opResult = mKeyStore.begin( in ensureKeystoreOperationInitialized() local
255 if (opResult == null) { in ensureKeystoreOperationInitialized()
261 mOperationToken = opResult.token; in ensureKeystoreOperationInitialized()
262 mOperationHandle = opResult.operationHandle; in ensureKeystoreOperationInitialized()
266 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized()
284 loadAlgorithmSpecificParametersFromBeginResult(opResult.outParams); in ensureKeystoreOperationInitialized()
285 mMainDataStreamer = createMainDataStreamer(mKeyStore, opResult.token); in ensureKeystoreOperationInitialized()
287 createAdditionalAuthenticationDataStreamer(mKeyStore, opResult.token); in ensureKeystoreOperationInitialized()