HP-UX AAA Server A.08.02.10 Administrator's Guide HP-UX 11i v3 (T1428-90093, November 2013)

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.
10. To implement the sample f5() algorithm, modify the following code in the f5impl function:
unsigned int idx;
for ( idx = 0; idx < 6; ++idx )
{
ak[idx] = 0;
}
return SDK_SUCCESS;
On success, the f5() algorithm returns sdk_success. Otherwise, it returns sdk_failure.
11. To implement the sample f5x() algorithm, modify the following code in the f5ximpl function:
unsigned int idx;
for ( idx = 0; idx < 6; ++idx )
{
ak[idx] = 0;
}
return SDK_SUCCESS;
On success, the f5x() algorithm returns sdk_success. Otherwise, it returns sdk_failure.
Creating Plug-ins for AATVs 339