Cryptography Reference
In-Depth Information
switch (n)
{
case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
n -= (USHORT)('a' -- 10);
break;
default:
n -= (USHORT)'0';
}
if (n >= base)
{
error = E_CLINT_BOR;
break;
}
if ((error = umul_l (n_l, base, n_l)) != E_CLINT_OK)
{
break;
}
if ((error = uadd_l (n_l, n, n_l)) != E_CLINT_OK)
{
break;
}
}
++str;
}
return error;
}
The function xclint2str_l() , complementary to str2clint_l() , returns
a pointer to an internal buffer of storage class static (cf. [Harb], Section 4.3),
which contains the calculated numerical representation and its value until
xclint2str_l() is called again or the program is ended.
Search WWH ::




Custom Search