[PATCH openEuler-5.10-LTS 152/162] random: make consistent use of buf and len