This section describes the function hu_ECSPEKEKeyGen(), which is an implementation of the EC-SPEKE algorithm.