eapol/eapol_framework/eapol_symbian/am/common/DSS_random/dss_random_symbian.cpp
branchCompilerCompatibility
changeset 14 3f122ca50ab9
parent 2 1c7bc153c08e
equal deleted inserted replaced
13:5431fd16d0e9 14:3f122ca50ab9
   112  *  Step 3. For j = 0 to m - 1 do
   112  *  Step 3. For j = 0 to m - 1 do
   113  *              c. xj = G(t,XKEY).
   113  *              c. xj = G(t,XKEY).
   114  *              d. XKEY = (1 + XKEY + xj) mod 2^b.
   114  *              d. XKEY = (1 + XKEY + xj) mod 2^b.
   115  *  @endcode
   115  *  @endcode
   116 */
   116 */
   117 eap_status_e dss_pseudo_random(abs_eap_am_tools_c * const m_am_tools, u8_t *out, u32_t out_length, u8_t *xkey, u32_t xkey_length)
   117 EAP_FUNC_EXPORT eap_status_e dss_pseudo_random(abs_eap_am_tools_c * const m_am_tools, u8_t *out, u32_t out_length, u8_t *xkey, u32_t xkey_length)
   118 {
   118 {
   119 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
   119 	EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT);
   120 	eap_status_e status = eap_status_ok;
   120 	eap_status_e status = eap_status_ok;
   121 	__UHEAP_MARK;
   121 	__UHEAP_MARK;
   122 
   122