comparison dropbearkey.c @ 603:3aa74a4d83ae

Refer to RFCs rather than drafts, update some section references
author Matt Johnston <matt@ucc.asn.au>
date Sun, 27 Feb 2011 13:57:32 +0000
parents e430a26064ee
children 2b1bb792cd4d af4ef98b8591
comparison
equal deleted inserted replaced
602:2d896267f16d 603:3aa74a4d83ae
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 * SOFTWARE. */ 23 * SOFTWARE. */
24 24
25 /* The format of the keyfiles is basically a raw dump of the buffer. Data types 25 /* The format of the keyfiles is basically a raw dump of the buffer. Data types
26 * are specified in the transport draft - string is a 32-bit len then the 26 * are specified in the transport rfc 4253 - string is a 32-bit len then the
27 * non-null-terminated string, mp_int is a 32-bit len then the bignum data. 27 * non-null-terminated string, mp_int is a 32-bit len then the bignum data.
28 * The actual functions are buf_put_rsa_priv_key() and buf_put_dss_priv_key() 28 * The actual functions are buf_put_rsa_priv_key() and buf_put_dss_priv_key()
29 29
30 * RSA: 30 * RSA:
31 * string "ssh-rsa" 31 * string "ssh-rsa"