From 62de957185d71feb9c4d09f4eddcdac1980632fb Mon Sep 17 00:00:00 2001 From: "Kalavakolanu, Hema Anmisha" Date: Thu, 26 Dec 2024 13:57:45 +0530 Subject: CryptoPkg: Add sleep() function to BaseCryptLibMbedTls In BaseCryptLib sleep() function is defined, apply the same sleep function to BaseCryptLibMbedTls Signed-off-by: "Kalavakolanu, Hema Anmisha" --- .../Library/BaseCryptLibMbedTls/SysCall/ConstantTimeClock.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/SysCall/ConstantTimeClock.c b/CryptoPkg/Library/BaseCryptLibMbedTls/SysCall/ConstantTimeClock.c index e6e0f1ec2d..a4a873271f 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/SysCall/ConstantTimeClock.c +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/SysCall/ConstantTimeClock.c @@ -47,6 +47,15 @@ gmtime ( return NULL; } +/**sleep function. **/ +unsigned int +sleep ( + unsigned int seconds + ) +{ + return 0; +} + /**_time64 function. **/ time_t _time64 ( -- cgit