244. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/25/2018 2:13:23 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

244.1 Files compared

# Location File Last Modified
1 build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\sun\security\krb5\internal\crypto DesCbcCrcEType.java Mon Jan 22 14:46:54 2018 UTC
2 build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\sun\security\krb5\internal\crypto DesCbcCrcEType.java Wed Sep 12 17:52:39 2018 UTC

244.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 180
Changed 2 4
Inserted 0 0
Removed 0 0

244.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

244.4 Active regular expressions

No regular expressions were active.

244.5 Comparison detail

  1   /*
  2    * DO NOT  ALTER OR R EMOVE COPY RIGHT NOTI CES OR THI S FILE HEA DER.
  3    *
  4    * This co de is free  software;  you can r edistribut e it and/o r modify i t
  5    * under t he terms o f the GNU  General Pu blic Licen se version  2 only, a s
  6    * publish ed by the  Free Softw are Founda tion.  Ora cle design ates this
  7    * particu lar file a s subject  to the "Cl asspath" e xception a s provided
  8    * by Orac le in the  LICENSE fi le that ac companied  this code.
  9    *
  10    * This co de is dist ributed in  the hope  that it wi ll be usef ul, but WI THOUT
  11    * ANY WAR RANTY; wit hout even  the implie d warranty  of MERCHA NTABILITY  or
  12    * FITNESS  FOR A PAR TICULAR PU RPOSE.  Se e the GNU  General Pu blic Licen se
  13    * version  2 for mor e details  (a copy is  included  in the LIC ENSE file  that
  14    * accompa nied this  code).
  15    *
  16    * You sho uld have r eceived a  copy of th e GNU Gene ral Public  License v ersion
  17    * 2 along  with this  work; if  not, write  to the Fr ee Softwar e Foundati on,
  18    * Inc., 5 1 Franklin  St, Fifth  Floor, Bo ston, MA 0 2110-1301  USA.
  19    *
  20    * Please  contact Or acle, 500  Oracle Par kway, Redw ood Shores , CA 94065  USA
  21    * or visi t www.orac le.com if  you need a dditional  informatio n or have  any
  22    * questio ns.
  23    */
  24  
  25   /*
  26    *
  27    *  (C) Co pyright IB M Corp. 19 99 All Rig hts Reserv ed.
  28    *  Copyri ght 1997 T he Open Gr oup Resear ch Institu te.  All r ights rese rved.
  29    */
  30  
  31   package su n.security .krb5.inte rnal.crypt o;
  32  
  33   import sun .security. krb5.Check sum;
  34   import sun .security. krb5.Encry ptedData;
  35   import sun .security. krb5.KrbCr yptoExcept ion;
  36   import sun .security. krb5.inter nal.*;
  37  
  38   public cla ss DesCbcC rcEType ex tends DesC bcEType {
  39  
  40       public  DesCbcCrc EType() {
  41       }
  42  
  43       public  int eType () {
  44           re turn Encry ptedData.E TYPE_DES_C BC_CRC;
  45       }
  46  
  47       public  int minim umPadSize( ) {
  48           re turn 4;
  49       }
  50  
  51       public  int confo underSize( ) {
  52           re turn 8;
  53       }
  54  
  55       public  int check sumType()  {
  56           re turn Check sum.CKSUMT YPE_CRC32;
  57       }
  58  
  59       public  int check sumSize()  {
  60           re turn 4;
  61       }
  62  
  63       /**
  64        * Enc rypts data  using DES  in CBC mo de with CR C32.
  65        * @pa ram data t he data to  be encryp ted.
  66          * @param k ey    the  PW        key to enc rypt the d ata. It is  also used  as initia lization v ector duri ng cipher  block chai ning.
  67        * @re turn the b uffer for  cipher tex t.
  68        *
  69        * @wr itten by Y anni Zhang , Dec 10,  1999
  70        */
  71       public  byte[] en crypt(byte [] data, b yte[] key,  int usage )
  72            t hrows KrbC ryptoExcep tion {
  73           re turn encry pt(data, k ey, key, u sage);
  74       }
  75  
  76       /**
  77        * Dec rypts data  with prov ided key u sing DES i n CBC mode  with CRC3 2.
  78        * @pa ram cipher  the ciphe r text to  be decrypt ed.
  79          * @param k ey    the  PW        key to dec rypt the d ata.
  80        *
  81        * @wr itten by Y anni Zhang , Dec 10,  1999
  82        */
  83       public  byte[] de crypt(byte [] cipher,  byte[] ke y, int usa ge)
  84            t hrows KrbA pErrExcept ion, KrbCr yptoExcept ion{
  85           re turn decry pt(cipher,  key, key,  usage);
  86       }
  87  
  88       protec ted byte[]  calculate Checksum(b yte[] data , int size ) {
  89           re turn crc32 .byte2crc3 2sum_bytes (data, siz e);
  90       }
  91  
  92   }