Crypto keys and digests are not expected to be big, so using a uint16_t to store their lengths should be enough. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>