Lines Matching defs:net
92 static unsigned char *net=NULL;
109 if (net == NULL)
111 net=OPENSSL_malloc(BSIZE);
112 if (net == NULL) return(-1);
151 i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
153 i=_read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
162 /* we now have at net_num bytes in net */
163 p=net;
167 * we make sure that we have read a multiple of 8 bytes from the net.
176 i=read(fd,(void *)&(net[net_num]),rnum-net_num);
188 DES_pcbc_encrypt(net,unnet,num,sched,iv,DES_DECRYPT);
190 DES_cbc_encrypt(net,unnet,num,sched,iv,DES_DECRYPT);
210 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv,
213 DES_cbc_encrypt(net,tmpbuf,num,sched,iv,
223 DES_pcbc_encrypt(net,buf,num,sched,iv,
226 DES_cbc_encrypt(net,buf,num,sched,iv,