Functions
cavp_keywrap_test.cc File Reference
#include <stdlib.h>
#include <openssl/aes.h>
#include <openssl/crypto.h>
#include "../crypto/test/file_test.h"
#include "../crypto/test/test_util.h"
#include "cavp_test_util.h"
Include dependency graph for cavp_keywrap_test.cc:

Go to the source code of this file.

Functions

static bool AESKeyWrap (std::vector< uint8_t > *out, bool encrypt, const std::vector< uint8_t > &key, const std::vector< uint8_t > &in)
 
static bool AESKeyWrapWithPadding (std::vector< uint8_t > *out, bool encrypt, const std::vector< uint8_t > &key, const std::vector< uint8_t > &in)
 
int cavp_keywrap_test_main (int argc, char **argv)
 
static bool TestCipher (FileTest *t, void *arg)
 
static int usage (char *arg)
 

Function Documentation

◆ AESKeyWrap()

static bool AESKeyWrap ( std::vector< uint8_t > *  out,
bool  encrypt,
const std::vector< uint8_t > &  key,
const std::vector< uint8_t > &  in 
)
static

Definition at line 37 of file cavp_keywrap_test.cc.

◆ AESKeyWrapWithPadding()

static bool AESKeyWrapWithPadding ( std::vector< uint8_t > *  out,
bool  encrypt,
const std::vector< uint8_t > &  key,
const std::vector< uint8_t > &  in 
)
static

Definition at line 65 of file cavp_keywrap_test.cc.

◆ cavp_keywrap_test_main()

int cavp_keywrap_test_main ( int  argc,
char **  argv 
)

Definition at line 137 of file cavp_keywrap_test.cc.

◆ TestCipher()

static bool TestCipher ( FileTest t,
void *  arg 
)
static

Definition at line 95 of file cavp_keywrap_test.cc.

◆ usage()

static int usage ( char *  arg)
static

Definition at line 129 of file cavp_keywrap_test.cc.



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