Comments (2)
Hi Greg,
The management of the relationships between the keying routines and the encryption/decryption routines for AES_NI operations and for the programmed code are entirely separate. In both cases the 'inf' field in the contexts is managed by the keying routines all of which set the 'inf' field to zero ('inf' is a union and cx->inf.l is set to zero). As you found, AES_NI does not use the inf.b[2] field in managing the relationship between keying and encryption/decryption.
The distinction between encryption and decryption contexts managed using inf.b[2] applies only to situations when AES_NI is not used.
No user management of anything within encryption/decryption contexts is necessary (indeed it would be dangerous!).
from aes.
I had missed that aes_inf was a union; thanks for pointing that out.
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
- The code is not working with 256 bit key HOT 3
- .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.