Home
last modified time | relevance | path

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

/dflybsd-src/crypto/openssh/
H A Dsshbuf-io.c34 sshbuf_load_fd(int fd, struct sshbuf **blobp) in sshbuf_load_fd() argument
42 *blobp = NULL; in sshbuf_load_fd()
71 *blobp = blob; in sshbuf_load_fd()
H A Dsshkey.c808 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob() argument
817 if (blobp != NULL) in to_blob()
818 *blobp = NULL; in to_blob()
826 if (blobp != NULL) { in to_blob()
827 if ((*blobp = malloc(len)) == NULL) { in to_blob()
831 memcpy(*blobp, sshbuf_ptr(b), len); in to_blob()
840 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob() argument
842 return to_blob(key, blobp, lenp, 0, SSHKEY_SERIALIZE_DEFAULT); in sshkey_to_blob()
846 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob() argument
848 return to_blob(key, blobp, lenp, 1, SSHKEY_SERIALIZE_DEFAULT); in sshkey_plain_to_blob()
H A Dssh-keygen.c2245 hash_to_blob(const char *cp, u_char **blobp, size_t *lenp, in hash_to_blob() argument
2275 *blobp = xmalloc(*lenp); in hash_to_blob()
2276 memcpy(*blobp, sshbuf_ptr(b), *lenp); in hash_to_blob()