diff --git a/lib/Kconfig b/lib/Kconfig
index 0454a86a02511625eb0a8b4d41ce5a1e42baf0f4..5b6cf3d68df15f7e70d7ae0c5eb9b86d633316d4 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -82,4 +82,12 @@ config SHA_PROG_HW_ACCEL
 	  is performed in hardware.
 endmenu
 
+config ERRNO_STR
+	bool "Enable function for getting errno-related string message"
+	help
+	  The function errno_str(int errno), returns a pointer to the errno
+	  corresponding text message:
+	  - if errno is null or positive number - a pointer to "Success" message
+	  - if errno is negative - a pointer to errno related message
+
 endmenu