FreeRDP
libwinpr/crypto/hash.c File Reference
#include <winpr/crt.h>
#include <winpr/crypto.h>

Functions

WINPR_HMAC_CTXwinpr_HMAC_New (void)
 
BOOL winpr_HMAC_Init (WINPR_HMAC_CTX *ctx, WINPR_MD_TYPE md, const BYTE *key, size_t keylen)
 
BOOL winpr_HMAC_Update (WINPR_HMAC_CTX *ctx, const BYTE *input, size_t ilen)
 
BOOL winpr_HMAC_Final (WINPR_HMAC_CTX *ctx, BYTE *output, size_t olen)
 
void winpr_HMAC_Free (WINPR_HMAC_CTX *ctx)
 
BOOL winpr_HMAC (WINPR_MD_TYPE md, const BYTE *key, size_t keylen, const BYTE *input, size_t ilen, BYTE *output, size_t olen)
 
WINPR_DIGEST_CTXwinpr_Digest_New (void)
 
BOOL winpr_Digest_Init_Allow_FIPS (WINPR_DIGEST_CTX *ctx, WINPR_MD_TYPE md)
 
BOOL winpr_Digest_Init (WINPR_DIGEST_CTX *ctx, WINPR_MD_TYPE md)
 
BOOL winpr_Digest_Update (WINPR_DIGEST_CTX *ctx, const BYTE *input, size_t ilen)
 
BOOL winpr_Digest_Final (WINPR_DIGEST_CTX *ctx, BYTE *output, size_t olen)
 
void winpr_Digest_Free (WINPR_DIGEST_CTX *ctx)
 
BOOL winpr_Digest_Allow_FIPS (WINPR_MD_TYPE md, const BYTE *input, size_t ilen, BYTE *output, size_t olen)
 
BOOL winpr_Digest (WINPR_MD_TYPE md, const BYTE *input, size_t ilen, BYTE *output, size_t olen)
 

Function Documentation

BOOL winpr_Digest ( WINPR_MD_TYPE  md,
const BYTE input,
size_t  ilen,
BYTE output,
size_t  olen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL winpr_Digest_Allow_FIPS ( WINPR_MD_TYPE  md,
const BYTE input,
size_t  ilen,
BYTE output,
size_t  olen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL winpr_Digest_Final ( WINPR_DIGEST_CTX ctx,
BYTE output,
size_t  olen 
)

Here is the caller graph for this function:

void winpr_Digest_Free ( WINPR_DIGEST_CTX ctx)

Here is the caller graph for this function:

BOOL winpr_Digest_Init ( WINPR_DIGEST_CTX ctx,
WINPR_MD_TYPE  md 
)

Here is the caller graph for this function:

BOOL winpr_Digest_Init_Allow_FIPS ( WINPR_DIGEST_CTX ctx,
WINPR_MD_TYPE  md 
)

Here is the caller graph for this function:

WINPR_DIGEST_CTX* winpr_Digest_New ( void  )

Generic Digest API

Here is the caller graph for this function:

BOOL winpr_Digest_Update ( WINPR_DIGEST_CTX ctx,
const BYTE input,
size_t  ilen 
)

Here is the caller graph for this function:

BOOL winpr_HMAC ( WINPR_MD_TYPE  md,
const BYTE key,
size_t  keylen,
const BYTE input,
size_t  ilen,
BYTE output,
size_t  olen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL winpr_HMAC_Final ( WINPR_HMAC_CTX ctx,
BYTE output,
size_t  olen 
)

Here is the caller graph for this function:

void winpr_HMAC_Free ( WINPR_HMAC_CTX ctx)

Here is the caller graph for this function:

BOOL winpr_HMAC_Init ( WINPR_HMAC_CTX ctx,
WINPR_MD_TYPE  md,
const BYTE key,
size_t  keylen 
)

Here is the caller graph for this function:

WINPR_HMAC_CTX* winpr_HMAC_New ( void  )

WinPR: Windows Portable Runtime

Copyright 2015 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HMAC

Here is the caller graph for this function:

BOOL winpr_HMAC_Update ( WINPR_HMAC_CTX ctx,
const BYTE input,
size_t  ilen 
)

Here is the caller graph for this function: