Searched refs:pw_len (Results 1 – 4 of 4) sorted by relevance
422 static int pkcs12_key_gen(const u8 *pw, size_t pw_len, const u8 *salt, in pkcs12_key_gen() argument442 P_len = v * ((pw_len + v - 1) / v); in pkcs12_key_gen()451 if (pw_len) { in pkcs12_key_gen()453 *pos++ = pw[i % pw_len]; in pkcs12_key_gen()515 size_t pw_len; in pkcs12_crypto_init_sha1() local522 pw_len = passwd ? os_strlen(passwd) : 0; in pkcs12_crypto_init_sha1()523 pw = os_malloc(2 * (pw_len + 1)); in pkcs12_crypto_init_sha1()526 if (pw_len) { in pkcs12_crypto_init_sha1()527 for (i = 0; i <= pw_len; i++) in pkcs12_crypto_init_sha1()529 pw_len = 2 * (pw_len + 1); in pkcs12_crypto_init_sha1()[all …]
155 unsigned short pw_len; member
488 msg.pw_len = 0; in smb_send_tree_connect()
856 size_t pw_len; in radius_server_macacl() local861 &pw_len, NULL) < 0) { in radius_server_macacl()884 if (res < 0 || pw_len != (size_t) res || in radius_server_macacl()