ATTRPERALG
ATTRPERALG * sizeof (struct spd_attribute) * algcount;
(ATTRPERALG + alg->alg_nkey_sizes +