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, Sep 26, 1:22 AM
Unknown Object (File)
Tue, Sep 22, 6:28 PM
Unknown Object (File)
Aug 29 2026, 12:58 AM
Unknown Object (File)
Aug 28 2026, 10:57 PM
Unknown Object (File)
Aug 28 2026, 6:35 PM
Unknown Object (File)
Aug 28 2026, 5:07 AM
Unknown Object (File)
Aug 11 2026, 6:36 PM
Unknown Object (File)
Aug 11 2026, 2:25 PM
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