HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
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.
Creating Plug-ins for AATVs 459