AArch64 & ARM: refactor crypto intrinsics to take scalars