aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: InvertibleRSAFunction: computational error during private key operation  (Read 3868 times)

mc

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25

Hello, all

What are these? It seems that there are no functional problems, but a lot of logs.
Code: [Select]
2008-04-03 12:59:00: ClientCreditsList.cpp(381): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-04-03 12:59:01: ClientCreditsList.cpp(381): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
I'm using amule-cvs-20080402 on Fedora x86_64.
Thank you
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685

What version of crypto++ are you using? Seems like a crypto++ error.
Logged
concordia cum veritate

mc

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25

I'm using  the Crypto++ Version 5.5.2 compiled by gcc version 4.3.0 and have found that gcc 4.3.0 caused this.
Logged

mc

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25

'./cryptest.exe  v' revealed the following:
Code: [Select]
.............................
BlumBlumShub validation suite running...

passed    49ea2cfdb01064a0bbb92af101dac18a94f7b7ce
FAILED    5e205ecc60e4c12d044c
FAILED    8c6c2c1b3cc52df5077c041f006147f07f3c7161

DH validation suite running...

FAILED    simple key agreement domain parameters invalid

MQV validation suite running...

FAILED    authenticated key agreement domain parameters invalid

RSA validation suite running...


CryptoPP::Exception caught: InvertibleRSAFunction: computational error during private key operation
Should we convince GCC or Cryptopp people?
By the way, I could not visit www.cryptopp.com.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685

Should we convince GCC or Cryptopp people?
Both.
Logged
concordia cum veritate

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795

That's scary.
Logged

mc

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25

g++ -O1 -fschedule-insns  -c algparam.cpp
Code: [Select]
algparam.cpp: In member function ‘virtual bool CryptoPP::CombinedNameValuePairs::GetVoidValue(const char*, const std::type_info&, void*) const’:
algparam.cpp:19: error: unable to find a register to spill in class ‘CREG’
algparam.cpp:19: error: this is the insn:
(insn 13 4 5 2 algparam.cpp:15 (parallel [
            (set (reg:CC 17 flags)
                (compare:CC (mem:BLK (reg:DI 4 si [orig:73 name ] [73]) [0 A8])
                    (mem/s/j:BLK (reg:DI 37 r8 [74]) [0 A8])))
            (use (reg:DI 0 ax [75]))
            (use (const_int 1 [0x1]))
            (clobber (reg:DI 4 si [orig:73 name ] [73]))
            (clobber (reg:DI 37 r8 [74]))
            (clobber (reg:DI 0 ax [75]))
        ]) 806 {*cmpstrnqi_nz_rex_1} (expr_list:REG_DEAD (reg:DI 0 ax [75])
        (expr_list:REG_DEAD (reg:DI 37 r8 [74])
            (expr_list:REG_DEAD (reg:DI 4 si [orig:73 name ] [73])
                (expr_list:REG_UNUSED (reg:DI 0 ax [75])
                    (expr_list:REG_UNUSED (reg:DI 37 r8 [74])
                        (expr_list:REG_UNUSED (reg:DI 4 si [orig:73 name ] [73])
                            (nil))))))))
algparam.cpp:19: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccobGXmz.out file, please attach this to your bugreport.

Seems to be a known problem.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27001
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33791

But '-O2' does not reveal this.
Logged