#include "internal.h"#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <limits>#include <gtest/gtest.h>#include <openssl/mem.h>#include <openssl/rand.h>
Go to the source code of this file.
Functions | |
| static uint8_t | FromBool8 (bool b) |
| static crypto_word_t | FromBoolW (bool b) |
| TEST (ConstantTimeTest, MemCmp) | |
| TEST (ConstantTimeTest, Test) | |
| TEST (ConstantTimeTest, ValueBarrier) | |
Variables | |
| static int | signed_test_values [] |
| static const uint8_t | test_values_8 [] = {0, 1, 2, 20, 32, 127, 128, 129, 255} |
| static crypto_word_t | test_values_w [] |
Definition at line 60 of file constant_time_test.cc.
|
static |
Definition at line 64 of file constant_time_test.cc.
| TEST | ( | ConstantTimeTest | , |
| MemCmp | |||
| ) |
Definition at line 141 of file constant_time_test.cc.
| TEST | ( | ConstantTimeTest | , |
| Test | |||
| ) |
Definition at line 94 of file constant_time_test.cc.
| TEST | ( | ConstantTimeTest | , |
| ValueBarrier | |||
| ) |
Definition at line 157 of file constant_time_test.cc.
|
static |
Definition at line 90 of file constant_time_test.cc.
Definition at line 68 of file constant_time_test.cc.
|
static |
Definition at line 70 of file constant_time_test.cc.