Mark use_aesni as static
Add prototype for use_aesni and explicitly mark input as void