Home
last modified time | relevance | path

Searched refs:passwd (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A Dsmbencrypt.c144 SMBencrypt(unsigned char *passwd, const unsigned char *c8, unsigned char *p24) in SMBencrypt() argument
153 memcpy(p14, passwd, 14); in SMBencrypt()
169 E_md4hash(const unsigned char *passwd, unsigned char *p16, in E_md4hash() argument
177 if (passwd) /* Password must be converted to NT unicode */ in E_md4hash()
178 len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); in E_md4hash()
192 SMBNTencrypt(unsigned char *passwd, unsigned char *c8, unsigned char *p24, in SMBNTencrypt() argument
201 rc = E_md4hash(passwd, p16, codepage); in SMBNTencrypt()
H A Dcifsproto.h552 extern int E_md4hash(const unsigned char *passwd, unsigned char *p16,
554 extern int SMBencrypt(unsigned char *passwd, const unsigned char *c8,
/kernel/liteos_a/testsuites/unittest/libc/sys/full/
H A Dsys_test_019.cpp35 struct passwd pwd; in TestCase()
36 struct passwd *user1 = nullptr; in TestCase()
37 struct passwd *user2 = nullptr; in TestCase()
38 struct passwd *user3 = nullptr; in TestCase()
39 struct passwd *user4 = nullptr; in TestCase()
40 struct passwd *user5 = nullptr; in TestCase()
44 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase()
48 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase()
51 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
105 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
[all...]
H A Dsys_test_021.cpp35 struct passwd pwd; in TestCase()
36 struct passwd *user1 = nullptr; in TestCase()
37 struct passwd *user2 = nullptr; in TestCase()
38 struct passwd *user3 = nullptr; in TestCase()
39 struct passwd *user4 = nullptr; in TestCase()
40 struct passwd *user5 = nullptr; in TestCase()
44 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase()
48 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase()
51 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
113 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
[all...]
H A Dsys_test_018.cpp35 struct passwd *user1 = nullptr; in TestCase()
36 struct passwd *user2 = nullptr; in TestCase()
37 struct passwd *user3 = nullptr; in TestCase()
38 struct passwd *user4 = nullptr; in TestCase()
40 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase()
44 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase()
47 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
88 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
91 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
H A Dsys_test_020.cpp35 struct passwd *user1 = nullptr; in TestCase()
36 struct passwd *user2 = nullptr; in TestCase()
37 struct passwd *user3 = nullptr; in TestCase()
38 struct passwd *user4 = nullptr; in TestCase()
40 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase()
44 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase()
47 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
90 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
93 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
H A Dsys_test_022.cpp35 struct passwd *user1 = nullptr; in TestCase()
36 struct passwd *user2 = nullptr; in TestCase()
38 CHAR *pathList[] = {"/etc/group", "/etc/passwd"}; in TestCase()
42 ret = PrepareFileEnv(pathList, streamList, streamLen, 2); /* 2, group & passwd */ in TestCase()
45 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
85 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
89 (VOID)RecoveryFileEnv(pathList, 2); /* 2, group & passwd */ in TestCase()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmbencrypt.c72 E_md4hash(const unsigned char *passwd, unsigned char *p16, in E_md4hash() argument
80 if (passwd) /* Password must be converted to NT unicode */ in E_md4hash()
81 len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); in E_md4hash()
H A Dcifsproto.h584 extern int E_md4hash(const unsigned char *passwd, unsigned char *p16,
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dthink-lmi.c697 char *auth_str, *passwd; in cert_to_password_store() local
712 passwd = kstrdup(buf, GFP_KERNEL); in cert_to_password_store()
713 if (!passwd) in cert_to_password_store()
717 strip_cr(passwd); in cert_to_password_store()
720 auth_str = kasprintf(GFP_KERNEL, "%s,%s", passwd, setting->signature); in cert_to_password_store()
722 kfree_sensitive(passwd); in cert_to_password_store()
727 kfree_sensitive(passwd); in cert_to_password_store()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dtarget.c71 struct passwd pwd, *result; in target__parse_uid()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dtarget.c99 struct passwd pwd, *result; in target__parse_uid()
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c97 struct passwd p; in ensure_user_exists()
104 fd=fopen("/etc/passwd","a"); in ensure_user_exists()
333 // /etc/passwd or flush policies that were added to the LSM. in main()
/kernel/linux/linux-6.6/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c109 struct passwd p; in ensure_user_exists()
116 fd=fopen("/etc/passwd","a"); in ensure_user_exists()
539 // /etc/passwd or flush policies that were added to the LSM. in main()

Completed in 9 milliseconds