mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 22:03:19 -07:00
Remove unused function SwapEndian64ex
This commit is contained in:
parent
fd43ccb145
commit
72eec0617c
2 changed files with 0 additions and 11 deletions
|
@ -272,16 +272,6 @@ uint8_t *SwapEndian64(const uint8_t *src, const size_t len, const uint8_t blockS
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
// takes a uint8_t src array, for len items and reverses the byte order in blocksizes (8,16,32,64),
|
|
||||||
// returns: the dest array contains the reordered src array.
|
|
||||||
void SwapEndian64ex(const uint8_t *src, const size_t len, const uint8_t blockSize, uint8_t *dest){
|
|
||||||
for (uint8_t block=0; block < (uint8_t)(len/blockSize); block++){
|
|
||||||
for (size_t i = 0; i < blockSize; i++){
|
|
||||||
dest[i+(blockSize*block)] = src[(blockSize-1-i)+(blockSize*block)];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//assumes little endian
|
//assumes little endian
|
||||||
char * printBits(size_t const size, void const * const ptr)
|
char * printBits(size_t const size, void const * const ptr)
|
||||||
{
|
{
|
||||||
|
|
|
@ -61,7 +61,6 @@ extern char *printBits(size_t const size, void const * const ptr);
|
||||||
extern char * printBitsPar(const uint8_t *b, size_t len);
|
extern char * printBitsPar(const uint8_t *b, size_t len);
|
||||||
extern uint32_t SwapBits(uint32_t value, int nrbits);
|
extern uint32_t SwapBits(uint32_t value, int nrbits);
|
||||||
extern uint8_t *SwapEndian64(const uint8_t *src, const size_t len, const uint8_t blockSize);
|
extern uint8_t *SwapEndian64(const uint8_t *src, const size_t len, const uint8_t blockSize);
|
||||||
extern void SwapEndian64ex(const uint8_t *src, const size_t len, const uint8_t blockSize, uint8_t *dest);
|
|
||||||
|
|
||||||
extern int param_getlength(const char *line, int paramnum);
|
extern int param_getlength(const char *line, int paramnum);
|
||||||
extern char param_getchar(const char *line, int paramnum);
|
extern char param_getchar(const char *line, int paramnum);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue