Searched refs:blockMode (Results 1 – 7 of 7) sorted by relevance
373 public static int toKeymaster(@NonNull @BlockModeEnum String blockMode) { in toKeymaster() argument374 if (BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in toKeymaster()376 } else if (BLOCK_MODE_CBC.equalsIgnoreCase(blockMode)) { in toKeymaster()378 } else if (BLOCK_MODE_CTR.equalsIgnoreCase(blockMode)) { in toKeymaster()380 } else if (BLOCK_MODE_GCM.equalsIgnoreCase(blockMode)) { in toKeymaster()383 throw new IllegalArgumentException("Unsupported block mode: " + blockMode); in toKeymaster()388 public static @BlockModeEnum String fromKeymaster(int blockMode) { in fromKeymaster() argument389 switch (blockMode) { in fromKeymaster()399 throw new IllegalArgumentException("Unsupported block mode: " + blockMode); in fromKeymaster()411 for (int blockMode : blockModes) { in allFromKeymaster()[all …]
302 ArrayUtils.forEach(mKeymasterBlockModes, (blockMode) -> { in engineGenerateKey()303 if (blockMode == KeymasterDefs.KM_MODE_GCM in engineGenerateKey()312 KeymasterDefs.KM_TAG_BLOCK_MODE, blockMode in engineGenerateKey()
485 for (String blockMode : spec.getBlockModes()) { in setPrivateKeyEntry()488 KeyProperties.BlockMode.toKeymaster(blockMode) in setPrivateKeyEntry()727 for (String blockMode : params.getBlockModes()) { in setSecretKeyEntry()728 int keymasterBlockMode = KeyProperties.BlockMode.toKeymaster(blockMode); in setSecretKeyEntry()734 + " block mode: " + blockMode in setSecretKeyEntry()
78 kp.value = KeyParameterValue.blockMode(v); in makeEnum()
756 ArrayUtils.forEach(mKeymasterBlockModes, (blockMode) -> { in constructKeyGenerationArguments()758 KeymasterDefs.KM_TAG_BLOCK_MODE, blockMode in constructKeyGenerationArguments()
8638 HSPLandroid/hardware/security/keymint/KeyParameterValue;->blockMode(I)Landroid/hardware/security/ke…
8633 HSPLandroid/hardware/security/keymint/KeyParameterValue;->blockMode(I)Landroid/hardware/security/ke…