Enums

CPU runtime detection flags

Represents return values from functions.

Constants

Functions

Checks if the CPU supports a given extension

Internal implementation of C11 aligned_alloc to work around compiler quirks.

Free memory allocated with OQS_MEM_aligned_alloc.

Zeros out len bytes of memory starting at ptr.

Constant time comparison of byte sequences a and b of length len. Returns 0 if the byte sequences are equal or if len=0. Returns 1 otherwise.

Zeros out len bytes of memory starting at ptr, then frees ptr.

This currently only sets the values in the OQS_CPU_EXTENSIONS, and so has effect only when OQS_DIST_BUILD is set.

Return library version string.