Lines Matching refs:publickey
17 const char *publickey,
135 if (c->publickey) { in ssh_key_free()
137 size_t key_len = strlen(c->publickey); in ssh_key_free()
138 git__memzero(c->publickey, key_len); in ssh_key_free()
139 git__free(c->publickey); in ssh_key_free()
160 if (c->publickey) { in ssh_custom_free()
162 size_t key_len = strlen(c->publickey); in ssh_custom_free()
163 git__memzero(c->publickey, key_len); in ssh_custom_free()
164 git__free(c->publickey); in ssh_custom_free()
185 const char *publickey, in git_cred_ssh_key_new() argument
192 publickey, in git_cred_ssh_key_new()
201 const char *publickey, in git_cred_ssh_key_memory_new() argument
209 publickey, in git_cred_ssh_key_memory_new()
216 GIT_UNUSED(publickey); in git_cred_ssh_key_memory_new()
229 const char *publickey, in git_cred_ssh_key_type_new() argument
250 if (publickey) { in git_cred_ssh_key_type_new()
251 c->publickey = git__strdup(publickey); in git_cred_ssh_key_type_new()
252 GIT_ERROR_CHECK_ALLOC(c->publickey); in git_cred_ssh_key_type_new()
313 const char *publickey, in git_cred_ssh_custom_new() argument
332 c->publickey = git__malloc(publickey_len); in git_cred_ssh_custom_new()
333 GIT_ERROR_CHECK_ALLOC(c->publickey); in git_cred_ssh_custom_new()
335 memcpy(c->publickey, publickey, publickey_len); in git_cred_ssh_custom_new()