Home
last modified time | relevance | path

Searched refs:blobp (Results 1 – 2 of 2) sorted by relevance

/external/openssh/
Dkey.c109 key_to_blob(const Key *key, u_char **blobp, u_int *lenp) in key_to_blob() argument
115 if (blobp != NULL) in key_to_blob()
116 *blobp = NULL; in key_to_blob()
126 if (blobp != NULL) in key_to_blob()
127 *blobp = blob; in key_to_blob()
Dsshkey.c830 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain) in to_blob() argument
838 if (blobp != NULL) in to_blob()
839 *blobp = NULL; in to_blob()
847 if (blobp != NULL) { in to_blob()
848 if ((*blobp = malloc(len)) == NULL) { in to_blob()
852 memcpy(*blobp, sshbuf_ptr(b), len); in to_blob()
861 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob() argument
863 return to_blob(key, blobp, lenp, 0); in sshkey_to_blob()
867 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob() argument
869 return to_blob(key, blobp, lenp, 1); in sshkey_plain_to_blob()