dsp: bios_table: Rename pldm_bios_table_string_entry_encode_check()

Introduce pldm_bios_table_string_entry_encode(), deprecate
pldm_bios_table_string_entry_encode_check(), add the rename
configuration and apply it.

Change-Id: I3a75320fde4be6bf913b3eb9b56ccacc11abf511
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/tests/dsp/bios_table.cpp b/tests/dsp/bios_table.cpp
index cee4a86..e057d90 100644
--- a/tests/dsp/bios_table.cpp
+++ b/tests/dsp/bios_table.cpp
@@ -996,7 +996,7 @@
     EXPECT_EQ(encodeLength, stringEntry.size());
 
     std::vector<uint8_t> encodeEntry(encodeLength, 0);
-    ASSERT_EQ(pldm_bios_table_string_entry_encode_check(
+    ASSERT_EQ(pldm_bios_table_string_entry_encode(
                   encodeEntry.data(), encodeEntry.size(), str, str_length),
               PLDM_SUCCESS);
     // set string handle = 0
@@ -1005,10 +1005,10 @@
 
     EXPECT_EQ(stringEntry, encodeEntry);
 
-    EXPECT_NE(pldm_bios_table_string_entry_encode_check(
+    EXPECT_NE(pldm_bios_table_string_entry_encode(
                   encodeEntry.data(), encodeEntry.size() - 1, str, str_length),
               PLDM_SUCCESS);
-    auto rc = pldm_bios_table_string_entry_encode_check(
+    auto rc = pldm_bios_table_string_entry_encode(
         encodeEntry.data(), encodeEntry.size() - 1, str, str_length);
     EXPECT_EQ(rc, PLDM_ERROR_INVALID_LENGTH);
 }