Leancrypto 0.12.0
Post-Quantum Cryptographic Library
|
#include "ext_headers.h"
Go to the source code of this file.
Functions | |
int | lc_memcmp_secure (const void *s1, size_t s1n, const void *s2, size_t s2n) |
Constant-time memcmp implementation. | |
int lc_memcmp_secure | ( | const void * | s1, |
size_t | s1n, | ||
const void * | s2, | ||
size_t | s2n ) |
Constant-time memcmp implementation.
s1 | First string |
s1n | Size of first string |
s2 | Second string |
s2n | Size of second string |