Home | History | Annotate | Download | only in des

Lines Matching full:len

80 int DES_enc_write(int fd, const void *_buf, int len,
109 if (len > MAXWRITE)
112 for (i=0; i<len; i+=k)
115 ((len-i) > MAXWRITE)?MAXWRITE:(len-i),sched,iv);
126 l2n(len,p);
129 if (len < 8)
132 memcpy(shortbuf,buf,len);
133 RAND_pseudo_bytes(shortbuf+len, 8-len);
139 rnum=((len+7)/8*8); /* round up to nearest eight */
143 DES_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv,
146 DES_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv,
174 return(len);