How to receive a 32 bit value in HEX Format in STM32H750VB processor?
I am doing AES Encryption of the given data in a processor and transferring it to another processor where the original data is obtained by decryption. From the help from our community member(@Community member i am able to obtain the output.. Thanks for your support. Now whenever i am transferring the 128 bit encrypted data using (HAL_UART_Transmit(&huart4, (uint8_t*)buffer, sprintf(buffer,"%08X", Decryptedtext[0]), 20);) this function data can be transferred.But at the receiver side the array is received a string array and from that array i cannot get the corresponding 32 bit hexadecimal values.SO for decryption i cannot obtain the correct value.. so kindly give suggestions so that i can proceed with my work...
For example: I am representing as 32 bit
sent data=0x12ab3456
received data= 12ab3456( as a string) and also i am receiving the data byte by byte and on applying shift operation for combining the values in array changes and decryption cant be done..
But the required output is 0x12ab3456 (as hexadecimal) to be stored in a 32 bit array...