|
Ordo
0.3.4
Symmetric Cryptography Library
|
Utility. More...

Go to the source code of this file.
Functions | |
| ORDO_PUBLIC int | ctcmp (const void *x, const void *y, size_t len) |
Utility.
This header contains utility functions, which are of use to developers who will use the library, for instance, constant-time comparisons, and so on.
| ORDO_PUBLIC int ctcmp | ( | const void * | x, |
| const void * | y, | ||
| size_t | len | ||
| ) |
Performs a constant-time comparison between two buffers.
| [in] | x | The 1st buffer. |
| [in] | y | The 2nd buffer. |
| [in] | len | Length in bytes. |
0 otherwise.
1.8.6