CryptoAuthLib
Atmel CryptoAuthentication Library
sha1_routines.c File Reference

Software implementation of the SHA1 algorithm. More...

#include "sha1_routines.h"
#include <string.h>

Functions

void CL_hashInit (CL_HashContext *ctx)
 
void CL_hashUpdate (CL_HashContext *ctx, const U8 *src, int nbytes)
 
void CL_hashFinal (CL_HashContext *ctx, U8 *dest)
 
void CL_hash (U8 *msg, int msgBytes, U8 *dest)
 
void shaEngine (U32 *buf, U32 *h)
 

Detailed Description

Software implementation of the SHA1 algorithm.

Copyright (c) 2015 Atmel Corporation. All rights reserved.

Function Documentation

void CL_hash ( U8 msg,
int  msgBytes,
U8 dest 
)
void CL_hashFinal ( CL_HashContext ctx,
U8 dest 
)
void CL_hashInit ( CL_HashContext ctx)
void CL_hashUpdate ( CL_HashContext ctx,
const U8 src,
int  nbytes 
)
void shaEngine ( U32 buf,
U32 h 
)