Advertisement
AnthonyCagliano

Untitled

Mar 29th, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. void AES_PUT_BE64(uint8_t *a, uint64_t val)
  2. {
  3. a[0] = val >> 56;
  4. a[1] = val >> 48;
  5. a[2] = val >> 40;
  6. a[3] = val >> 32;
  7. a[4] = val >> 24;
  8. a[5] = val >> 16;
  9. a[6] = val >> 8;
  10. a[7] = val & 0xff;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement