s="paramname">Len</td><td>of the input string in bits and it should have even values </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS no errors occurred.</li>
</ul>
</dd></dl>
<ul>
<li>XST_FAILURE an error when input parameters are not valid</li>
<li>an error when input buffer has invalid values</li>
</ul>
<p>TDD Test Cases: &mdash;Initialization&mdash; Len is odd Len is zero Str is NULL Buf is NULL &mdash;Functionality&mdash; Str input with only number