Lines Matching defs:len
80 int DES_enc_write(int fd, const void *_buf, int len,
112 if (len > MAXWRITE)
115 for (i=0; i<len; i+=k)
118 ((len-i) > MAXWRITE)?MAXWRITE:(len-i),sched,iv);
129 l2n(len,p);
132 if (len < 8)
135 memcpy(shortbuf,buf,len);
136 RAND_pseudo_bytes(shortbuf+len, 8-len);
142 rnum=((len+7)/8*8); /* round up to nearest eight */
146 DES_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv,
149 DES_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv,
177 return(len);