summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-20 22:38:29 +0100
committermaxwen <max.weninger@gmail.com>2014-12-21 23:30:17 +0100
commitd79d9bceb36cebbcb926e414155489c6ce8fb741 (patch)
tree34a692a812da666be2b2b6dbaace17ce084c48c7 /crypto
parentMTP add/remove storage instead of disabling MTP (diff)
downloadandroid_bootable_recovery-d79d9bceb36cebbcb926e414155489c6ce8fb741.tar
android_bootable_recovery-d79d9bceb36cebbcb926e414155489c6ce8fb741.tar.gz
android_bootable_recovery-d79d9bceb36cebbcb926e414155489c6ce8fb741.tar.bz2
android_bootable_recovery-d79d9bceb36cebbcb926e414155489c6ce8fb741.tar.lz
android_bootable_recovery-d79d9bceb36cebbcb926e414155489c6ce8fb741.tar.xz
android_bootable_recovery-d79d9bceb36cebbcb926e414155489c6ce8fb741.tar.zst
android_bootable_recovery-d79d9bceb36cebbcb926e414155489c6ce8fb741.zip
Diffstat (limited to 'crypto')
-rw-r--r--crypto/lollipop/cryptfs.c2
-rw-r--r--crypto/lollipop/cryptfs.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/crypto/lollipop/cryptfs.c b/crypto/lollipop/cryptfs.c
index c6586cc49..496b960ad 100644
--- a/crypto/lollipop/cryptfs.c
+++ b/crypto/lollipop/cryptfs.c
@@ -725,7 +725,7 @@ errout:
return retval;
}
-static int delete_crypto_blk_dev(char *name)
+int delete_crypto_blk_dev(char *name)
{
int fd;
char buffer[DM_CRYPT_BUF_SIZE];
diff --git a/crypto/lollipop/cryptfs.h b/crypto/lollipop/cryptfs.h
index 8cb8a7a32..bc8b463ee 100644
--- a/crypto/lollipop/cryptfs.h
+++ b/crypto/lollipop/cryptfs.h
@@ -213,6 +213,7 @@ extern "C" {
int cryptfs_check_passwd(char *pw);
int cryptfs_verify_passwd(char *newpw);
int cryptfs_get_password_type(void);
+ int delete_crypto_blk_dev(char *name);
#ifdef __cplusplus
}
#endif