Home
last modified time | relevance | path

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

/dragonfly/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.c974 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob() argument
983 if (blobp != NULL) in to_blob()
984 *blobp = NULL; in to_blob()
992 if (blobp != NULL) { in to_blob()
993 if ((*blobp = malloc(len)) == NULL) { in to_blob()
997 memcpy(*blobp, sshbuf_ptr(b), len); in to_blob()
1006 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob() argument
1008 return to_blob(key, blobp, lenp, 0, SSHKEY_SERIALIZE_DEFAULT); in sshkey_to_blob()
1012 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob() argument
1014 return to_blob(key, blobp, lenp, 1, SSHKEY_SERIALIZE_DEFAULT); in sshkey_plain_to_blob()
H A Dssh-keygen.c2220 hash_to_blob(const char *cp, u_char **blobp, size_t *lenp, in hash_to_blob() argument
2249 *blobp = xmalloc(*lenp); in hash_to_blob()
2250 memcpy(*blobp, sshbuf_ptr(b), *lenp); in hash_to_blob()