Changes between Initial Version and Version 3 of Ticket #9235


Ignore:
Timestamp:
Oct 12, 2013, 10:50:01 AM (9 years ago)
Author:
Domagoj Šarić
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9235

    • Property Status newclosed
    • Property Resolutionwontfix
  • Ticket #9235 – Description

    initial v3  
    11I didn't find a way to directly construct fixed sized cpp_int from existing binary data (a static array, for example an RSA key hardcoded into a .cpp after being generated with OpenSSL)...
    2 I had to resort to either using the from-string constructor or inserting the data byte by byte with 8 bit shifts and or-ing in a loop both of which are ugly and inefficient (https://svn.boost.org/trac/boost/ticket/9233, https://svn.boost.org/trac/boost/ticket/9234)...
     2I had to resort to either using the from-string constructor or inserting the data byte by byte with 8 bit shifts and or-ing in a loop both of which are ugly and inefficient:
     3https://svn.boost.org/trac/boost/ticket/9233 https://svn.boost.org/trac/boost/ticket/9234
     4https://svn.boost.org/trac/boost/ticket/9243
     5...
    36
    47Ideally it would be possible to create static fixed size numbers as one creates PODs, without a dynamic initializer being created by the compiler..