The noun is derived from Middle English sward (“rind; skin; calloused skin; leather strap; sod, turf”) [and other forms], from Old English sweard, swearð (“rind; skin”), from Proto-Germanic *swarduz (“rind; tough skin; turf”); further etymology unknown.
The verb is derived from the noun.