[PATCH v3 4/5] unit: Check asymmetric cipher result lengths