summaryrefslogtreecommitdiff
path: root/crypto/arc4.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-01-16 15:58:41 +0100
committerArnd Bergmann <arnd@arndb.de>2021-07-23 14:40:01 +0200
commitc52801a774cefed7ffeafd1141468276b6c85c3a (patch)
treefcbfcc457e2c61a567df29cdf3b25ce7bd4093e4 /crypto/arc4.c
parent2820cfdc08178c55efa1c0fa402f082ef09bfe70 (diff)
arc: use generic strncpy/strnlen from_user
Remove the arc implemenation of strncpy/strnlen and instead use the generic versions. The arc version is fairly slow because it always does byte accesses even for aligned data, and its checks for user_addr_max() differ from the generic code. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions