ta/wallet_ta.c
/** Convert an byte array with 32 positions to a 32 bit unsigned integer array
  * with 8 position in big-endian format.
  * \param array_src The source byte array.
  * \param array_dest The destine byte array.
  */
Convert an byte array with 32 positions to a 32 bit unsigned integer array
with 8 position in big-endian format.
\param array_src The source byte array.
\param array_dest The destine byte array.
Convert an byte array with 32 positions to a 32 bit unsigned integer array with 8 position in big - endian format . \ param array_src The source byte array . \ param array_dest The destine byte array .
static void convert_from8_to32_BE_internal(uint8_t * array_src, uint32_t * array_dest)
{
    uint8_t i;
    for (i = 0; i < 32; i += 4)
    {
    	array_dest[i/4] = (array_src[i] << 24)
    						| (array_src[i+1] << 16)
    						| (array_src[i+2] << 8)
    						| (array_src[i+3]);
    }
}
static void convert_from8_to32_BE_internal ( uint8_t * array_src , uint32_t * array_dest ) { uint8_t i ; for ( i = 0 ; i < 32 ; i += 4 ) { array_dest [ i / 4 ] = ( array_src [ i ] << 24 ) | ( array_src [ i + 1 ] << 16 ) | ( array_src [ i + 2 ] << 8 ) | ( array_src [ i + 3 ] ) ; } }
Convert an byte array with 32 positions to a 32 bit unsigned integer array
 with 8 position in big-endian format.
Convert an byte array with 32 positions to a 32 bit unsigned integer array with 8 position in big - endian format .