CryptoPkg/TlsLib: use binary search in the TlsGetCipherMapping() function
CryptoPkg/TlsLib: use binary search in the TlsGetCipherMapping() function

Improve the performance of the TlsGetCipherMapping() function by adopting
the binary search from DhcpFindOptionFormat()
[MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Option.c].

Cc: Jiaxin Wu <91f509c31e98a6df13950454fe51aea543223eaa@intel.com>
Cc: Qin Long <39a52309c812a080396e90c26873d3f69837761a@intel.com>
Cc: Siyuan Fu <eef549df2036636f79f66102b4e2dc444721df8f@intel.com>
Cc: Ting Ye <fe1f30c12225d8cd094a72a37b5acbb01ee15159@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=915
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <7437296077edea1cb64451c122c4dac071f0cfbc@redhat.com>
Reviewed-by: Long Qin <39a52309c812a080396e90c26873d3f69837761a@intel.com>
Reviewed-by: Jiaxin Wu <91f509c31e98a6df13950454fe51aea543223eaa@intel.com>

MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2