From 22abd06132445a55a1a0266897920f26634825c1 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Wed, 26 Dec 2012 17:38:10 +0100 Subject: digital/beacon: remove obsolete bitcloud stack --- .../Security/ServiceProvider/include/sspHash.h | 69 ---------------------- 1 file changed, 69 deletions(-) delete mode 100644 digital/beacon/src/Bitcloud_stack/Components/Security/ServiceProvider/include/sspHash.h (limited to 'digital/beacon/src/Bitcloud_stack/Components/Security/ServiceProvider/include/sspHash.h') diff --git a/digital/beacon/src/Bitcloud_stack/Components/Security/ServiceProvider/include/sspHash.h b/digital/beacon/src/Bitcloud_stack/Components/Security/ServiceProvider/include/sspHash.h deleted file mode 100644 index ade0fe31..00000000 --- a/digital/beacon/src/Bitcloud_stack/Components/Security/ServiceProvider/include/sspHash.h +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************//** - \file sspHash.h - - \brief Security Hash Processor header file. - - \author - Atmel Corporation: http://www.atmel.com \n - Support email: avr@atmel.com - - Copyright (c) 2008-2011, Atmel Corporation. All rights reserved. - Licensed under Atmel's Limited License Agreement (BitCloudTM). - - \internal - History: - 01/05/2008 A.Potashov - Created -******************************************************************************/ - -#ifndef _SSPHASH_H -#define _SSPHASH_H - -#include -#include - -typedef struct -{ - //! Service field - for internal needs. - SSP_Service_t service; - // Service field - for internal needs. - SSP_Service_t sspService; - // There is should be an additional memory before and after text (16 bytes in both cases). - uint8_t *text/*[SECURITY_KEY_SIZE + textSize + 16]*/; - // Pointer to key fir Keyed Hash Function. - uint8_t (*key)/*[SECURITY_KEY_SIZE]*/; - // Size of the text. - uint8_t textSize; - // Buffer for generated hash. Shoul be initialized by the user. - uint8_t (*hash_i)/*[SECURITY_KEY_SIZE]*/; - // Confirm handler pointer for internal use - void (*sspKeyedHashMacConf)(void); - - // Confirm handler pointer - void (*SSP_KeyedHashMacConf)(void); -} SSP_KeyedHashMacReq_t; - - -void SSP_KeyedHashMacReq(SSP_KeyedHashMacReq_t *req); -void sspKeyedHashReqHandler(void); -#ifndef _USE_CERTICOM_HASH_ -/**************************************************************************\\** - \brief This function computes the AES MMO digest of the data parameter of - length sz, and stores the result in. - - \param[out] digest This is an unsigned char buffer to hold the message digest. - The length of the digest must be AES_MMO_HASH_SIZE bytes. - \param[in] sz The size in bytes of the message to be hashed. - \param[in] data This is an unsigned char buffer of data to be hashed. - - \return MCE_ERR_NULL_OUTPUT_BUF digest is NULL - MCE_ERR_NULL_INPUT_BUF data is NULL - MCE_SUCCESS indicates successful completion. - -******************************************************************************/ -int SSP_BcbHash(unsigned char *digest, unsigned long sz, unsigned char *data); -//int aesMmoHash(unsigned char *digest, unsigned long sz, unsigned char *data); -#endif // _USE_CERTICOM_HASH_ - -#endif //#ifndef _SSPHASH_H - -//eof sspHash.h -- cgit v1.2.3