Questions tagged [nist]
The National Institute of Standards and Technology (NIST) is a U.S. federal agency that works with industry to develop and apply technology, measurements, and standards.
221
questions
3
votes
1
answer
256
views
Questions about LWE in NIST standards
LWE instances have the form $\vec{a}_i,b_i = \langle\vec{a}_i,\vec{s}\rangle+e_i\bmod q$ for some integer $q$ and for $i=1,\dots,m$.
My questions are about the NIST proposed standards. In the ...
0
votes
1
answer
44
views
NIST-800-22 input data format
I would like to make sure on how to set input data correctly for . Im testing some random generators. The Generator outputs a random number in decimal (for example 103), I convert it to binary (...
3
votes
1
answer
127
views
Compare Saber and Kyber, about their techniques of message bit layout in encryption
I'd like to discuss message bit layout in the Saber and Kyber's IND-CPA encryptions.(Details of these two schemes follows behind these question paragraphs). From my understanding, both Saber and Kyber ...
0
votes
1
answer
66
views
Elliptic curve short Weierstrass equation that always returns a quadratic residue modulo curve field?
Currently I'm encoding my message using short Weierstrass equation $y^2 = x^3 + Ax + B$ and elliptic curve is NIST-P256, which has $A$, $B$ and $P$(elliptic curve field size) known. Encoding itself is ...
3
votes
1
answer
457
views
How wrong is NIST 800-89's Partial Public Key Validation for RSA step e?
NIST 800-89 Recommendation for Obtaining Assurances for Digital Signature Applications has recommendations for (Explicit) Partial Public Key Validation for RSA which include an example method. It's ...
4
votes
0
answers
101
views
Why Dilithium has options starting from security level 2 and not 1?
I am a newbie to PQC, so forgive my gaps in understanding. Most of the NIST PQC standardization selections have 3 levels of security 1, 3 and 5. It is not the case for Dilithium. IS there any specific ...
0
votes
1
answer
94
views
What's wrong with BIP32 from NIST's perspective?
BIP32 is listed as Non-Approved Security Functions (see page 29 in 1). I could not find any problem with the primitives used in BIP32.
HMAC-SHA512: This is a FIPS-approved algorithm (see page 25 in 1)....
4
votes
1
answer
138
views
Why is DUKPT TDES allowed by PCI negating NIST
We know that NIST disallows TDES (PDF).
So why is PCI still allowing DUKPT TDES? They do use one unique key per transaction.
Is there any supporting logic or official statement for it?
1
vote
0
answers
30
views
Is the random number analiser software reliable for performing Nist 800_22 test
I am working on generating pseudo random numbers from a chaotic oscillator's signal. In literature I have read about the Nist 800-22 test used for checking randomness. I friend gave me a software &...
3
votes
1
answer
172
views
Judgment of Results from NIST Randomness Testing
I am using the NIST suite to test the randomness of binary numbers and I have a 64KB dataset. I am confused with the results in finalAnalysisReport.txt.
I have the ...
0
votes
1
answer
175
views
Discrete Fourier transform (Spectral) test
I am designing a pseudo random bit generator (PRBG) and I am using the NIST SP 800-22 suite to analyze the random characteristics of my PRBG. It turns out that my PRBG passes 14 out of 15 tests, and ...
2
votes
0
answers
59
views
What's the lattice dimension of the uSVP for attacking CRYSTALS-Dilithium-128?
I am trying to understand the process of transitioning from a NIST standard to the attacks based on of the Unique Shortest Vector Problem (Unique-SVP). Specifically, I am working with Crystals ...
0
votes
0
answers
37
views
Non-lattice NIST candidates affected by SVP problems
I would like to know if there are non-lattice based NIST submissions that are affected by a polynomial time algorithm to Shortest Vector Problem. Are there known reduction from (e.g.) code based ...
2
votes
2
answers
166
views
Interpretation of NIST suite test results with asterisks
I have a question on how to interpret test results of NIST test suite.
First, when the asterisk mark appear on the report, what does it mean? I thought it means the random sequence fails the test. ...
2
votes
1
answer
98
views
NIST random number tests report
I am using the NIST test suite to test random binary numbers. when I tried it for data.pi, the generated report has some items that can not be interpreted.
for example, the coeffecients named C0~C10. ...
2
votes
2
answers
179
views
NIST random number generators ASCII input file format problem
I have temporal data from experiment and by setting a threshold, I convert them to zeros and ones. I saved these binary bits to txt file (normal txt file from MATLAB) with each line has 32 bits (total ...
1
vote
0
answers
210
views
Can someone give a comprehensive guide on how to run NIST SP 800 90B entropy assessment c code in windows? [closed]
I am trying to run the github code in windows 11. I don't know what all I need to install in my laptop to run the C++ code. It would be a great help if someone can point out the steps to run the code.
3
votes
2
answers
157
views
A HRNG that is NIST 800-90 compliant is not suitable for use for OTP generation right?
A HRNG that is NIST 800-90 compliant must use a DRBG in some way regardless of whether it adheres to a RBG1, RBG2 RBG3(XOR), or RBG3(RS) construction. This violates the requirement that the OTP is ...
3
votes
2
answers
757
views
Why does NIST SP 800-90C RBG3 construction require XOR or reseeding a DRBG with a physical entropy source to produce full entropy?
NIST 800-90C defines 3 classes of random bit generation (RBG) constructions: RBG1, RBG2 and RBG3. All constructions must include a DRBG from NIST SP 800-90A. The particular construction in question is ...
1
vote
1
answer
137
views
Use of PRNG's vulnerability for attacking a cryptographic system
I am investigating a PRNG which fails some of NIST tests (FFT, ApproximateEntropy and Serial). If such a generator is used in cryptography for any purpose, what consequences can it has? How this ...
1
vote
1
answer
72
views
getting wrong rsa private exponent (d) for this particular test vector from nist cavp
In 186-2rsatestvectors.zip/SigVerRSA.rsp
...
4
votes
2
answers
175
views
Why NIST 800-56A rev3 does not use cross secret calculation in C(2e, 2s, ECC CDH) scheme?
In the NIST 800-56A rev3 "Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography" in section 6.1.1.2 "(Cofactor) Full Unified Model, C(2e, 2s, ECC ...
4
votes
3
answers
146
views
Question about confidence interval in NIST SP 800 22
I want to ask about the confidence interval in NIST SP 800 22 so I can make sure I got it right. When evaluating the randomness of many binary strings, for example 1000 binary strings. In the NIST SP ...
2
votes
1
answer
1k
views
What is the relationship between NIST and secp256k1?
While exploring secp256k1, I came across what seems like the official definition at https://www.secg.org/, specifically in https://www.secg.org/sec2-v2.pdf. In terms of authorship, the document only ...
2
votes
1
answer
170
views
Provably secure cryptography in blockchains
Do you know a blockchain that does not use at all cryptographic primitives standardized by USA or other countries? It is strange to me that the security of many cryptocurrencies is based on ciphers, ...
0
votes
0
answers
192
views
How to use NIST SP 800-22 to check randomness of 128 bits output in AES?
I am trying NIST SP 800-22 to test the randomness of 128 bit output in AES, but i always get igamc: UNDERFLOW or Segmentation fault (core dumped) error.
My data file has 128 bit output format, for ...
0
votes
1
answer
159
views
Rainbow What happened to signatures in the NIST standardization process?
The rainbow signature was not seen in round 4 of the NIST PQC standardization process. Was Rainbow not shortlisted?
2
votes
1
answer
229
views
NIST algorithm testing results
I have an algorithm that encrypts large text. I want to test this algorithm on statistical tests. The ciphertext contains ~10,000,000 bits. I decided to test the ...
2
votes
0
answers
55
views
NIST statistical tests [duplicate]
I'm having trouble testing a not-so-popular algorithm that I haven't found an implementation of, so I wrote it myself and now I'd like to test it with nist tests, but I have a suspicion that I'm doing ...
5
votes
4
answers
394
views
What is the significance of the results of the NIST PQC competition?
I hope this is not offtopic.
Since NIST has rather recently announced the winners of its PQC competition I was wondering how significant this development is. Does that mean that CRYSTALS-Kyber will ...
3
votes
1
answer
322
views
What advantages does FrodoKEM have over other PQCs?
What are the advantages of FrodoKEM over other NIST PQC candidates? Also, have any critical vulnerabilities been discovered so far?
7
votes
1
answer
224
views
What is the status of the NIST Lightweight Cryptography Standardisation Process?
The NIST Computer Security Resource Center called for nominations for a process to standardise lightweight symmetric primitives in August 2018.
In the update talk in the 2019 Lightweight Cryptography ...
3
votes
2
answers
746
views
Break Lattice-Based Cryptography with Variational Quantum Algorithm (only 25 k. Qbits for Kyber1024)?
I am currently writing a seminar paper on Kyber and other lattice-based methods. I was so excited about the lattice-based methods that I also currently searched quantum algorithms to solve the methods....
2
votes
0
answers
37
views
Safe p-value for NIST randomness test with small sample size
In this journal paper related to physically unclonable function (PUF) [1], the authors used NIST 800-22 test to check if the bitstreams generated by their PUFs are random, which is described as ...
1
vote
1
answer
353
views
Where can I find a comprehensive guide to running the NIST SP800-90B_EntropyAssessment?
I am already using the 2 they suggest :
https://github.com/usnistgov/SP800-90B_EntropyAssessment https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-90B.pdf
but, here is where I run into ...
3
votes
1
answer
111
views
NIST example shows extra hexadecimal characters in Block Contents of SHA512-256
I was recently trying to gain a better understanding of the SHA-512/256 algorithm and on this NIST example they use the word "abc" as the input. In the Block Contents, it shows the expected ...
3
votes
0
answers
146
views
Does NIST SP800-56C r2 forbid using NIST-approved two-step KDFs for not-all-at-once key-derivations?
NIST SP800-56C r2 added Section 5.3 which specifically addresses using a single Extract step followed by ...
3
votes
1
answer
642
views
NIST expression for HMAC security strength
In NIST SP800-107, NIST claims that the security strength of HMAC is MIN(security of HMAC key, $2L$). $L$ is the length of the output of the underlying hash function. Let's take HMAC-SHA256 as an ...
0
votes
1
answer
115
views
Does the Saber.PKE algorithm submitted in PQC NIST Round3 support the additional homomorphism?
As for the PQC algorithm Saber.PKE based on M-LWR, I wonder whether it supports homomorphic addition operation. According to my related work, the error of this algorithm can be written as $e_S = ||s^{\...
2
votes
0
answers
321
views
Which quantum resistant digital signature algorithm would you use and why (If you had to pick one now)? [closed]
Context: Many widely used public-key cryptographic schemes have been designed based on the difficulty of factoring and similar problems. That includes RSA, the Diffie-Hellman Key Exchange, ECDH, ...
1
vote
0
answers
150
views
What’s the relationship between P-256 and Dual EC DRBG?
It is said that Dual EC DRBG has a backdoor given the values of the curve. Hence some people do not trust it.
With that in mind, some people also distrust NIST P-256 Curve. Why? Is it purely because ...
0
votes
0
answers
33
views
How many number of sequences (sample size) should be selected for randomness testing of bock cipher with 256 bits key and block length?
I am working on randomness testing of block cipher. I have gone through the NIST two papers of randomness testing of AES candidate algorithm, links are given below
https://csrc.nist.gov/csrc/media/...
1
vote
1
answer
71
views
About two sequence conversion methods in NIST 800-90B
I am reading the 800-90B document.
In particular, I'm looking at Chapter 5, the chapter on checking that samples conform to IID.
There are 11 tests such as Excursion Test Statistic and Number of ...
0
votes
1
answer
912
views
Alternative to CBC mode encryption?
Given that CBC mode encryption is vulnerable to padding oracle attacks, what is the next best alternative ?
a) Include a hash check in the API scheme, validate the hash and then proceed with CBC. If ...
2
votes
3
answers
728
views
NIST vs ISO Encryption standardisation process
skinny cipher has been lately considered as ISO/IEC standard while is still competing as building block of Romulus AEAD in NIST LWC finalists.
what is the difference between the two ISO and NIST ...
2
votes
1
answer
1k
views
Comparison of Post Quantum Algorithms in Nist 3rd round
I'm interested in the Post Quantum Algorithms of the 3rd round of the NIST standardization competition. The algorithms for KEM are Classic McEliece, CRYSTALS-KYBER, NTRU, SABER and their 5 ...
1
vote
1
answer
840
views
Input size recomendation of sequence for each test in NIST SP 800-22
I am using the NIST SP 800-22 to evaluate the performance of the Random Number Generator.
NIST SP 800-22 has a total of 15 tests. In each test, it has a recommendation for the size of the tested ...
1
vote
0
answers
50
views
Verifiable Base Point generation via NIST SP 800-186 method
I'm looking at D.3.2 Verifiably Random Base Points of NIST SP 800-186. Looks like step 5 is there to ensure that $hashlen > bitLen(q)+1$ and (potentially) discard big $e$, so $t$ is distributed ...
1
vote
1
answer
150
views
Why the DRBG can mask the small deviations in the behavior of the entropy source?
In NIST SP 800-90C, it said:"Small deviations in the behavior of the entropy source in an NRBG will be masked by the DRBG output"
Why the DRBG can mask the small deviations in the behavior ...
4
votes
4
answers
4k
views
Why did Google Cloud accept a lower FIPS 140-2 Level compared to IBM Cloud?
FIPS 140-2 is a standard which handles cryptographic modules and the ones that organizations use to encrypt data-at-rest and data-in-motion. FIPS 140-2 has 4 levels of security, with level 1 being the ...