shithub: riscv

Download patch

ref: dacc4dc31a698ae0a7d64d8b5a60014c690f307c
parent: ffb3ded366b7878c4fa70773bcc3f8260a010f90
parent: 092fd361547c9beef9cf0ffbee46b2de579b4214
author: cinap_lenrek <[email protected]>
date: Sun Feb 10 19:11:28 EST 2013

merge

--- a/sys/include/mp.h
+++ b/sys/include/mp.h
@@ -45,7 +45,7 @@
 char*	mptoa(mpint*, int, char*, int);
 mpint*	letomp(uchar*, uint, mpint*);	/* byte array, little-endian */
 int	mptole(mpint*, uchar*, uint, uchar**);
-mpint*	betomp(uchar*, uint, mpint*);	/* byte array, little-endian */
+mpint*	betomp(uchar*, uint, mpint*);	/* byte array, big-endian */
 int	mptobe(mpint*, uchar*, uint, uchar**);
 uint	mptoui(mpint*);			/* unsigned int */
 mpint*	uitomp(uint, mpint*);