Lines Matching +full:se +full:- +full:pos
35 * granted for any product per se or for any other function of any product.
68 /* (From RFC1521 and draft-ietf-dnssec-secext-03.txt)
73 A 65-character subset of US-ASCII is used, enabling 6 bits to be
77 The encoding process represents 24-bit groups of input bits as output
79 24-bit input group is formed by concatenating 3 8-bit input groups.
80 These 24 bits are then treated as 4 concatenated 6-bit groups, each
83 Each 6-bit group is used as an index into an array of 64 printable
112 right) to form an integral number of 6-bit groups. Padding at the
116 -------------------------------------------------
144 srclength -= 3; in b64_ntop()
152 return (-1); in b64_ntop()
171 return (-1); in b64_ntop()
181 return (-1); in b64_ntop()
191 src from base - 64 numbers into three 8 bit bytes in the target area.
192 it returns the number of data bytes stored at the target, or -1 on error.
200 char *pos; in b64_pton() local
212 pos = strchr(Base64, ch); in b64_pton()
213 if (pos == 0) /* A non-base64 character. */ in b64_pton()
214 return (-1); in b64_pton()
220 return (-1); in b64_pton()
221 target[tarindex] = (pos - Base64) << 2; in b64_pton()
228 return (-1); in b64_pton()
229 target[tarindex] |= (pos - Base64) >> 4; in b64_pton()
230 target[tarindex+1] = ((pos - Base64) & 0x0f) in b64_pton()
239 return (-1); in b64_pton()
240 target[tarindex] |= (pos - Base64) >> 2; in b64_pton()
241 target[tarindex+1] = ((pos - Base64) & 0x03) in b64_pton()
250 return (-1); in b64_pton()
251 target[tarindex] |= (pos - Base64); in b64_pton()
260 * We are done decoding Base-64 chars. Let's see if we ended in b64_pton()
269 return (-1); in b64_pton()
278 return (-1); in b64_pton()
290 return (-1); in b64_pton()
299 return (-1); in b64_pton()
307 return (-1); in b64_pton()