Classes | Functions | Variables
hkdf_test.cc File Reference
#include <openssl/digest.h>
#include <openssl/err.h>
#include <openssl/hkdf.h>
#include <gtest/gtest.h>
#include "../test/file_test.h"
#include "../test/test_util.h"
#include "../test/wycheproof_util.h"
Include dependency graph for hkdf_test.cc:

Go to the source code of this file.

Classes

struct  HKDFTestVector
 

Functions

static void RunWycheproofTest (const char *path, const EVP_MD *md)
 
 TEST (HKDFTest, TestVectors)
 
 TEST (HKDFTest, WycheproofSHA1)
 
 TEST (HKDFTest, WycheproofSHA256)
 
 TEST (HKDFTest, WycheproofSHA384)
 
 TEST (HKDFTest, WycheproofSHA512)
 

Variables

static const HKDFTestVector kTests []
 

Function Documentation

◆ RunWycheproofTest()

static void RunWycheproofTest ( const char *  path,
const EVP_MD md 
)
static

Definition at line 272 of file hkdf_test.cc.

◆ TEST() [1/5]

TEST ( HKDFTest  ,
TestVectors   
)

Definition at line 249 of file hkdf_test.cc.

◆ TEST() [2/5]

TEST ( HKDFTest  ,
WycheproofSHA1   
)

Definition at line 296 of file hkdf_test.cc.

◆ TEST() [3/5]

TEST ( HKDFTest  ,
WycheproofSHA256   
)

Definition at line 301 of file hkdf_test.cc.

◆ TEST() [4/5]

TEST ( HKDFTest  ,
WycheproofSHA384   
)

Definition at line 306 of file hkdf_test.cc.

◆ TEST() [5/5]

TEST ( HKDFTest  ,
WycheproofSHA512   
)

Definition at line 311 of file hkdf_test.cc.

Variable Documentation

◆ kTests

const HKDFTestVector kTests[]
static

Definition at line 41 of file hkdf_test.cc.



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