/dports/devel/google-cloud-cpp117/google-cloud-cpp-1.17.0/google/cloud/storage/internal/ |
H A D | sha256_hash_test.cc | 27 TEST(Sha256Hash, HexEncodeEmpty) { EXPECT_EQ("", HexEncode({})); } in TEST() argument 29 TEST(Sha256Hash, HexEncodeBasic) { in TEST() argument 33 TEST(Sha256Hash, HexDecodeEmpty) { EXPECT_TRUE(HexDecode({}).empty()); } in TEST() argument 35 TEST(Sha256Hash, HexDecodeBasic) { in TEST() argument 40 TEST(Sha256Hash, Empty) { in TEST() argument 45 std::string actual = HexEncode(Sha256Hash("")); in TEST() 49 TEST(Sha256Hash, Simple) { in TEST() argument 56 HexEncode(Sha256Hash("The quick brown fox jumps over the lazy dog")); in TEST()
|
H A D | sha256_hash.cc | 29 std::vector<std::uint8_t> Sha256Hash(Byte const* data, std::size_t count) { in Sha256Hash() function 44 std::vector<std::uint8_t> Sha256Hash(std::string const& str) { in Sha256Hash() function 45 return Sha256Hash(str.data(), str.size()); in Sha256Hash() 48 std::vector<std::uint8_t> Sha256Hash(std::vector<std::uint8_t> const& bytes) { in Sha256Hash() function 49 return Sha256Hash(bytes.data(), bytes.size()); in Sha256Hash()
|
H A D | sha256_hash.h | 30 std::vector<std::uint8_t> Sha256Hash(std::string const& str); 33 std::vector<std::uint8_t> Sha256Hash(std::vector<std::uint8_t> const& bytes);
|
/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/storage/internal/ |
H A D | sha256_hash_test.cc | 27 TEST(Sha256Hash, HexEncodeEmpty) { EXPECT_EQ("", HexEncode({})); } in TEST() argument 29 TEST(Sha256Hash, HexEncodeBasic) { in TEST() argument 33 TEST(Sha256Hash, HexDecodeEmpty) { EXPECT_TRUE(HexDecode({}).empty()); } in TEST() argument 35 TEST(Sha256Hash, HexDecodeBasic) { in TEST() argument 40 TEST(Sha256Hash, Empty) { in TEST() argument 45 std::string actual = HexEncode(Sha256Hash("")); in TEST() 49 TEST(Sha256Hash, Simple) { in TEST() argument 56 HexEncode(Sha256Hash("The quick brown fox jumps over the lazy dog")); in TEST()
|
H A D | sha256_hash.cc | 29 std::vector<std::uint8_t> Sha256Hash(Byte const* data, std::size_t count) { in Sha256Hash() function 44 std::vector<std::uint8_t> Sha256Hash(std::string const& str) { in Sha256Hash() function 45 return Sha256Hash(str.data(), str.size()); in Sha256Hash() 48 std::vector<std::uint8_t> Sha256Hash(std::vector<std::uint8_t> const& bytes) { in Sha256Hash() function 49 return Sha256Hash(bytes.data(), bytes.size()); in Sha256Hash()
|
H A D | sha256_hash.h | 30 std::vector<std::uint8_t> Sha256Hash(std::string const& str); 33 std::vector<std::uint8_t> Sha256Hash(std::vector<std::uint8_t> const& bytes);
|
/dports/audio/lewton/lewton-0.10.2/cargo-crates/test-assets-0.2.0/src/ |
H A D | hash_list.rs | 12 use ::Sha256Hash; 17 name_to_hash_map :HashMap<String, Sha256Hash>, 37 let hash = try!(Sha256Hash::from_hex(hash_str).map_err(|_| TaError::BadHashFormat)); in from_reader() 66 pub fn get_hash<'a>(&'a self, filename :&str) -> Option<&'a Sha256Hash> { in get_hash() argument 70 pub fn add_entry(&mut self, filename :&str, hash :&Sha256Hash) { in add_entry() argument
|
H A D | lib.rs | 76 pub struct Sha256Hash([u8; 32]); struct 78 impl Sha256Hash { impl 81 let mut res = Sha256Hash([0; 32]); in from_digest() 88 let mut res = Sha256Hash([0; 32]); in from_hex() 141 WithHash(Sha256Hash), 170 return Ok(DownloadOutcome::WithHash(Sha256Hash::from_digest(&mut hasher))); in download_test_file() 189 let tfile_hash = try!(Sha256Hash::from_hex(&tfile.hash).map_err(|_| TaError::BadHashFormat)); in download_test_files()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nearby/src/cpp/core/internal/mediums/ |
H A D | utils.cc | 51 ByteArray Utils::Sha256Hash(const ByteArray& source, size_t length) { in Sha256Hash() function in location::nearby::connections::Utils 52 return Utils::Sha256Hash(std::string(source), length); in Sha256Hash() 55 ByteArray Utils::Sha256Hash(const std::string& source, size_t length) { in Sha256Hash() function in location::nearby::connections::Utils
|
H A D | utils.h | 31 static ByteArray Sha256Hash(const ByteArray& source, size_t length); 32 static ByteArray Sha256Hash(const std::string& source, size_t length);
|
H A D | ble.cc | 32 return Utils::Sha256Hash(source, size); in GenerateHash() 36 return Utils::Sha256Hash(std::to_string(Prng().NextUint32()), in GenerateDeviceToken()
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/thrussh-0.33.5/src/ |
H A D | session.rs | 35 pub session_id: crate::Sha256Hash, 417 pub session_id: Option<crate::Sha256Hash>, 425 session_id: &crate::Sha256Hash, in received_rekey() argument 440 pub fn initiate_rekey(ex: Exchange, session_id: &crate::Sha256Hash) -> Self { in initiate_rekey() 460 pub session_id: Option<crate::Sha256Hash>, 468 pub session_id: Option<crate::Sha256Hash>, 475 hash: crate::Sha256Hash, in compute_keys() argument 507 pub session_id: crate::Sha256Hash,
|
H A D | kex.rs | 131 ) -> Result<crate::Sha256Hash, crate::Error> { in compute_exchange_hash() argument 155 session_id: &crate::Sha256Hash, in compute_keys() argument 156 exchange_hash: &crate::Sha256Hash, in compute_keys() argument
|
/dports/devel/google-cloud-cpp117/google-cloud-cpp-1.17.0/google/cloud/storage/ |
H A D | well_known_headers.cc | 35 internal::Base64Encode(internal::Sha256Hash(key))}; in EncryptionDataFromBinaryKey() 41 "AES256", key, internal::Base64Encode(internal::Sha256Hash(binary_key))}; in EncryptionDataFromBase64Key()
|
/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/storage/ |
H A D | well_known_headers.cc | 35 internal::Base64Encode(internal::Sha256Hash(key))}; in EncryptionDataFromBinaryKey() 41 "AES256", key, internal::Base64Encode(internal::Sha256Hash(binary_key))}; in EncryptionDataFromBase64Key()
|
/dports/net-im/matterbridge/matterbridge-1.22.3/vendor/github.com/yaegashi/msgraph.go/beta/ |
H A D | ModelHashes.go | 16 Sha256Hash *string `json:"sha256Hash,omitempty"` member
|
/dports/security/wolfssl/wolfssl-5.1.0/cyassl/ctaocrypt/ |
H A D | sha256.h | 35 #define Sha256Hash wc_Sha256Hash macro
|
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/cyassl/ctaocrypt/ |
H A D | sha256.h | 35 #define Sha256Hash wc_Sha256Hash macro
|
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/cyassl/ctaocrypt/ |
H A D | sha256.h | 35 #define Sha256Hash wc_Sha256Hash macro
|
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/cyassl/ctaocrypt/ |
H A D | sha256.h | 35 #define Sha256Hash wc_Sha256Hash macro
|
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/cyassl/ctaocrypt/ |
H A D | sha256.h | 35 #define Sha256Hash wc_Sha256Hash macro
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nearby/src/cpp/core/internal/mediums/webrtc/ |
H A D | peer_id.cc | 44 ByteArray full_hash(Utils::Sha256Hash(seed, kPeerIdLength)); in FromSeed()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/MdePkg/Include/Protocol/ |
H A D | Hash.h | 89 EFI_SHA256_HASH *Sha256Hash; member
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/MdePkg/Include/Protocol/ |
H A D | Hash.h | 89 EFI_SHA256_HASH *Sha256Hash; member
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/MdePkg/Include/Protocol/ |
H A D | Hash.h | 89 EFI_SHA256_HASH *Sha256Hash; member
|