Check to see if the key_len member was already set from a previous key,
and use that value for the required length if one is not set