Functions
hrss_test.cc File Reference
#include <gtest/gtest.h>
#include <openssl/cpu.h>
#include <openssl/hrss.h>
#include <openssl/rand.h>
#include "../test/abi_test.h"
#include "../test/test_util.h"
#include "internal.h"
Include dependency graph for hrss_test.cc:

Go to the source code of this file.

Functions

static void poly3_rand (poly3 *p)
 
static void poly3_word_add (crypto_word_t *s1, crypto_word_t *a1, const crypto_word_t s2, const crypto_word_t a2)
 
 TEST (HRSS, Basic)
 
 TEST (HRSS, Golden)
 
 TEST (HRSS, Poly3Invert)
 
 TEST (HRSS, Poly3UnreducedInput)
 
 TEST (HRSS, Random)
 

Function Documentation

◆ poly3_rand()

static void poly3_rand ( poly3 p)
static

Definition at line 27 of file hrss_test.cc.

◆ poly3_word_add()

static void poly3_word_add ( crypto_word_t *  s1,
crypto_word_t *  a1,
const crypto_word_t  s2,
const crypto_word_t  a2 
)
static

Definition at line 38 of file hrss_test.cc.

◆ TEST() [1/5]

TEST ( HRSS  ,
Basic   
)

Definition at line 138 of file hrss_test.cc.

◆ TEST() [2/5]

TEST ( HRSS  ,
Golden   
)

Definition at line 204 of file hrss_test.cc.

◆ TEST() [3/5]

TEST ( HRSS  ,
Poly3Invert   
)

Definition at line 45 of file hrss_test.cc.

◆ TEST() [4/5]

TEST ( HRSS  ,
Poly3UnreducedInput   
)

Definition at line 96 of file hrss_test.cc.

◆ TEST() [5/5]

TEST ( HRSS  ,
Random   
)

Definition at line 168 of file hrss_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:19