aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2021-11-06 02:36:30 +0000
committerYawning Angel <yawning@schwanenlied.me>2021-11-17 13:59:53 +0000
commitd1e76ee4f299fa2a47306c3dc8a4929abfdd4886 (patch)
tree7a55165b94a94147a6fe5ff0ccd7847131e4f6cd /src/main.cpp
parent9be0d18e5df63895e66782bb07484ee242e7028c (diff)
core/crypto: Add constant-time memory comparison routines
Using a constant-time comparison is required when comparing things like MACs, password digests, and etc to avoid exposing sensitive data via trivial timing attacks. These routines could also live under core:mem, but they are somewhat specialized, and are likely only useful for cryptographic applications.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions