util: add reverse_256

This commit is contained in:
Matthias Ringwald 2016-05-09 18:16:04 +02:00
parent b53494cfe3
commit aa08b6dfa2
2 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,9 @@ void reverse_64(const uint8_t * src, uint8_t * dst){
void reverse_128(const uint8_t * src, uint8_t * dst){
reverse_bytes(src, dst, 16);
}
void reverse_256(const uint8_t * src, uint8_t * dst){
reverse_bytes(src, dst, 32);
}
void reverse_bd_addr(const bd_addr_t src, bd_addr_t dest){
reverse_bytes(src, dest, 6);

View File

@ -128,6 +128,7 @@ void reverse_48 (const uint8_t *src, uint8_t * dest);
void reverse_56 (const uint8_t *src, uint8_t * dest);
void reverse_64 (const uint8_t *src, uint8_t * dest);
void reverse_128(const uint8_t *src, uint8_t * dest);
void reverse_256(const uint8_t *src, uint8_t * dest);
void reverse_bd_addr(const bd_addr_t src, bd_addr_t dest);