The Crypto provider providing the SHA1PRNG algorithm for random number generation was deprecated. This algorithm was sometimes incorrectly used to derive keys. This example provides a helper class and shows how to treat data that was encrypted in the incorrect way and re-encrypt it in a proper way. Bug: 27873296 Change-Id: I92d2fd4ebb07d5823de31f5a199e23b1dba4836e
17 lines
327 B
Makefile
17 lines
327 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
|
|
|
LOCAL_PACKAGE_NAME := BrokenKeyDerivationTests
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
LOCAL_INSTRUMENTATION_FOR := BrokenKeyDerivation
|
|
|
|
LOCAL_SDK_VERSION := current
|
|
|
|
include $(BUILD_PACKAGE)
|