ofb_enc.c (55714) | ofb_enc.c (76866) |
---|---|
1/* crypto/des/ofb_enc.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 87 unchanged lines hidden (view full) --- 96 c2l(iv,v0); 97 c2l(iv,v1); 98 ti[0]=v0; 99 ti[1]=v1; 100 while (l-- > 0) 101 { 102 ti[0]=v0; 103 ti[1]=v1; | 1/* crypto/des/ofb_enc.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 87 unchanged lines hidden (view full) --- 96 c2l(iv,v0); 97 c2l(iv,v1); 98 ti[0]=v0; 99 ti[1]=v1; 100 while (l-- > 0) 101 { 102 ti[0]=v0; 103 ti[1]=v1; |
104 des_encrypt((DES_LONG *)ti,schedule,DES_ENCRYPT); | 104 des_encrypt1((DES_LONG *)ti,schedule,DES_ENCRYPT); |
105 vv0=ti[0]; 106 vv1=ti[1]; 107 c2ln(in,d0,d1,n); 108 in+=n; 109 d0=(d0^vv0)&mask0; 110 d1=(d1^vv1)&mask1; 111 l2cn(d0,d1,out,n); 112 out+=n; --- 22 unchanged lines hidden --- | 105 vv0=ti[0]; 106 vv1=ti[1]; 107 c2ln(in,d0,d1,n); 108 in+=n; 109 d0=(d0^vv0)&mask0; 110 d1=(d1^vv1)&mask1; 111 l2cn(d0,d1,out,n); 112 out+=n; --- 22 unchanged lines hidden --- |