Call TA to get the max chunk size
[platform/core/security/key-manager.git] / src / manager / crypto / tz-backend / internals.cpp
index 5a19cba..efad483 100644 (file)
@@ -844,6 +844,10 @@ void deriveKBKDF(const RawBuffer &secretId,
                                                                                          keyHash);
 }
 
+size_t maxChunkSize()
+{
+       return TrustZoneContext::Instance().getMaxChunkSize();
+}
 
 } // namespace Internals
 } // namespace TZ