Home
last modified time | relevance | path

Searched refs:ber_memalloc (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
H A Dslapd-sha2.c202 cred_b64.bv_val = ber_memalloc(cred_b64.bv_len + 1); in chk_sha_debug()
246 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha256()
290 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha256()
334 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha384()
378 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha384()
422 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha512()
466 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha512()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dpasswd.c162 ptr = ber_memalloc( sizeof( struct pw_slist )); in lutil_passwd_add()
324 pw->bv_val = ber_memalloc( len + 1 ); in lutil_passwd_generate()
379 pw.bv_val = ber_memalloc( pw.bv_len + 1 ); in pw_string()
408 string.bv_val = ber_memalloc( string.bv_len + 1 ); in lutil_passwd_string64()
426 b64->bv_val = ber_memalloc( b64->bv_len + 1 ); in lutil_passwd_string64()
472 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_ssha1()
517 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_sha1()
559 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_smd5()
604 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_md5()
H A Dpassfile.c70 passwd->bv_val = (char *) ber_memalloc( passwd->bv_len + 1 ); in lutil_get_filed_password()
H A Dsasl.c81 defaults = ber_memalloc( sizeof( lutilSASLdefaults ) ); in lutil_sasl_defaults()
H A Dutils.c506 d = ber_memalloc( sizeof(DIR) ); in opendir()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/pwmods/
H A Dargon2.c93 salt.bv_val = ber_memalloc( salt.bv_len ); in slapd_argon2_hash()
104 p = hash->bv_val = ber_memalloc( scheme->bv_len + encoded_length ); in slapd_argon2_hash()
131 p = hash->bv_val = ber_memalloc( scheme->bv_len + crypto_pwhash_STRBYTES ); in slapd_argon2_hash()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dldif.c54 #define ber_memalloc malloc macro
364 must_b64_encode = ber_memalloc( sizeof( must_b64_encode_s ) * ( i + 2 ) ); in ldif_must_b64_encode_register()
685 buf = (char *) ber_memalloc( LDIF_SIZE_NEEDED_WRAP( nlen, vlen, wrap ) + 1 ); in ldif_put_wrap()
735 lfp = ber_memalloc( sizeof( LDIFFP )); in ldif_open()
757 lfp = ber_memalloc( sizeof( LDIFFP )); in ldif_open_mem()
879 LDIFFP *lnew = ber_memalloc( sizeof( LDIFFP )); in ldif_read_record()
H A Davl.c47 #define ber_memalloc malloc macro
84 if (( r = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) { in ldap_avl_insert()
109 if (( q = (Avlnode *) ber_memalloc( sizeof( Avlnode ))) == NULL ) { in ldap_avl_insert()
604 avl_list = (void* *) ber_memalloc(AVL_GRABSIZE * sizeof(void*)); in avl_buildlist()
H A Dtavl.c34 #define ber_memalloc malloc macro
74 if (( r = (TAvlnode *) ber_memalloc( sizeof( TAvlnode ))) == NULL ) { in ldap_tavl_insert()
99 if (( q = (TAvlnode *) ber_memalloc( sizeof( TAvlnode ))) == NULL ) { in ldap_tavl_insert()
H A Dldifutil.c684 newctrl = (LDAPControl *)ber_memalloc(sizeof(LDAPControl)); in parse_ldif_control()
H A Dcyrus.c108 ber_memalloc, in ldap_int_sasl_init()
/netbsd-src/external/bsd/openldap/dist/libraries/liblber/
H A Dlber-int.h200 #define LBER_MALLOC(s) ber_memalloc((s))
H A Dmemory.c247 ber_memalloc( ber_len_t s ) in ber_memalloc() function
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/totp/
H A Dslapd-totp.c478 key.mv_val = ber_memalloc(key.mv_len+1); in chk_totp()
635 hash->bv_val = ber_memalloc(hash->bv_len + 1); in passwd_string32()
688 hash->bv_val = ber_memalloc(hash->bv_len + 1); in hash_totp_and_pw()
/netbsd-src/external/bsd/openldap/dist/clients/tools/
H A Dcommon.c748 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in tool_args()
2085 ptr = ber_memalloc( bv.bv_len + 1 + plen ); in print_paged_results()
2201 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_vlv()
2408 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncstate()
2459 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncdone()
2492 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_dirsync()
2689 b64.bv_val = ber_memalloc( b64.bv_len + 1 ); in tool_print_ctrls()
H A Dldapsearch.c2137 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
2164 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
2199 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
2235 bv.bv_val = ber_memalloc( bv.bv_len + 1 ); in print_syncinfo()
H A Dldapmodify.c296 if (( rejbuf = (char *)ber_memalloc( len+1 )) == NULL ) { in main()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/ppm/
H A Dppm.c373 *target = (char *) ber_memalloc(curlen); in realloc_error_message()
450 char *szErrStr = (char *) ber_memalloc(MEM_INIT_SZ); in check_password()
/netbsd-src/external/bsd/openldap/dist/tests/progs/
H A Dslapd-addel.c200 if (( bvp = (struct berval *)ber_memalloc( sizeof( struct berval ))) in addmodifyop()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
H A Dapr1.c139 orig_pass = (unsigned char *) ber_memalloc(decode_len + 1); in chk_phk()
/netbsd-src/external/bsd/openldap/dist/libraries/librewrite/
H A Drewrite-int.h45 #define malloc(x) ber_memalloc(x)
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hdb/
H A Dhdb-ldap.c183 (*modlist)[cMods] = (LDAPMod *)ber_memalloc(sizeof(LDAPMod)); in LDAP__setmod()
228 bv = ber_memalloc(2 * sizeof(*bv)); in LDAP_addmod_len()
234 bv[i] = ber_memalloc(sizeof(**bv));; in LDAP_addmod_len()
267 bv = ber_memalloc(2 * sizeof(*bv)); in LDAP_addmod()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dmr.c449 mru = (MatchingRuleUse *)ber_memalloc( sizeof( MatchingRuleUse ) ); in matching_rule_use_init()
H A Dslap.h97 #define SLAP_MALLOC(s) ber_memalloc((s))
/netbsd-src/external/bsd/openldap/dist/include/
H A Dlber.h601 ber_memalloc LDAP_P((