commit | 6b1f7f101fdb5ed1fb61ae9771c5808df1e91076 | [log] [tgz] |
---|---|---|
author | Paul Elliott <paul.elliott@arm.com> | Tue May 16 15:59:56 2023 +0100 |
committer | Paul Elliott <paul.elliott@arm.com> | Tue May 16 17:51:48 2023 +0100 |
tree | 4b3141a7c5ea12635a21f61badb63f200f153da6 | |
parent | 235c1947fb668a58646f13ddd3e0efdecb35a527 [diff] [blame] |
Use const where appropriate Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/library/ecp_curves.c b/library/ecp_curves.c index 2bbec41..c4ae8f9 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c
@@ -5492,7 +5492,7 @@ } size_t M_limbs = X_limbs - (P448_WIDTH); - size_t Q_limbs = M_limbs; + const size_t Q_limbs = M_limbs; if (M_limbs > P448_WIDTH) { /* Shouldn't be called with N larger than 2^896! */