Searched refs:needsize (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c154 unsigned needsize; member in struct:context
481 if (text->needsize > 0) {
483 int tocopy = myMIN(text->needsize, *inputlen);
485 memcpy(text->sizebuf + 4 - text->needsize, *input, tocopy);
486 text->needsize -= tocopy;
490 if (text->needsize == 0) {
597 text->needsize = 4;
639 ret->needsize = 4;
/osnet-11/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c256 unsigned int needsize; /* How much of the size of the buffer is left */ member in struct:context
1830 if (text->needsize>0) /* 4 bytes for how long message is */
1838 if (tocopy>text->needsize)
1839 tocopy=text->needsize;
1841 memcpy(text->sizebuf+4-text->needsize, *input, tocopy);
1842 text->needsize-=tocopy;
1847 if (text->needsize==0) /* got all of size */
1985 text->needsize=4;
2182 if (text->needsize > 0) { /* 4 bytes for how long message is */
2191 if (tocopy > text->needsize)
[all...]

Completed in 32 milliseconds