/dports/security/libdecaf/libdecaf-1.0.0/test/ |
H A D | ristretto_vectors.inc.cxx | 6 static const uint8_t values[count][Ristretto::Point::SER_BYTES]; 9 [base_multiples<Ristretto>::count][Ristretto::Point::SER_BYTES] = { 31 static const uint8_t values[count][Ed448Goldilocks::Point::SER_BYTES]; 33 const uint8_t base_multiples<Ed448Goldilocks>::values[][Ed448Goldilocks::Point::SER_BYTES] = { 107 static const uint8_t outputs[count][Ristretto::Point::SER_BYTES]; 130 [elligator_examples<Ristretto>::count][Ristretto::Point::SER_BYTES] = { 153 static const uint8_t outputs[count][Ed448Goldilocks::Point::SER_BYTES]; 224 [elligator_examples<Ed448Goldilocks>::count][Ed448Goldilocks::Point::SER_BYTES] = {
|
H A D | test_ct.cxx | 42 uint8_t ser[Group::Scalar::SER_BYTES]; in test_arithmetic() 73 uint8_t ser[Group::Point::SER_BYTES]; in test_ec() 80 ignore_result(p.decode(FixedBlock<Group::Point::SER_BYTES>(ser))); in test_ec() 122 FixedArrayBuffer<Group::Point::SER_BYTES> shared; in test_crypto()
|
/dports/security/libdecaf/libdecaf-1.0.0/src/per_curve/ |
H A D | elligator.tmpl.c | 30 const unsigned char ser[SER_BYTES] in API_NS() 89 const unsigned char hashed_data[2*SER_BYTES] in API_NS() 93 API_NS(point_from_hash_nonuniform)(pt2,&hashed_data[SER_BYTES]); in API_NS() 107 unsigned char recovered_hash[SER_BYTES], in API_NS() 156 #if $(gf_bits) == 8*SER_BYTES + 1 /* p521. */ in API_NS() 168 #if $(gf_bits) == 8*SER_BYTES + 1 /* p521 */ in API_NS() 175 recovered_hash[SER_BYTES-1] ^= (hint>>4)<<$(gf_bits%8); in API_NS() 177 recovered_hash[SER_BYTES-1] ^= (hint>>3)<<$(gf_bits%8); in API_NS() 185 unsigned char partial_hash[2*SER_BYTES], in API_NS() 190 API_NS(point_from_hash_nonuniform)(pt2,&partial_hash[SER_BYTES]); in API_NS()
|
H A D | point.tmpl.hxx | 71 static const size_t SER_BYTES = $(C_NS)_SCALAR_BYTES; in $() member in decaf::$::Scalar 95 FixedArrayBuffer<SER_BYTES + 16> sb(rng); in $() 150 Scalar &sc, const FixedBlock<SER_BYTES> buffer in $() 219 const FixedBlock<SER_BYTES> &in, in $() 226 FixedBuffer<SER_BYTES> &out, in $() 227 const FixedBlock<SER_BYTES> &in, in $() 240 static const size_t SER_BYTES = $(C_NS)_SER_BYTES; in $() member in decaf::$::Point 412 SecureBuffer buffer(SER_BYTES); in $() 516 FixedArrayBuffer<SER_BYTES> sb(r); in $() 754 SecureBuffer out($(cxx_ns)::Point::SER_BYTES); in $() [all …]
|
H A D | eddsa.tmpl.hxx | 197 static const size_t SER_BYTES = DECAF_EDDSA_$(gf_shortname)_PRIVATE_BYTES; member in decaf::EdDSA::PrivateKeyBase 204 inline explicit PrivateKeyBase(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { *this = b; } in PrivateKeyBase() 215 inline PrivateKeyBase &operator=(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { in operator =() 229 inline size_t ser_size() const DECAF_NOEXCEPT { return SER_BYTES; } in ser_size() 371 static const size_t SER_BYTES = DECAF_EDDSA_$(gf_shortname)_PRIVATE_BYTES; member in decaf::EdDSA::PublicKeyBase 377 inline explicit PublicKeyBase(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { *this = b; } in PublicKeyBase() 386 inline PublicKey &operator=(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { in operator =() 402 inline size_t ser_size() const DECAF_NOEXCEPT { return SER_BYTES; } in ser_size()
|
/dports/security/libdecaf/libdecaf-1.0.0/src/GENERATED/c/curve25519/ |
H A D | elligator.c | 41 const unsigned char ser[SER_BYTES] in API_NS() 100 const unsigned char hashed_data[2*SER_BYTES] in API_NS() 104 API_NS(point_from_hash_nonuniform)(pt2,&hashed_data[SER_BYTES]); in API_NS() 118 unsigned char recovered_hash[SER_BYTES], in API_NS() 167 #if 255 == 8*SER_BYTES + 1 /* p521. */ in API_NS() 179 #if 255 == 8*SER_BYTES + 1 /* p521 */ in API_NS() 186 recovered_hash[SER_BYTES-1] ^= (hint>>4)<<7; in API_NS() 188 recovered_hash[SER_BYTES-1] ^= (hint>>3)<<7; in API_NS() 196 unsigned char partial_hash[2*SER_BYTES], in API_NS() 201 API_NS(point_from_hash_nonuniform)(pt2,&partial_hash[SER_BYTES]); in API_NS()
|
/dports/security/libdecaf/libdecaf-1.0.0/src/GENERATED/c/ed448goldilocks/ |
H A D | elligator.c | 41 const unsigned char ser[SER_BYTES] in API_NS() 100 const unsigned char hashed_data[2*SER_BYTES] in API_NS() 104 API_NS(point_from_hash_nonuniform)(pt2,&hashed_data[SER_BYTES]); in API_NS() 118 unsigned char recovered_hash[SER_BYTES], in API_NS() 167 #if 448 == 8*SER_BYTES + 1 /* p521. */ in API_NS() 179 #if 448 == 8*SER_BYTES + 1 /* p521 */ in API_NS() 186 recovered_hash[SER_BYTES-1] ^= (hint>>4)<<0; in API_NS() 188 recovered_hash[SER_BYTES-1] ^= (hint>>3)<<0; in API_NS() 196 unsigned char partial_hash[2*SER_BYTES], in API_NS() 201 API_NS(point_from_hash_nonuniform)(pt2,&partial_hash[SER_BYTES]); in API_NS()
|
/dports/security/libdecaf/libdecaf-1.0.0/src/GENERATED/include/decaf/ |
H A D | point_448.hxx | 84 static const size_t SER_BYTES = DECAF_448_SCALAR_BYTES; member in decaf::Ed448Goldilocks::Scalar 108 FixedArrayBuffer<SER_BYTES + 16> sb(rng); in Scalar() 163 Scalar &sc, const FixedBlock<SER_BYTES> buffer in decode() 232 const FixedBlock<SER_BYTES> &in, 239 FixedBuffer<SER_BYTES> &out, 240 const FixedBlock<SER_BYTES> &in, 253 static const size_t SER_BYTES = DECAF_448_SER_BYTES; member in decaf::Ed448Goldilocks::Point 425 SecureBuffer buffer(SER_BYTES); in operator SecureBuffer() 529 FixedArrayBuffer<SER_BYTES> sb(r); in debugging_pscale() 767 SecureBuffer out(Ed448Goldilocks::Point::SER_BYTES); in direct_scalarmul() [all …]
|
H A D | point_255.hxx | 84 static const size_t SER_BYTES = DECAF_255_SCALAR_BYTES; member in decaf::Ristretto::Scalar 108 FixedArrayBuffer<SER_BYTES + 16> sb(rng); in Scalar() 163 Scalar &sc, const FixedBlock<SER_BYTES> buffer in decode() 232 const FixedBlock<SER_BYTES> &in, 239 FixedBuffer<SER_BYTES> &out, 240 const FixedBlock<SER_BYTES> &in, 253 static const size_t SER_BYTES = DECAF_255_SER_BYTES; member in decaf::Ristretto::Point 425 SecureBuffer buffer(SER_BYTES); in operator SecureBuffer() 529 FixedArrayBuffer<SER_BYTES> sb(r); in debugging_pscale() 767 SecureBuffer out(Ristretto::Point::SER_BYTES); in direct_scalarmul() [all …]
|
H A D | ed255.hxx | 213 static const size_t SER_BYTES = DECAF_EDDSA_25519_PRIVATE_BYTES; member in decaf::EdDSA::PrivateKeyBase 220 inline explicit PrivateKeyBase(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { *this = b; } in PrivateKeyBase() 231 inline PrivateKeyBase &operator=(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { in operator =() 245 inline size_t ser_size() const DECAF_NOEXCEPT { return SER_BYTES; } in ser_size() 387 static const size_t SER_BYTES = DECAF_EDDSA_25519_PRIVATE_BYTES; member in decaf::EdDSA::PublicKeyBase 393 inline explicit PublicKeyBase(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { *this = b; } in PublicKeyBase() 402 inline PublicKey &operator=(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { in operator =() 418 inline size_t ser_size() const DECAF_NOEXCEPT { return SER_BYTES; } in ser_size()
|
H A D | ed448.hxx | 213 static const size_t SER_BYTES = DECAF_EDDSA_448_PRIVATE_BYTES; member in decaf::EdDSA::PrivateKeyBase 220 inline explicit PrivateKeyBase(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { *this = b; } in PrivateKeyBase() 231 inline PrivateKeyBase &operator=(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { in operator =() 245 inline size_t ser_size() const DECAF_NOEXCEPT { return SER_BYTES; } in ser_size() 387 static const size_t SER_BYTES = DECAF_EDDSA_448_PRIVATE_BYTES; member in decaf::EdDSA::PublicKeyBase 393 inline explicit PublicKeyBase(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { *this = b; } in PublicKeyBase() 402 inline PublicKey &operator=(const FixedBlock<SER_BYTES> &b) DECAF_NOEXCEPT { in operator =() 418 inline size_t ser_size() const DECAF_NOEXCEPT { return SER_BYTES; } in ser_size()
|
/dports/devel/stack/stack-2.7.3/_cabal_deps/cryptonite-0.29/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/cryptonite-0.27/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/cryptonite-0.27/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/cryptonite-0.27/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/cryptonite-0.28/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/devel/hs-darcs/darcs-2.16.4/_cabal_deps/cryptonite-0.27/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/devel/hs-hpack/hpack-0.34.4/_cabal_deps/cryptonite-0.26/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/cryptonite-0.26/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/lang/elm/compiler-0.19.1/_cabal_deps/cryptonite-0.26/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/cryptonite-0.29/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/cryptonite-0.28/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/cryptonite-0.28/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/cryptonite-0.27/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|
/dports/x11/hs-xmobar/xmobar-0.39/_cabal_deps/cryptonite-0.27/cbits/decaf/p448/ |
H A D | f_generic.c | 27 void cryptonite_gf_serialize (uint8_t serial[SER_BYTES], const gf x, int with_hibit) { in cryptonite_gf_serialize() argument 35 UNROLL for (unsigned int i=0; i<(with_hibit ? X_SER_BYTES : SER_BYTES); i++) { in cryptonite_gf_serialize() 56 mask_t cryptonite_gf_deserialize (gf x, const uint8_t serial[SER_BYTES], int with_hibit) { in cryptonite_gf_deserialize() argument 61 …UNROLL while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < (with_hibit ? X_SER_BYTES : SER_BYTES)) { in cryptonite_gf_deserialize()
|