Home
last modified time | relevance | path

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

/freebsd/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.c947 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob() argument
956 if (blobp != NULL) in to_blob()
957 *blobp = NULL; in to_blob()
965 if (blobp != NULL) { in to_blob()
966 if ((*blobp = malloc(len)) == NULL) { in to_blob()
970 memcpy(*blobp, sshbuf_ptr(b), len); in to_blob()
979 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob() argument
981 return to_blob(key, blobp, lenp, 0, SSHKEY_SERIALIZE_DEFAULT); in sshkey_to_blob()
985 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob() argument
987 return to_blob(key, blobp, lenp, 1, SSHKEY_SERIALIZE_DEFAULT); in sshkey_plain_to_blob()
H A Dssh-keygen.c2273 hash_to_blob(const char *cp, u_char **blobp, size_t *lenp, in hash_to_blob() argument
2303 *blobp = xmalloc(*lenp); in hash_to_blob()
2304 memcpy(*blobp, sshbuf_ptr(b), *lenp); in hash_to_blob()