Comments (5)
Any error log?
from qt-aes.
for me it ran with MinGW32 but only when built using cmake
from qt-aes.
Any error log?
I've tried to build and run the tests using the supplied pro file. Log output from running the tests:
********* Start testing of AesTest *********
Config: Using QtTest library 5.12.3, Qt 5.12.3 (i386-little_endian-ilp32 shared (dynamic) debug build; by GCC 7.3.0)
QDEBUG : AesTest::initTestCase() AESNI Enabled
PASS : AesTest::initTestCase()
A crash occurred in E:_workspaces\Qt-AES-master\debug\QAESEncryption.exe.
Function time: 0ms Total time: 4ms
Exception address: 0x004017e1
Exception code : 0xc0000005
Stack:
1: ZN5QTest15toPrettyUnicodeEPKti() - 0x640026d6
2: UnhandledExceptionFilter() - 0x777a8e90
3: RtlGetFullPathName_UEx() - 0x77c58b30
4: RtlGetFullPathName_UEx() - 0x77c58b30
When i run in debug mode, it breaks in function "QByteArray QAESEncryption::expandKey(const QByteArray &key)" on the call "AES_128_Key_Expansion(uchar_key, ret);" in line 185.
When building and running through cmake all works fine.
from qt-aes.
for me it ran with MinGW32 but only when built using cmake
Turns out, if built with cmake it's without aes_ni enabled.
from qt-aes.
Hello! The problem is on Qt 5.15.2 mingw32 and it doesn’t matter cmake or qmake, in Qt 5.15.2 x64, Qt 6.5.3 x64 everything works.
In all cases the error is here tmp = _mm_xor_si128 (tmp,((__m128i*)key)[0]);
********* Start testing of AesTest *********
Config: Using QtTest library 5.15.2, Qt 5.15.2 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 8.1.0), windows 10
QDEBUG : AesTest::initTestCase() AESNI Enabled
PASS : AesTest::initTestCase()
A crash occurred in C:\test\build-qaesencryption-Desktop_Qt_5_15_2_MinGW_32_bit-Debug\debug\QAESEncryption.exe.
Function time: 0ms Total time: 3ms
Exception address: 0x0040292b
Exception code : 0xc0000005
Stack:
1: ZN24QAbstractItemModelTester11qt_metacallEN11QMetaObject4CallEiPPv() - 0x6efe3f30
2: UnhandledExceptionFilter() - 0x755426b0
3: RtlCaptureStackContext() - 0x77318e30
4: RtlGetAppContainerNamedObjectPath() - 0x772f7b50
from qt-aes.
Related Issues (20)
- Suggestion: Function to check validity of encoded data OR make the decode() method not crash app on invalid data HOT 12
- compatibility with openssl issue HOT 4
- use HOT 2
- It will crash in MinGW32 HOT 1
- Supporting GCM HOT 1
- Regarding the problem that the padding is not removed after decryption HOT 2
- Support protocol buffers (protobuf) HOT 1
- AES implementation is really slow for big data HOT 1
- Decrpytion with AES-NI not working HOT 5
- AES CFB Without padding HOT 3
- Convert QByteArray to QString HOT 1
- App broken with msvc compiler in last version HOT 3
- suggest to add more check to decode() method paremeters
- <Suggestion: Expand beyond Qt-AES> HOT 2
- AES-NI вопрос? AES-NI question? HOT 1
- QAESEncryption Level is not working HOT 3
- Question about qt-secret usage. HOT 2
- Adding Salt ?
- Question about : Heap corruption detected: after normal block..... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qt-aes.