summaryrefslogtreecommitdiffstats
path: root/include/keymaster/android_keymaster_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/keymaster/android_keymaster_utils.h')
-rw-r--r--include/keymaster/android_keymaster_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/keymaster/android_keymaster_utils.h b/include/keymaster/android_keymaster_utils.h
index c190e04..17688a6 100644
--- a/include/keymaster/android_keymaster_utils.h
+++ b/include/keymaster/android_keymaster_utils.h
@@ -325,6 +325,9 @@ struct CertificateChainDelete {
}
};
+keymaster_error_t EcKeySizeToCurve(uint32_t key_size_bits, keymaster_ec_curve_t* curve);
+keymaster_error_t EcCurveToKeySize(keymaster_ec_curve_t curve, uint32_t* key_size_bits);
+
} // namespace keymaster
#endif // SYSTEM_KEYMASTER_ANDROID_KEYMASTER_UTILS_H_