mirror of
https://github.com/luxfi/pqclean.git
synced 2026-11-02 15:23:24 +00:00
25 lines
874 B
C
25 lines
874 B
C
#ifndef PQCLEAN_MLKEM1024_AARCH64_API_H
|
|
#define PQCLEAN_MLKEM1024_AARCH64_API_H
|
|
|
|
/*
|
|
* This file is licensed
|
|
* under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.html) or
|
|
* public domain at https://github.com/pq-crystals/kyber/tree/master/ref
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
#define PQCLEAN_MLKEM1024_AARCH64_CRYPTO_SECRETKEYBYTES 3168
|
|
#define PQCLEAN_MLKEM1024_AARCH64_CRYPTO_PUBLICKEYBYTES 1568
|
|
#define PQCLEAN_MLKEM1024_AARCH64_CRYPTO_CIPHERTEXTBYTES 1568
|
|
#define PQCLEAN_MLKEM1024_AARCH64_CRYPTO_BYTES 32
|
|
#define PQCLEAN_MLKEM1024_AARCH64_CRYPTO_ALGNAME "ML-KEM-1024"
|
|
|
|
int PQCLEAN_MLKEM1024_AARCH64_crypto_kem_keypair(uint8_t *pk, uint8_t *sk);
|
|
|
|
int PQCLEAN_MLKEM1024_AARCH64_crypto_kem_enc(uint8_t *ct, uint8_t *ss, const uint8_t *pk);
|
|
|
|
int PQCLEAN_MLKEM1024_AARCH64_crypto_kem_dec(uint8_t *ss, const uint8_t *ct, const uint8_t *sk);
|
|
|
|
#endif
|