Searched refs:keymasterArgs (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 214 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() 215 super.addAlgorithmSpecificParametersToBegin(keymasterArgs); in addAlgorithmSpecificParametersToBegin() 216 keymasterArgs.addUnsignedInt(KeymasterDefs.KM_TAG_MAC_LENGTH, mTagLengthBits); in addAlgorithmSpecificParametersToBegin() 289 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() 297 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, KeymasterDefs.KM_ALGORITHM_AES); in addAlgorithmSpecificParametersToBegin() 298 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_BLOCK_MODE, mKeymasterBlockMode); in addAlgorithmSpecificParametersToBegin() 299 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_PADDING, mKeymasterPadding); in addAlgorithmSpecificParametersToBegin() 301 keymasterArgs.addBytes(KeymasterDefs.KM_TAG_NONCE, mIv); in addAlgorithmSpecificParametersToBegin() 307 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult() 311 byte[] returnedIv = keymasterArgs.getBytes(KeymasterDefs.KM_TAG_NONCE, null); in loadAlgorithmSpecificParametersFromBeginResult() [all …]
|
D | AndroidKeyStoreRSACipherSpi.java | 295 KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() argument 296 super.addAlgorithmSpecificParametersToBegin(keymasterArgs); in addAlgorithmSpecificParametersToBegin() 297 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_DIGEST, mKeymasterDigest); in addAlgorithmSpecificParametersToBegin() 302 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult() 303 super.loadAlgorithmSpecificParametersFromBeginResult(keymasterArgs); in loadAlgorithmSpecificParametersFromBeginResult() 460 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() 461 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, KeymasterDefs.KM_ALGORITHM_RSA); in addAlgorithmSpecificParametersToBegin() 466 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_PADDING, keymasterPadding); in addAlgorithmSpecificParametersToBegin() 472 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_DIGEST, KeymasterDefs.KM_DIGEST_NONE); in addAlgorithmSpecificParametersToBegin() 478 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
|
D | AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 241 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() 249 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, KeymasterDefs.KM_ALGORITHM_AES); in addAlgorithmSpecificParametersToBegin() 250 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_BLOCK_MODE, mKeymasterBlockMode); in addAlgorithmSpecificParametersToBegin() 251 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_PADDING, mKeymasterPadding); in addAlgorithmSpecificParametersToBegin() 253 keymasterArgs.addBytes(KeymasterDefs.KM_TAG_NONCE, mIv); in addAlgorithmSpecificParametersToBegin() 259 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult() 263 byte[] returnedIv = keymasterArgs.getBytes(KeymasterDefs.KM_TAG_NONCE, null); in loadAlgorithmSpecificParametersFromBeginResult()
|
D | AndroidKeyStoreRSASignatureSpi.java | 159 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() 160 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, KeymasterDefs.KM_ALGORITHM_RSA); in addAlgorithmSpecificParametersToBegin() 161 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_DIGEST, mKeymasterDigest); in addAlgorithmSpecificParametersToBegin() 162 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_PADDING, mKeymasterPadding); in addAlgorithmSpecificParametersToBegin()
|
D | AndroidKeyStoreHmacSpi.java | 161 KeymasterArguments keymasterArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized() local 162 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, KeymasterDefs.KM_ALGORITHM_HMAC); in ensureKeystoreOperationInitialized() 163 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_DIGEST, mKeymasterDigest); in ensureKeystoreOperationInitialized() 164 keymasterArgs.addUnsignedInt(KeymasterDefs.KM_TAG_MAC_LENGTH, mMacSizeBits); in ensureKeystoreOperationInitialized() 170 keymasterArgs, in ensureKeystoreOperationInitialized()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 186 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() 187 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, KeymasterDefs.KM_ALGORITHM_EC); in addAlgorithmSpecificParametersToBegin() 188 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_DIGEST, mKeymasterDigest); in addAlgorithmSpecificParametersToBegin()
|
D | AndroidKeyStoreCipherSpiBase.java | 905 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin() 919 @NonNull KeymasterArguments keymasterArgs); in loadAlgorithmSpecificParametersFromBeginResult()
|
D | AndroidKeyStoreSignatureSpiBase.java | 430 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 612 private void addAlgorithmSpecificParameters(KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParameters() argument 615 keymasterArgs.addUnsignedLong( in addAlgorithmSpecificParameters()
|