equal
deleted
inserted
replaced
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 |