[PATCH openEuler-5.10 391/582] net: macsec: fix the length used to copy the key for offloading