Home
last modified time | relevance | path

Searched refs:decode_len (Results 1 – 7 of 7) sorted by relevance

/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
H A Dslapd-sha2.c241 if (decode_len <= sizeof(SHAdigest)) { in chk_ssha256()
246 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha256()
250 rc = lutil_b64_pton(passwd->bv_val, orig_pass, decode_len); in chk_ssha256()
285 if (decode_len < sizeof(SHAdigest)) { in chk_sha256()
290 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha256()
294 rc = lutil_b64_pton(passwd->bv_val, orig_pass, decode_len); in chk_sha256()
329 if (decode_len <= sizeof(SHAdigest)) { in chk_ssha384()
334 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha384()
373 if (decode_len < sizeof(SHAdigest)) { in chk_sha384()
417 if (decode_len <= sizeof(SHAdigest)) { in chk_ssha512()
[all …]
/netbsd/external/bsd/openldap/dist/libraries/liblutil/
H A Dpasswd.c467 if (decode_len <= sizeof(SHA1digest)) { in chk_ssha1()
472 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha1()
476 rc = lutil_b64_pton(passwd->bv_val, orig_pass, decode_len); in chk_ssha1()
512 if (decode_len < sizeof(SHA1digest)) { in chk_sha1()
517 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha1()
521 rc = lutil_b64_pton(passwd->bv_val, orig_pass, decode_len); in chk_sha1()
554 if (decode_len <= sizeof(MD5digest)) { in chk_smd5()
559 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_smd5()
563 rc = lutil_b64_pton(passwd->bv_val, orig_pass, decode_len); in chk_smd5()
599 if (decode_len < sizeof(MD5digest)) { in chk_md5()
[all …]
/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
H A Dapr1.c132 size_t decode_len = LUTIL_BASE64_DECODE_LEN(passwd->bv_len); in chk_phk() local
135 if (decode_len <= sizeof(digest)) in chk_phk()
139 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_phk()
144 rc = lutil_b64_pton(passwd->bv_val, orig_pass, decode_len); in chk_phk()
/netbsd/external/cddl/osnet/dist/common/nvpair/
H A Dnvpair.c2756 int32_t decode_len; in nvs_native_nvpair() local
2761 bcopy(native->n_curr, &decode_len, sizeof (int32_t)); in nvs_native_nvpair()
2764 if (decode_len < 0 || in nvs_native_nvpair()
2765 decode_len > native->n_end - native->n_curr) in nvs_native_nvpair()
2768 *size = decode_len; in nvs_native_nvpair()
3233 int32_t encode_len, decode_len; in nvs_xdr_nvpair() local
3242 decode_len = nvp->nvp_size; in nvs_xdr_nvpair()
3244 if (!xdr_int(xdr, &encode_len) || !xdr_int(xdr, &decode_len)) in nvs_xdr_nvpair()
3253 if (!xdr_int(xdr, &encode_len) || !xdr_int(xdr, &decode_len)) in nvs_xdr_nvpair()
3255 *size = decode_len; in nvs_xdr_nvpair()
/netbsd/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_rar5.c187 int32_t decode_len[16]; member
2312 table->decode_len[0] = 0; in create_decode_tables()
2317 table->decode_len[i] = upper_limit << (16 - i); in create_decode_tables()
2340 while(cur_len < rar5_countof(table->decode_len) && in create_decode_tables()
2341 bit_field >= table->decode_len[cur_len]) { in create_decode_tables()
2347 dist = bit_field - table->decode_len[cur_len - 1]; in create_decode_tables()
2375 if(bitfield < table->decode_len[table->quick_bits]) { in decode_number()
2385 if(bitfield < table->decode_len[i]) { in decode_number()
2393 dist = bitfield - table->decode_len[bits - 1]; in decode_number()
/netbsd/external/bsd/openldap/dist/servers/slapd/
H A Dconfig.c139 size_t decode_len = LUTIL_BASE64_DECODE_LEN(c->linelen); in config_find_keyword() local
141 c->tline = ch_malloc( decode_len+1 ); in config_find_keyword()
142 c->linelen = lutil_b64_pton( c->line, c->tline, decode_len ); in config_find_keyword()
/netbsd/external/bsd/openldap/dist/servers/lloadd/
H A Dconfig.c2118 size_t decode_len = LUTIL_BASE64_DECODE_LEN( c->linelen ); in lload_config_find_keyword() local
2120 c->tline = ch_malloc( decode_len + 1 ); in lload_config_find_keyword()
2121 c->linelen = lutil_b64_pton( c->line, c->tline, decode_len ); in lload_config_find_keyword()