Home | History | Annotate | Download | only in openssh

Lines Matching refs:decoded

3198 	struct sshbuf *encoded = NULL, *decoded = NULL;
3211 (decoded = sshbuf_new()) == NULL ||
3253 if ((r = sshbuf_b64tod(decoded, (char *)sshbuf_ptr(encoded))) != 0)
3257 if (sshbuf_len(decoded) < sizeof(AUTH_MAGIC) ||
3258 memcmp(sshbuf_ptr(decoded), AUTH_MAGIC, sizeof(AUTH_MAGIC))) {
3263 if ((r = sshbuf_consume(decoded, sizeof(AUTH_MAGIC))) != 0 ||
3264 (r = sshbuf_get_cstring(decoded, &ciphername, NULL)) != 0 ||
3265 (r = sshbuf_get_cstring(decoded, &kdfname, NULL)) != 0 ||
3266 (r = sshbuf_froms(decoded, &kdf)) != 0 ||
3267 (r = sshbuf_get_u32(decoded, &nkeys)) != 0 ||
3268 (r = sshbuf_skip_string(decoded)) != 0 || /* pubkey */
3269 (r = sshbuf_get_u32(decoded, &encrypted_len)) != 0)
3323 if (sshbuf_len(decoded) < encrypted_len + authlen) {
3333 if ((r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(decoded),
3340 if ((r = sshbuf_consume(decoded, encrypted_len + authlen)) != 0)
3343 if (sshbuf_len(decoded) != 0) {
3400 sshbuf_free(decoded);