summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha
diff options
context:
space:
mode:
authorkrw <>2016-03-15 20:50:22 +0000
committerkrw <>2016-03-15 20:50:22 +0000
commit4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073 (patch)
tree6500824b8067c795c51a0528b781ff705870a104 /src/lib/libcrypto/sha
parent8daa7bac4b58e4f955388e48607a12538c45fc40 (diff)
downloadopenbsd-4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073.tar.gz
openbsd-4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073.tar.bz2
openbsd-4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073.zip
'accomodate' -> 'accommodate' in comments.
Started by diff from Mical Mazurek.
Diffstat (limited to 'src/lib/libcrypto/sha')
-rw-r--r--src/lib/libcrypto/sha/asm/sha1-mips.pl2
-rw-r--r--src/lib/libcrypto/sha/sha_locl.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/sha/asm/sha1-mips.pl b/src/lib/libcrypto/sha/asm/sha1-mips.pl
index 0590b7cdb2..75fe7113e2 100644
--- a/src/lib/libcrypto/sha/asm/sha1-mips.pl
+++ b/src/lib/libcrypto/sha/asm/sha1-mips.pl
@@ -233,7 +233,7 @@ $code.=<<___ if ($i<79);
233___ 233___
234} 234}
235 235
236$FRAMESIZE=16; # large enough to accomodate NUBI saved registers 236$FRAMESIZE=16; # large enough to accommodate NUBI saved registers
237$SAVED_REGS_MASK = ($flavour =~ /nubi/i) ? 0xc0fff008 : 0xc0ff0000; 237$SAVED_REGS_MASK = ($flavour =~ /nubi/i) ? 0xc0fff008 : 0xc0ff0000;
238 238
239$code=<<___; 239$code=<<___;
diff --git a/src/lib/libcrypto/sha/sha_locl.h b/src/lib/libcrypto/sha/sha_locl.h
index f56ac5b9b7..d871a3b69d 100644
--- a/src/lib/libcrypto/sha/sha_locl.h
+++ b/src/lib/libcrypto/sha/sha_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha_locl.h,v 1.20 2015/09/13 21:09:56 doug Exp $ */ 1/* $OpenBSD: sha_locl.h,v 1.21 2016/03/15 20:50:22 krw Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -163,7 +163,7 @@ int SHA1_Init(SHA_CTX *c)
163#ifndef MD32_XARRAY 163#ifndef MD32_XARRAY
164 /* 164 /*
165 * Originally X was an array. As it's automatic it's natural 165 * Originally X was an array. As it's automatic it's natural
166 * to expect RISC compiler to accomodate at least part of it in 166 * to expect RISC compiler to accommodate at least part of it in
167 * the register bank, isn't it? Unfortunately not all compilers 167 * the register bank, isn't it? Unfortunately not all compilers
168 * "find" this expectation reasonable:-( On order to make such 168 * "find" this expectation reasonable:-( On order to make such
169 * compilers generate better code I replace X[] with a bunch of 169 * compilers generate better code I replace X[] with a bunch of