Lines Matching defs:blobp
904 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain,
913 if (blobp != NULL)
914 *blobp = NULL;
922 if (blobp != NULL) {
923 if ((*blobp = malloc(len)) == NULL) {
927 memcpy(*blobp, sshbuf_ptr(b), len);
936 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
938 return to_blob(key, blobp, lenp, 0, SSHKEY_SERIALIZE_DEFAULT);
942 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
944 return to_blob(key, blobp, lenp, 1, SSHKEY_SERIALIZE_DEFAULT);