crypto: fix build error, define new vars

Change-Id: If5ee9b737a6a55cb67e17c03b1036158575aec61
Signed-off-by: zwliew <zhaoweiliew@gmail.com>