Home
last modified time | relevance | path

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

/netbsd/src/crypto/external/bsd/openssh/dist/
Dsshbuf-io.c35 sshbuf_load_fd(int fd, struct sshbuf **blobp) in sshbuf_load_fd() argument
43 *blobp = NULL; in sshbuf_load_fd()
72 *blobp = blob; in sshbuf_load_fd()
Dsshkey.c912 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob() argument
921 if (blobp != NULL) in to_blob()
922 *blobp = NULL; in to_blob()
930 if (blobp != NULL) { in to_blob()
931 if ((*blobp = malloc(len)) == NULL) { in to_blob()
935 memcpy(*blobp, sshbuf_ptr(b), len); in to_blob()
944 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob() argument
946 return to_blob(key, blobp, lenp, 0, SSHKEY_SERIALIZE_DEFAULT); in sshkey_to_blob()
950 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob() argument
952 return to_blob(key, blobp, lenp, 1, SSHKEY_SERIALIZE_DEFAULT); in sshkey_plain_to_blob()
Dssh-keygen.c2255 hash_to_blob(const char *cp, u_char **blobp, size_t *lenp, in hash_to_blob() argument
2285 *blobp = xmalloc(*lenp); in hash_to_blob()
2286 memcpy(*blobp, sshbuf_ptr(b), *lenp); in hash_to_blob()