提交 2e75ed33 编写于 作者: A Andy Polyakov

ppccap.c: addenum to recent EC optimizations.

上级 d8ea368c
......@@ -22,7 +22,7 @@ int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_U
if (sizeof(size_t)==4)
{
#if (defined(__APPLE__) && defined(__MACH__))
if ((OPENSSL_ppccap_P&PPC_FPU64))
if (num>=8 && (num&3)==0 && (OPENSSL_ppccap_P&PPC_FPU64))
return bn_mul_mont_fpu64(rp,ap,bp,np,n0,num);
#else
/* boundary of 32 was experimentally determined on
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册