Functions
hmac.c File Reference
#include <openssl/hmac.h>
#include <assert.h>
#include <string.h>
#include <openssl/digest.h>
#include <openssl/mem.h>
#include "../../internal.h"
Include dependency graph for hmac.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_tHMAC (const EVP_MD *evp_md, const void *key, size_t key_len, const uint8_t *data, size_t data_len, uint8_t *out, unsigned int *out_len)
 
void HMAC_CTX_cleanup (HMAC_CTX *ctx)
 
int HMAC_CTX_copy (HMAC_CTX *dest, const HMAC_CTX *src)
 
int HMAC_CTX_copy_ex (HMAC_CTX *dest, const HMAC_CTX *src)
 
void HMAC_CTX_free (HMAC_CTX *ctx)
 
void HMAC_CTX_init (HMAC_CTX *ctx)
 
HMAC_CTXHMAC_CTX_new (void)
 
void HMAC_CTX_reset (HMAC_CTX *ctx)
 
int HMAC_Final (HMAC_CTX *ctx, uint8_t *out, unsigned int *out_len)
 
int HMAC_Init (HMAC_CTX *ctx, const void *key, int key_len, const EVP_MD *md)
 
int HMAC_Init_ex (HMAC_CTX *ctx, const void *key, size_t key_len, const EVP_MD *md, ENGINE *impl)
 
size_t HMAC_size (const HMAC_CTX *ctx)
 
int HMAC_Update (HMAC_CTX *ctx, const uint8_t *data, size_t data_len)
 

Function Documentation

◆ HMAC()

uint8_t* HMAC ( const EVP_MD evp_md,
const void *  key,
size_t  key_len,
const uint8_t data,
size_t  data_len,
uint8_t out,
unsigned int out_len 
)

Definition at line 68 of file hmac.c.

◆ HMAC_CTX_cleanup()

void HMAC_CTX_cleanup ( HMAC_CTX ctx)

Definition at line 98 of file hmac.c.

◆ HMAC_CTX_copy()

int HMAC_CTX_copy ( HMAC_CTX dest,
const HMAC_CTX src 
)

Definition at line 225 of file hmac.c.

◆ HMAC_CTX_copy_ex()

int HMAC_CTX_copy_ex ( HMAC_CTX dest,
const HMAC_CTX src 
)

Definition at line 202 of file hmac.c.

◆ HMAC_CTX_free()

void HMAC_CTX_free ( HMAC_CTX ctx)

Definition at line 105 of file hmac.c.

◆ HMAC_CTX_init()

void HMAC_CTX_init ( HMAC_CTX ctx)

Definition at line 83 of file hmac.c.

◆ HMAC_CTX_new()

HMAC_CTX* HMAC_CTX_new ( void  )

Definition at line 90 of file hmac.c.

◆ HMAC_CTX_reset()

void HMAC_CTX_reset ( HMAC_CTX ctx)

Definition at line 213 of file hmac.c.

◆ HMAC_Final()

int HMAC_Final ( HMAC_CTX ctx,
uint8_t out,
unsigned int out_len 
)

Definition at line 181 of file hmac.c.

◆ HMAC_Init()

int HMAC_Init ( HMAC_CTX ctx,
const void *  key,
int  key_len,
const EVP_MD md 
)

Definition at line 218 of file hmac.c.

◆ HMAC_Init_ex()

int HMAC_Init_ex ( HMAC_CTX ctx,
const void *  key,
size_t  key_len,
const EVP_MD md,
ENGINE impl 
)

Definition at line 114 of file hmac.c.

◆ HMAC_size()

size_t HMAC_size ( const HMAC_CTX ctx)

Definition at line 198 of file hmac.c.

◆ HMAC_Update()

int HMAC_Update ( HMAC_CTX ctx,
const uint8_t data,
size_t  data_len 
)

Definition at line 177 of file hmac.c.



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