Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 5 of 5) sorted by relevance

/busybox-1.35.0/loginutils/
Dchpasswd.c53 const char *algo = CONFIG_FEATURE_DEFAULT_PASSWD_ALGO; in chpasswd_main() local
62 &algo, &root in chpasswd_main()
87 algo = "md5"; in chpasswd_main()
90 crypt_make_pw_salt(salt, algo); in chpasswd_main()
Dpasswd.c43 static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo) in new_password() argument
85 crypt_make_pw_salt(salt, algo); in new_password()
/busybox-1.35.0/libbb/
Dpw_encrypt.c55 char* FAST_FUNC crypt_make_pw_salt(char salt[MAX_PW_SALT_LEN], const char *algo) in crypt_make_pw_salt() argument
63 if ((algo[0]|0x20) != 'd') { /* not des */ in crypt_make_pw_salt()
69 if ((algo[0]|0x20) == 's') { /* sha */ in crypt_make_pw_salt()
70 salt[1] = '5' + (strcasecmp(algo, "sha512") == 0); in crypt_make_pw_salt()
/busybox-1.35.0/miscutils/
Di2c_tools.c1054 const char *algo; member
1058 { .funcs = "dummy", .algo = "Dummy bus", },
1059 { .funcs = "isa", .algo = "ISA bus", },
1060 { .funcs = "i2c", .algo = "I2C adapter", },
1061 { .funcs = "smbus", .algo = "SMBus adapter", },
1211 name, adap_descs[adt].algo); in list_i2c_busses_and_exit()
/busybox-1.35.0/include/
Dlibbb.h1775 extern char* crypt_make_pw_salt(char p[MAX_PW_SALT_LEN], const char *algo) FAST_FUNC;