ta/wallet_ta.c
/**
  *  Write 32 bit unsigned integer into a byte array in big-endian format. It is
  * to be used internally (only by the functions of the TA itself).
  * \param out The destination byte array. This must have space for at
  *            least 4 bytes.
  * \param in The source integer.
  */
Write 32 bit unsigned integer into a byte array in big-endian format. It is
to be used internally (only by the functions of the TA itself).
\param out The destination byte array. This must have space for at
least 4 bytes.
\param in The source integer.
Write 32 bit unsigned integer into a byte array in big - endian format . It is to be used internally ( only by the functions of the TA itself ) . \ param out The destination byte array . This must have space for at least 4 bytes . \ param in The source integer .
static void write_u32_big_endian_internal(uint8_t *out, uint32_t in)
{
	out[0] = (uint8_t)(in >> 24);
	out[1] = (uint8_t)(in >> 16);
	out[2] = (uint8_t)(in >> 8);
	out[3] = (uint8_t)in;
}
static void write_u32_big_endian_internal ( uint8_t * out , uint32_t in ) { out [ 0 ] = ( uint8_t ) ( in >> 24 ) ; out [ 1 ] = ( uint8_t ) ( in >> 16 ) ; out [ 2 ] = ( uint8_t ) ( in >> 8 ) ; out [ 3 ] = ( uint8_t ) in ; }
Write 32 bit unsigned integer into a byte array in big-endian format.
Write 32 bit unsigned integer into a byte array in big - endian format .