tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ml_dsat.h (951B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #ifndef ML_DSAT_H
      6 #define ML_DSAT_H
      7 
      8 // ML_DSA Key and signature sizes, independent of implementation
      9 
     10 // ml_dsa_44
     11 #define ML_DSA_44_PUBLICKEY_LEN 1312
     12 #define ML_DSA_44_PRIVATEKEY_LEN 2560
     13 #define ML_DSA_44_SIGNATURE_LEN 2420
     14 
     15 // ml_dsa_65
     16 #define ML_DSA_65_PUBLICKEY_LEN 1952
     17 #define ML_DSA_65_PRIVATEKEY_LEN 4032
     18 #define ML_DSA_65_SIGNATURE_LEN 3309
     19 
     20 // ml_dsa_87
     21 #define ML_DSA_87_PUBLICKEY_LEN 2592
     22 #define ML_DSA_87_PRIVATEKEY_LEN 4896
     23 #define ML_DSA_87_SIGNATURE_LEN 4627
     24 
     25 // the max defines and common defines
     26 #define MAX_ML_DSA_PRIVATE_KEY_LEN ML_DSA_87_PRIVATEKEY_LEN
     27 #define MAX_ML_DSA_PUBLIC_KEY_LEN ML_DSA_87_PUBLICKEY_LEN
     28 #define MAX_ML_DSA_SIGNATURE_LEN ML_DSA_87_SIGNATURE_LEN
     29 #define ML_DSA_SEED_LEN 32
     30 
     31 #endif /* ML_DSAT_H */