Index: libyc_crypt.a
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: libyc_crypt.a
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: yc_crypt.lib
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: yc_crypt.lib
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: yc_rsa.c
===================================================================
--- /YC3121_SDK/fw/crypt/yc_rsa.c	(revision 594)
+++ /YC3121_SDK/fw/crypt/yc_rsa.c	(working copy)
@@ -1567,7 +1567,12 @@
  	uint32_t Geta_t[32] = {0xdb4decf3, 0x19a4952d, 0xf48622b7, 0xa6639a70,0x0584177a, 0x9cdced3a, 0x1ba9b3f3, 0xee67d4f2,0x18d42169, 0x774d18ec, 0x9b3a296a, 0xb8799127,0x91b35653, 0x8db83803, 0x99d6663a, 0x62f6fb1b,0x9574f2fc, 0x2ce37cda, 0x98e09d12, 0x58ac684a,0x22cd66e1, 0xfbb8fefb, 0xbe0dddb3, 0x11b48108,0x2e376b25, 0x904742a8, 0xfbde1368, 0x811d8558,0x25366e6a, 0x8d02e7a5, 0xd4d9e03b, 0x0000f6c6};		
 	uint32_t Gpi_t[32] = {0x333c6dff, 0x3c859740, 0x83a9c99d, 0x0019d278,0xf9b5f56e, 0x295d014e, 0x54b7c0a6, 0xb0f3b0a1,0xe94a9339, 0xfed33126, 0xf236e4cf, 0x86359d2a,0x0ff89ce9, 0x779c2d92, 0xdebc47af, 0x71968982,0x3014e5fc, 0xf79cd329, 0x3417567c, 0x180ab163,0x9001f315, 0x5a0dc0b9, 0x6c5abe37, 0xeab6ece4,0x3bdf99d9, 0x75e2e152, 0x9dbb62dc, 0x3cd3613b,0x021900cb, 0x62e8ee47, 0x541b773d, 0x4af7b507}; 
 	uint32_t Gro_t[32] = {0x1c448bcb, 0x5b31a033, 0xf8ad017e, 0x6604c54d,0xd1dd06d7, 0x8abfa495, 0xaeb13ddb, 0x08130c4c,0x72f69d52, 0xfcbd0782, 0x5ceb49bc, 0xa47ae67c,0x65ddef7c, 0xd68e963b, 0x6603097e, 0x1d58520b,0xc6512474, 0x6ad0b2cb, 0x1b179a0f, 0x8f8c603e,0x5d6c62b4, 0xc681a59a, 0x59d58b30, 0xc0fab2b1,0xc4c73409, 0x55a42fce, 0xf98a9e7d, 0xf095b2d8,0xfa647def, 0xd67d82d8, 0x45dc8ec2, 0xb504ff98};
-
+	
+	uint32_t RSA_CLK = 0;
+	
+	RSA_CLK = SYSCTRL_RSACLK;
+	SYSCTRL_RSACLK = 7;
+	
 	uint32_t *rand = Grand_p_t;
  	rsa_prime *prime = NULL;
 	rsa_prime prime_t;
@@ -1650,6 +1655,7 @@
 //			break;
  		count--;
 	}
+	SYSCTRL_RSACLK = RSA_CLK;
 //	memcpy_r((uint8_t *)result,(uint8_t *)result,len<<2);
 	return RET_CALC_IMPLEMENT_SUCCESS;
 }
