[PATCH v5 3/5] unit: Check asymmetric cipher result lengths