mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 05:38:35 -07:00
Move plugins to external folder
This commit is contained in:
17
applications/external/totp/services/hmac/byteswap.h
vendored
Normal file
17
applications/external/totp/services/hmac/byteswap.h
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* @brief Swap bytes in 32-bit value
|
||||
* @param val value to swap bytes in
|
||||
* @return Value with bytes swapped
|
||||
*/
|
||||
uint32_t swap_uint32(uint32_t val);
|
||||
|
||||
/**
|
||||
* @brief Swap bytes in 64-bit value
|
||||
* @param val value to swap bytes in
|
||||
* @return Value with bytes swapped
|
||||
*/
|
||||
uint64_t swap_uint64(uint64_t val);
|
||||
Reference in New Issue
Block a user