se: Correct variable identifiers in se_synchronous_exp_mod

This commit is contained in:
Lioncash 2018-02-23 00:14:39 -05:00
parent e981c879e7
commit 949c1ba628
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -313,8 +313,8 @@ void se_synchronous_exp_mod(unsigned int keyslot, void *dst, size_t dst_size, co
}
/* Endian swap the input. */
for (size_t i = size; i > 0; i--) {
stack_buf[i] = *((uint8_t *)buf + size - i);
for (size_t i = src_size; i > 0; i--) {
stack_buf[i] = *((uint8_t *)src + src_size - i);
}
SECURITY_ENGINE->CONFIG_REG = (ALG_RSA | DST_RSAREG);