Comments (3)
That is not a helpful comment since you give no details of the circumstances in which the code is not working. On what system are you using the code, what compiler are you using, what configuration are you using, do all the standard tests pass? What are the details of the failure you are experiencing?
from aes.
Thanks for consideration and sorry for not providing the details. I wish to use AES with 256 bit key. I have initialized the key by using the function aes_encrypt_key256 for encryption and aes_decrypt_key256 for decryption and used input/output buffer with 32 byte long array since key is 32 byte long. The result was loss of data. Subsequently I checked the project details and found that aes_encrypt() and aes_decrypt() is coded for 16 byte long input array.
from aes.
The aes_encrypt_key256 and aes_decrypt_key256 functions both handle 32 byte input buffers without any data loss. The aes_encrypt and aes_decrypt functions both have fixed length 16 byte buffers that are used for the input and output of data to be encrypted or decrypted. These functions are NOT used for key input and do not therefore limit or cause any loss of key data.
from aes.
Related Issues (20)
- Macro warning HOT 1
- Macro redefinition warnings HOT 5
- How to compile this inside of an embedded python interpreter in MSVC under Windows? HOT 1
- Fail to get data buffer on python 3.6
- decryption provides invalid / corrupt bytes. HOT 6
- Not able find function HOT 6
- Password verification value HOT 4
- Key is bad (RFC2898 Password Based Key Derivation) HOT 10
- Authentication code value HOT 2
- aescrypt.cu:115: undefined reference to `t_fn' HOT 6
- aes_ni.c of nmoinvaz/minizip fails to compile on GCC 4.4.7 HOT 6
- sequence-point warning with gcc -Wall HOT 1
- IS_ENCRYPTION_CTX() appears not to work with aes_ni HOT 2
- .dotnet implementation HOT 1
- aes.h: #include <stdlib.h> HOT 4
- hợp nhất git 0x7bbE81Fa44B67dce3F6ba47B7B7f82610258aB77-1 HOT 2
- https://github.com/isaacs/minimatch/pull/167#issue-1213782925
- Documentation HOT 3
- Trouble with CFB and OFB with the C implementation HOT 10
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 aes.