Home | History | Annotate | Download | only in liblutil

Lines Matching refs:scheme

146 	/* pseudo scheme */
154 struct berval *scheme,
165 ptr->s.name = *scheme;
194 const char* scheme )
201 bv.bv_val = strchr( scheme, '}' );
205 bv.bv_len = bv.bv_val - scheme + 1;
206 bv.bv_val = (char *) scheme;
218 const char* scheme )
220 if( scheme == NULL ) {
224 return get_scheme(scheme) != NULL;
229 const char* scheme,
237 if( strcasecmp( scheme, schemes[i] ) == 0 ) {
245 const struct pw_scheme *scheme,
250 if( !is_allowed_scheme( scheme->name.bv_val, allowed ) ) {
254 if( passwd->bv_len >= scheme->name.bv_len ) {
255 if( strncasecmp( passwd->bv_val, scheme->name.bv_val, scheme->name.bv_len ) == 0 ) {
256 bv->bv_val = &passwd->bv_val[scheme->name.bv_len];
257 bv->bv_len = passwd->bv_len - scheme->name.bv_len;
301 /* Do we think there is a scheme specifier here that we
302 * didn't recognize? Assume a scheme name is at least 1 character.
356 if( text ) *text = "scheme not recognized";
361 if( text ) *text = "scheme provided no hash function";
756 const struct berval *scheme,
783 return lutil_passwd_string64( scheme, &digest, hash, &salt);
787 const struct berval *scheme,
803 return lutil_passwd_string64( scheme, &digest, hash, NULL);
808 const struct berval *scheme,
835 return lutil_passwd_string64( scheme, &digest, hash, &salt );
839 const struct berval *scheme,
857 return lutil_passwd_string64( scheme, &digest, hash, NULL );
863 const struct berval *scheme,
912 rc = pw_string( scheme, hash );
932 const struct berval *scheme,