Fix compilation issue with crypto set key feature. Change-Id: I82d8220a9fea1f9e48338baa74307c124c98e784 CRs-Fixed: 2381329