HP-UX AAA Server A.08.00.01 Administrator's Guide
On success, the f1() algorithm returns sdk_success. Otherwise, it returns
sdk_failure.
6. To implement the sample f1x() algorithm, modify the following code in the
f1ximpl function:
unsigned int idx;
for ( idx = 0; idx < 8; ++idx )
{
maca[idx] = 0;
}
return SDK_SUCCESS;
On success, the f1x() algorithm returns sdk_success. Otherwise, it returns
sdk_failure.
7. To implement the sample f2() algorithm, modify the following code in the f2impl
function:
unsigned int idx;
for ( idx = 0; idx < 8; ++idx )
{
res[idx] = 0;
}
return SDK_SUCCESS;
On success, the f2() algorithm returns sdk_success. Otherwise, it returns
sdk_failure.
8. To implement the sample f3() algorithm, modify the following code in the f3impl
function:
unsigned int idx;
for ( idx = 0; idx < 16; ++idx )
{
ik[idx] = 0;
}
return SDK_SUCCESS;
On success, the f3() algorithm returns sdk_success. Otherwise, it returns
sdk_failure.
9. To implement the sample f4() algorithm, modify the following code in the f4impl
function:
unsigned int idx;
for ( idx = 0; idx < 16; ++idx )
{
ck[idx] = 0;
}
return 0;
On success, the f4() algorithm returns sdk_success. Otherwise, it returns
sdk_failure.
450 Customizing the HP-UX AAA Server Using the SDK