mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Revision:
441:d2c15dda23c1
Parent:
380:510f0c3515e3
Child:
532:fe11edbda85c
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c	Tue Dec 16 08:15:08 2014 +0000
+++ b/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash.c	Tue Jan 06 16:15:36 2015 +0000
@@ -155,7 +155,7 @@
 HAL_StatusTypeDef HAL_HASH_Init(HASH_HandleTypeDef *hhash)
 {
   /* Check the hash handle allocation */
-  if(hhash == NULL)
+  if(hhash == HAL_NULL)
   {
     return HAL_ERROR;
   }
@@ -200,7 +200,7 @@
 HAL_StatusTypeDef HAL_HASH_DeInit(HASH_HandleTypeDef *hhash)
 { 
   /* Check the HASH handle allocation */
-  if(hhash == NULL)
+  if(hhash == HAL_NULL)
   {
     return HAL_ERROR;
   }
@@ -898,11 +898,11 @@
   switch(HASH->CR & HASH_CR_ALGO)
   {
     case HASH_AlgoSelection_MD5:
-       HAL_HASH_MD5_Start_IT(hhash, NULL, 0, NULL);
+       HAL_HASH_MD5_Start_IT(hhash, HAL_NULL, 0, HAL_NULL);
     break;
     
     case HASH_AlgoSelection_SHA1:
-      HAL_HASH_SHA1_Start_IT(hhash, NULL, 0, NULL);
+      HAL_HASH_SHA1_Start_IT(hhash, HAL_NULL, 0, HAL_NULL);
     break;
     
     default: