Re: Help with Crypto++
Inês <[email protected]>
| Newsgroups | gmane.comp.encryption.cryptopp |
|---|---|
| Message-ID | <[email protected]> |
I've tried this one: LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH} ./cryptest.exe b
60 2.1
and still got the error though... "Exception caught: AES/GCM: message
length exceeds maximum"
On Sunday, November 29, 2020 at 12:06:33 PM UTC Inês wrote:
> nice that worked! Is there any way to set the path so that I don-t have to
> run all that command everytime?
>
> On Sunday, November 29, 2020 at 2:26:48 AM UTC Mouse wrote:
>
>> Run cryptest.exe like this:
>>
>> LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH} ./cryptest.exe TV all
>>
>>
>>
>> On Nov 28, 2020, at 20:03, Inês <[email protected]> wrote:
>>
>> Can you give me some help? I am so confused.
>>
>>
>>
>> On Saturday, November 28, 2020 at 12:37:59 PM UTC Jeffrey Walton wrote:
>>
>>> On Fri, Nov 27, 2020 at 7:33 PM Inês <[email protected]> wrote:
>>> >
>>> > I am new to Crypto++ and I'm having some problems, I'd like to know if
>>> you could give me some help. The matter is the following, I have already
>>> compiled/installed crypto++ which I've cloned from github.
>>> >
>>> > Now, while running this command "cryptest tv chacha" the following
>>> errors appear:
>>> >
>>> > CryptoPP::Exception caught: ObjectFactoryRegistry: could not find
>>> factory for algorithm ChaCha
>>> > Skipping to next test.
>>> >
>>> > CryptoPP::Exception caught: Unexpected error during validation test
>>> >
>>> > This also happen with "cryptest tv all" and "cryptest v".
>>> >
>>> > Also, if I run this command "./cryptest.exe b 60 1.5" at a certain
>>> point almost when it is finishing the retrieving of the html page this
>>> error appears:
>>> > "<TBODY style="background: white;">
>>> > Exception caught: AES/GCM: message length exceeds maximum"
>>> >
>>> > As I am new to this library I am a little confused and don't know what
>>> to expect. If any of you kind souls could give me some help I would be very
>>> grateful as I have to use this for a project.
>>>
>>> I've seen that before on Linux. It sounds like a newer version of
>>> cryptest.exe is being used with an older version of the library. It is
>>> the Linux version of DLL Hell.
>>>
>>> If possible, use either one or the other. Otherwise, use something to
>>> set your library path, like the linker's $ORIGIN option or
>>> LD_LIBRARY_PATH at runtime.
>>>
>>> Jeff
>>>
>> --
>> You received this message because you are subscribed to "Crypto++ Users".
>> More information about Crypto++ and this group is available at
>> http://www.cryptopp.com and
>> http://groups.google.com/forum/#!forum/cryptopp-users.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Crypto++ Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/cryptopp-users/cb3510a5-8703-497e-a028-f4cdb4f9ce5bn%40googlegroups.com
>> <https://groups.google.com/d/msgid/cryptopp-users/cb3510a5-8703-497e-a028-f4cdb4f9ce5bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
--
You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users.
---
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/438a28a9-145d-4f73-9d81-3f3677935197n%40googlegroups.com.