]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
SHA512_Core_Init() and SHA512_Block() are unused outside this file. Make
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 5 Jan 2003 23:34:00 +0000 (23:34 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 5 Jan 2003 23:34:00 +0000 (23:34 +0000)
them static.

[originally from svn r2484]

sshsh512.c

index a2dd0c0b2316f29663b00b35d12ede3ec2bcb2d3..86e360a7ddbba6344ef2b40b7375d73b49d59599 100644 (file)
@@ -45,7 +45,7 @@
 #define smallsigma1(r,t,x) ( rorL(r,x,19), rorB(t,x,61), xor(r,r,t), \
                             shrL(t,x,6), xor(r,r,t) )
 
-void SHA512_Core_Init(SHA512_State *s) {
+static void SHA512_Core_Init(SHA512_State *s) {
     static const uint64 iv[] = {
        INIT(0x6a09e667, 0xf3bcc908),
        INIT(0xbb67ae85, 0x84caa73b),
@@ -61,7 +61,7 @@ void SHA512_Core_Init(SHA512_State *s) {
        s->h[i] = iv[i];
 }
 
-void SHA512_Block(SHA512_State *s, uint64 *block) {
+static void SHA512_Block(SHA512_State *s, uint64 *block) {
     uint64 w[80];
     uint64 a,b,c,d,e,f,g,h;
     static const uint64 k[] = {