Searched refs:HMAC (Results 1 - 6 of 6) sorted by relevance
/fuchsia/zircon/system/ulib/crypto/ |
H A D | hmac.cpp | 25 const uint16_t kAllFlags = HMAC::ALLOW_TRUNCATION | HMAC::ALLOW_WEAK_KEY; 28 struct HMAC::Context { 36 HMAC::HMAC() {} function in class:crypto::HMAC 37 HMAC::~HMAC() {} 39 zx_status_t HMAC::Create(digest::Algorithm digest, const Secret& key, const void* in, size_t in_len, 43 HMAC hmac; 52 zx_status_t HMAC [all...] |
/fuchsia/zircon/system/utest/crypto/ |
H A D | hmac.cpp | 25 HMAC hmac; 53 HMAC hmac; 78 HMAC hmac; 119 EXPECT_ZX(HMAC::Create(digest::kUninitialized, key, block1.get(), PAGE_SIZE, &digest1), 122 EXPECT_ZX(HMAC::Create(digest::kSHA256, key, block1.get(), PAGE_SIZE, &digest1), 125 EXPECT_ZX(HMAC::Create(digest::kSHA256, key, nullptr, PAGE_SIZE, &digest1), 127 EXPECT_ZX(HMAC::Create(digest::kSHA256, key, block1.get(), PAGE_SIZE, nullptr), 132 EXPECT_OK(HMAC::Create(digest::kSHA256, key, block1.get(), PAGE_SIZE, &digest1)); 133 EXPECT_OK(HMAC::Create(digest::kSHA256, key, block2.get(), PAGE_SIZE, &digest2)); 138 EXPECT_OK(HMAC [all...] |
/fuchsia/zircon/system/ulib/crypto/include/crypto/ |
H A D | hmac.h | 19 class HMAC final { 26 HMAC(); 27 ~HMAC(); 42 // Initializes the HMAC algorithm indicated by |digest| with the given |key|. A call to |Init| 47 // Updates the HMAC with |in_len| bytes of additional data from |in|. This can only be called 56 DISALLOW_COPY_ASSIGN_AND_MOVE(HMAC);
|
/fuchsia/zircon/third_party/ulib/uboringssl/include/openssl/ |
H A D | hmac.h | 69 // HMAC contains functions for constructing PRFs from Merkle���Damg��rd hash 70 // functions using HMAC. 75 // HMAC calculates the HMAC of |data_len| bytes of |data|, using the given key 80 OPENSSL_EXPORT uint8_t *HMAC(const EVP_MD *evp_md, const void *key, 88 // HMAC_CTX_init initialises |ctx| for use in an HMAC operation. It's assumed 116 // HMAC_Update hashes |data_len| bytes from |data| into the current HMAC 121 // HMAC_Final completes the HMAC operation in |ctx| and writes the result to 132 // HMAC_size returns the size, in bytes, of the HMAC that will be produced by
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/hkdf/ |
H A D | hkdf.c | 47 // If salt is not given, HashLength zeros are used. However, HMAC does that 50 if (HMAC(digest, salt, salt_len, secret, secret_len, out_key, &len) == NULL) {
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/hmac/ |
H A D | hmac.c | 68 uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, function
|
Completed in 41 milliseconds