From e981c879e7abd26ead22ac2f081ba37cbc0eea8f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 23 Feb 2018 00:12:07 -0500 Subject: [PATCH] se: Fix excess arguments with set_se_ctr --- exosphere/se.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exosphere/se.c b/exosphere/se.c index 2353d8864..11059f178 100644 --- a/exosphere/se.c +++ b/exosphere/se.c @@ -416,7 +416,7 @@ void se_aes_ctr_crypt(unsigned int keyslot, void *dst, size_t dst_size, const vo SECURITY_ENGINE->_0x80C = 1; SECURITY_ENGINE->CONFIG_REG = (ALG_AES_ENC | DST_MEMORY); SECURITY_ENGINE->CRYPTO_REG = (keyslot << 24) | 0x91E; - set_se_ctr(ctr, ctr_size); + set_se_ctr(ctr); /* Handle any aligned blocks. */ size_t aligned_size = (size_t)num_blocks << 4;