fill_rand
fill_rand(data->rnd, data->static_secret_data, len);
fill_rand(rnd, buf, datalen);
fill_rand(rnd, dest, destlen);