ofb64enc.c (55714) | ofb64enc.c (76866) |
---|---|
1/* crypto/des/ofb64enc.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 * --- 73 unchanged lines hidden (view full) --- 82 ti[1]=v1; 83 dp=d; 84 l2c(v0,dp); 85 l2c(v1,dp); 86 while (l--) 87 { 88 if (n == 0) 89 { | 1/* crypto/des/ofb64enc.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 * --- 73 unchanged lines hidden (view full) --- 82 ti[1]=v1; 83 dp=d; 84 l2c(v0,dp); 85 l2c(v1,dp); 86 while (l--) 87 { 88 if (n == 0) 89 { |
90 des_encrypt(ti,schedule,DES_ENCRYPT); | 90 des_encrypt1(ti,schedule,DES_ENCRYPT); |
91 dp=d; 92 t=ti[0]; l2c(t,dp); 93 t=ti[1]; l2c(t,dp); 94 save++; 95 } 96 *(out++)= *(in++)^d[n]; 97 n=(n+1)&0x07; 98 } --- 12 unchanged lines hidden --- | 91 dp=d; 92 t=ti[0]; l2c(t,dp); 93 t=ti[1]; l2c(t,dp); 94 save++; 95 } 96 *(out++)= *(in++)^d[n]; 97 n=(n+1)&0x07; 98 } --- 12 unchanged lines hidden --- |