Searched refs:keymasterArgs (Results 1 – 10 of 10) 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 | 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 | AndroidKeyStore3DESCipherSpi.java | 251 protected void addAlgorithmSpecificParametersToBegin(KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() argument 259 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, KeymasterDefs.KM_ALGORITHM_3DES); in addAlgorithmSpecificParametersToBegin() 260 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_BLOCK_MODE, mKeymasterBlockMode); in addAlgorithmSpecificParametersToBegin() 261 keymasterArgs.addEnum(KeymasterDefs.KM_TAG_PADDING, mKeymasterPadding); in addAlgorithmSpecificParametersToBegin() 263 keymasterArgs.addBytes(KeymasterDefs.KM_TAG_NONCE, mIv); in addAlgorithmSpecificParametersToBegin() 269 KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult() argument 273 byte[] returnedIv = keymasterArgs.getBytes(KeymasterDefs.KM_TAG_NONCE, null); in loadAlgorithmSpecificParametersFromBeginResult()
|
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 | 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 | 639 private void addAlgorithmSpecificParameters(KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParameters() argument 642 keymasterArgs.addUnsignedLong( in addAlgorithmSpecificParameters()
|