Lines Matching defs:encoded
2812 struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL;
2827 (encoded = sshbuf_new()) == NULL ||
2859 if ((r = sshbuf_put(encoded, AUTH_MAGIC, sizeof(AUTH_MAGIC))) != 0 ||
2860 (r = sshbuf_put_cstring(encoded, ciphername)) != 0 ||
2861 (r = sshbuf_put_cstring(encoded, kdfname)) != 0 ||
2862 (r = sshbuf_put_stringb(encoded, kdf)) != 0 ||
2863 (r = sshbuf_put_u32(encoded, 1)) != 0 || /* number of keys */
2865 (r = sshbuf_put_string(encoded, pubkeyblob, pubkeylen)) != 0)
2890 if ((r = sshbuf_put_u32(encoded, sshbuf_len(encrypted))) != 0)
2894 if ((r = sshbuf_reserve(encoded,
2905 (r = sshbuf_dtob64(encoded, blob, 1)) != 0 ||
2914 sshbuf_free(encoded);
2932 struct sshbuf *encoded = NULL, *decoded = NULL;
2939 if ((encoded = sshbuf_new()) == NULL ||
2959 if ((r = sshbuf_put_u8(encoded, *cp)) != 0)
2969 if ((r = sshbuf_put_u8(encoded, 0)) != 0)
2981 if ((r = sshbuf_b64tod(decoded, (char *)sshbuf_ptr(encoded))) != 0)
2995 sshbuf_free(encoded);