uboot_api: add key support