Comments (3)
It should be noted, in the SHA spec, there is no reference to bits or bytes for things like message length. The intended notion is bit length in terms of SHA, but I think this should be discussed. Perhaps we could have a default of bits unless otherwise specified? I'm not sure how much sense this would make in terms of other algorithms however.
from acvp.
If you look at SP 800-38C http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38c.pdf, Appendix A, the specification of AES-CCM is defined in bits with the additional constraint that the bit-length of each input string shall be a multiple of 8. So, it seems that the byte-length inputs are something that CAVS came up with and it is not how the standard defines it.
When in doubt, we should check the standard and if a discrepancy is found, the definition in the standard prevails.
If we use the bit-oriented definitions in SP 800-38C and change the numbers for AES-CCM in the table above the inconsistency would go away and the sub-symmetric spec will be simpler.
from acvp.
Resolved with PR #133
from acvp.
Related Issues (20)
- help request, it appears my request is malformed; error ansi x9.42 "invalid hash algorithm supplied" HOT 3
- SigGen and SigVer 186-5 modulo support HOT 3
- SHA-1 is missing from FIPS 186-5 ECDSA signature verification HOT 10
- RSA 186-5 KeyGen Failures HOT 4
- KAS-ECC: fixedInfoPattern restrictions HOT 16
- RSADP 56Br2 Implementation: Public Exponent HOT 25
- RSA OAEP Decryption per SP800-56Br2 HOT 1
- HKDF fixed info 'L' field explicit size requirement HOT 4
- A module's vendor and contact HOT 1
- AES-XTS tweakValue's ending in FF inconsistent behaviour HOT 6
- RSA SignaturePrimitive 2.0: Extra "signature" field in table HOT 1
- KDF 108 middle fixed data chaniging HOT 13
- RSA KeyGen modulus sizes HOT 4
- SHA1/SHA2 Alternate MCT Test Pseudo Code HOT 4
- RSA KeyGen B.3.5 HOT 4
- Can/Should A Request be Cancelled?
- X25519/X448 testing HOT 1
- TLS 1.0/1.1 extended master secret testing HOT 2
- What is RSA primeTest 2powSecStr stands for? HOT 2
- ECDSA PKV sample prompt HOT 2
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 acvp.