tor-browser

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

eccutil.h (499B)


      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 _FREEBL_H_
      6 #define _FREEBL_H_
      7 
      8 #define X25519_PUBLIC_KEY_BYTES 32U
      9 #define SECP256_PUBLIC_KEY_BYTES 65U
     10 #define SECP384_PUBLIC_KEY_BYTES 97U
     11 
     12 /* deprecated */
     13 typedef enum {
     14    ECPoint_Uncompressed,
     15    ECPoint_XOnly,
     16    ECPoint_Undefined
     17 } ECPointEncoding;
     18 
     19 #endif /* _FREEBL_H_ */