Changeset 87826da


Ignore:
Timestamp:
Jun 22, 2013 7:02:59 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5ba86ca
Parents:
7df52a1
Message:

mac static, final

Location:
core/java/src/org/bouncycastle/oldcrypto/digests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/org/bouncycastle/oldcrypto/digests/GeneralDigest.java

    r7df52a1 r87826da  
    3636    implements Digest
    3737{
    38     private byte[]  xBuf;
     38    private final byte[]  xBuf;
    3939    private int     xBufOff;
    4040
  • core/java/src/org/bouncycastle/oldcrypto/digests/MD5Digest.java

    r7df52a1 r87826da  
    1212    private int     H1, H2, H3, H4;         // IV's
    1313
    14     private int[]   X = new int[16];
     14    private final int[]   X = new int[16];
    1515    private int     xOff;
    1616
     
    7575    }
    7676
    77     private void unpackWord(
     77    private static void unpackWord(
    7878        int     word,
    7979        byte[]  out,
     
    158158     * rotate int x left n bits.
    159159     */
    160     private int rotateLeft(
     160    private static int rotateLeft(
    161161        int x,
    162162        int n)
     
    168168     * F, G, H and I are the basic MD5 functions.
    169169     */
    170     private int F(
     170    private static int F(
    171171        int u,
    172172        int v,
     
    176176    }
    177177
    178     private int G(
     178    private static int G(
    179179        int u,
    180180        int v,
     
    184184    }
    185185
    186     private int H(
     186    private static int H(
    187187        int u,
    188188        int v,
     
    192192    }
    193193
    194     private int K(
     194    private static int K(
    195195        int u,
    196196        int v,
Note: See TracChangeset for help on using the changeset viewer.