Page MenuHomeFreeBSD

lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp
AbandonedPublic

Authored by fuz on Aug 30 2023, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 4:20 AM
Unknown Object (File)
Dec 27 2024, 11:57 AM
Unknown Object (File)
Oct 16 2024, 6:55 PM
Unknown Object (File)
Sep 21 2024, 11:31 AM
Unknown Object (File)
Sep 17 2024, 7:48 PM
Unknown Object (File)
Sep 9 2024, 12:57 AM
Unknown Object (File)
Sep 8 2024, 11:25 PM
Unknown Object (File)
Sep 8 2024, 10:19 AM
Subscribers

Details

Reviewers
None
Summary

The four functions more or less perform the same operation.
Reuse the same unit test with slight changes so we can cover
them all. Constant-time operation is not verified for the
timingsafe_* functions.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 53359
Build 50250: arc lint + arc unit