length must be less than or equal to `255 * algorithm.digest_size // 8` (see definition of ``L`` here http://tools.ietf.org/html/rfc5869)