mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-04 08:32:15 +02:00
se: Correct variable identifiers in se_synchronous_exp_mod
This commit is contained in:
parent
e981c879e7
commit
949c1ba628
@ -313,8 +313,8 @@ void se_synchronous_exp_mod(unsigned int keyslot, void *dst, size_t dst_size, co
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Endian swap the input. */
|
/* Endian swap the input. */
|
||||||
for (size_t i = size; i > 0; i--) {
|
for (size_t i = src_size; i > 0; i--) {
|
||||||
stack_buf[i] = *((uint8_t *)buf + size - i);
|
stack_buf[i] = *((uint8_t *)src + src_size - i);
|
||||||
}
|
}
|
||||||
|
|
||||||
SECURITY_ENGINE->CONFIG_REG = (ALG_RSA | DST_RSAREG);
|
SECURITY_ENGINE->CONFIG_REG = (ALG_RSA | DST_RSAREG);
|
||||||
|
Loading…
Reference in New Issue
Block a user