Lines Matching refs:encrypted
2760 struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL; in sshkey_private_to_blob2() local
2776 (encrypted = sshbuf_new()) == NULL) { in sshkey_private_to_blob2()
2820 if ((r = sshbuf_put_u32(encrypted, check)) != 0 || in sshkey_private_to_blob2()
2821 (r = sshbuf_put_u32(encrypted, check)) != 0) in sshkey_private_to_blob2()
2825 if ((r = sshkey_private_serialize_opt(prv, encrypted, in sshkey_private_to_blob2()
2827 (r = sshbuf_put_cstring(encrypted, comment)) != 0) in sshkey_private_to_blob2()
2832 while (sshbuf_len(encrypted) % blocksize) { in sshkey_private_to_blob2()
2833 if ((r = sshbuf_put_u8(encrypted, ++i & 0xff)) != 0) in sshkey_private_to_blob2()
2838 if ((r = sshbuf_put_u32(encoded, sshbuf_len(encrypted))) != 0) in sshkey_private_to_blob2()
2843 sshbuf_len(encrypted) + authlen, &cp)) != 0) in sshkey_private_to_blob2()
2846 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0) in sshkey_private_to_blob2()
2863 sshbuf_free(encrypted); in sshkey_private_to_blob2()