Fix typos
Co-authored-by: Tom Cosgrove <81633263+tom-cosgrove-arm@users.noreply.github.com>
Co-authored-by: Werner Lewis <Werner.Lewis@arm.com>
Signed-off-by: Janos Follath <janos.follath@arm.com>
diff --git a/library/bignum_core.c b/library/bignum_core.c
index 9d1e29c..68c49df 100644
--- a/library/bignum_core.c
+++ b/library/bignum_core.c
@@ -229,7 +229,7 @@
{
bytes_to_copy = output_length;
- /* The output outputfer is smaller than the allocated size of A.
+ /* The output buffer is smaller than the allocated size of A.
* However A may fit if its leading bytes are zero. */
for( size_t i = bytes_to_copy; i < stored_bytes; i++ )
{
@@ -263,7 +263,7 @@
if( stored_bytes < output_length )
{
- /* There is enough space in the output outputfer. Write initial
+ /* There is enough space in the output buffer. Write initial
* null bytes and record the position at which to start
* writing the significant bytes. In this case, the execution
* trace of this function does not depend on the value of the
@@ -274,7 +274,7 @@
}
else
{
- /* The output outputfer is smaller than the allocated size of X.
+ /* The output buffer is smaller than the allocated size of X.
* However X may fit if its leading bytes are zero. */
bytes_to_copy = output_length;
p = output;