[NXCM-5039] Move crypto conditions from nexus-pro

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>