mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 23:38:23 -04:00
Fix AES-GCM code.
This commit is contained in:
parent
8e5228866c
commit
7e780301de
2 changed files with 25 additions and 22 deletions
|
@ -78,7 +78,7 @@ static inline uint64_t read64le(const volatile void *qword, size_t offset) {
|
|||
return *(uint64_t *)((uintptr_t)qword + offset);
|
||||
}
|
||||
|
||||
static inline uint32_t read64be(const volatile void *qword, size_t offset) {
|
||||
static inline uint64_t read64be(const volatile void *qword, size_t offset) {
|
||||
return __builtin_bswap64(read64le(qword, offset));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue