comparison dropbearkey.c @ 641:2b1bb792cd4d dropbear-tfm

- Update tfm changes to current default tip
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Nov 2011 19:52:28 +0800
parents 76097ec1a29a 3aa74a4d83ae
children
comparison
equal deleted inserted replaced
640:76097ec1a29a 641:2b1bb792cd4d
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, fp_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"
32 * fp_int e 32 * fp_int e