Questions tagged [post-quantum-cryptography]

17 questions
5
votes
1 answer

How to replace core classes/functionalities with a custom SPI?

I'm trying to add some post quantum key algorithms (from liboqs-java) to Keycloak via custom SPI's. I can generate keys with the algorithms i've added, but I ran into some issues while manipulating them. Keycloak is having trouble while handling…
4
votes
1 answer

What could be the benefit of such a complicated function to test if variable is not zero?

I'm working on my master's thesis (computer science) on code which is written for post-quantum-secure signatures. The whole thing can be found here but is not important here. For my thesis I tried to explain a 'simple' function, which is not so…
2
votes
0 answers

Write FALCON public key,private key, and hash to an external file

I use FALCON from liboqs with python wrapper from OQS. I have 2 python files, one for generating the public key, hashes and dump the result to an external file. While the second file will be use for verifying the hash from public key which will be…
1
vote
1 answer

Implementing CRYSTALS-Kyber using BouncyCastle Java

Could anyone help lead me in the right direction to even just generate a keypair using Kyber? I've tried to search for BouncyCastle examples but I am unable to find any to go off. I'm trying to benchmark some current algorithms such as AES/RSA,…
1
vote
1 answer

How do I serialize a BCMcEliecePublicKey?

I want to serialize a McEliece public key (BCMcEliecePublicKey) but always get a NotSerializableException. java.io.NotSerializableException: org.bouncycastle.pqc.crypto.mceliece.McEliecePublicKeyParameters I tried the same code with XMSSMT and it…
1
vote
1 answer

C++ Using Keccak Library

Im working on my bachelor thesis and I have to test some post quantum algorithms. I downloaded them from NIST. But when I tried DAGS: https://csrc.nist.gov/CSRC/media/Projects/Post-Quantum-Cryptography/documents/round-1/submissions/DAGS.zip and…
burdacz
  • 13
  • 2
1
vote
1 answer

Writing and reading a binary file

I am trying to to write crypt->public_key->data into a binary file. If I use size of sizeof(unsigned int) as the second argument in fwrite(), it works. However, it is declared as unsigned short * type in the header file. I am not sure why it behaves…
Lance
  • 13
  • 4
1
vote
1 answer

Does OpenSSL provide any post quantum asymmetric algorithms?

I'm familiar with classical encryption algorithms and mathematics, like RSA and ECC, but just out of interest. I'm not a specialist in this field. I'd like to start a long-term project, but since I'm not a cryptographer, it's very difficult to…
0
votes
0 answers

Macro Defined Functions - Compiling Error

I am trying to compile and create executable for the dilithium2 algorithm which is a Quantum Cryptography Project. I am getting into trouble with using macro defined functions in my compiling process. I am getting error undefined reference even if…
0
votes
0 answers

Using Wazuh EDR to monitoring QKD devices

I’m trying to do my thesis project about the possibility to prevent attacks against QKD devices, using an EDR like Wazuh. The problem is that most attacks are prevented through physical methods applied in the quantum channel. There is someone that…
0
votes
1 answer

NIST Round 3 Classic McEliece Missing Libkeccek.a.headers/SimpleFIPS202.h

I am attempting to build the KAT's for the round 3 submission for Classic McEliece, based off the reference implementation on this…
0
votes
0 answers

Short Integer Solution Problem what does nlogq mean?

I have a question about SIS problem, please check it; basic definition of sis problem my question is Where do we find the nlogq what does nlogq mean ? thank you for all
abrahamxyz
  • 11
  • 2
0
votes
1 answer

make: *** No rule to make target 'generic64/libkeccak.a'

I downloaded some post quantum algorithms from NIST and tested them. Some codes need to use Keccak package, so I downloaded it. When I tried to "make generic64/libkeccak.a", I got an error message: make: *** No rule to make target…
0
votes
1 answer

How to use CRT batch technique in Microsoft SEAL 3.1?

Can you please tell me whether SEAL 3.1 supports PolyCRTBuilder class? I am trying to run the following program but failed because the class is not declared in this scope. /** Suppose I have two arrays x = [1,2,3,4,5] and xMean = [3,3,3,3,3]. I…
0
votes
0 answers

libpqcrypto python implementation

I am trying to use the python API in libpqcrypto (https://libpqcrypto.org/index.html). I followed the installation and was able to import it to python but I get an error when I try to run the program. Traceback (most recent call last): File…
1
2