SECURE BOOT: separate function created for signature