Home
last modified time | relevance | path

Searched defs:hmac (Results 1 – 25 of 114) sorted by relevance

12345

/external/boringssl/src/rust/bssl-crypto/src/
Dhmac.rs206 fn hmac<const N: usize, MD: digest::Algorithm>(key: &[u8], data: &[u8]) -> [u8; N] { in hmac() function
385 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
389 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
394 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
398 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
402 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
406 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
428 let mut hmac = HmacSha256::new(&key); in hmac_sha256_fixed_size_key() localVariable
445 let mut hmac = HmacSha512::new_from_slice(&key); in hmac_sha512() localVariable
449 let mut hmac = HmacSha512::new_from_slice(&key); in hmac_sha512() localVariable
[all …]
/external/cronet/tot/third_party/boringssl/src/rust/bssl-crypto/src/
Dhmac.rs206 fn hmac<const N: usize, MD: digest::Algorithm>(key: &[u8], data: &[u8]) -> [u8; N] { in hmac() function
385 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
389 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
394 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
398 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
402 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
406 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
428 let mut hmac = HmacSha256::new(&key); in hmac_sha256_fixed_size_key() localVariable
445 let mut hmac = HmacSha512::new_from_slice(&key); in hmac_sha512() localVariable
449 let mut hmac = HmacSha512::new_from_slice(&key); in hmac_sha512() localVariable
[all …]
/external/cronet/stable/third_party/boringssl/src/rust/bssl-crypto/src/
Dhmac.rs206 fn hmac<const N: usize, MD: digest::Algorithm>(key: &[u8], data: &[u8]) -> [u8; N] { in hmac() function
385 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
389 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
394 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
398 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
402 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
406 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256() localVariable
428 let mut hmac = HmacSha256::new(&key); in hmac_sha256_fixed_size_key() localVariable
445 let mut hmac = HmacSha512::new_from_slice(&key); in hmac_sha512() localVariable
449 let mut hmac = HmacSha512::new_from_slice(&key); in hmac_sha512() localVariable
[all …]
/external/libchrome/crypto/
Dhmac_unittest.cc80 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
149 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
175 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
216 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
241 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
255 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
289 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
/external/tink-java/src/test/java/com/google/crypto/tink/mac/internal/
DLegacyFullMacTest.java94 Mac hmac = LegacyFullMac.create(getLegacyProtoKey(t.key)); in computeHmac_isCorrect() local
102 Mac hmac = LegacyFullMac.create(getLegacyProtoKey(t.key)); in verifyHmac_isCorrect() local
110 Mac hmac = LegacyFullMac.create(getLegacyProtoKey(t.key)); in verifyHmac_throwsOnWrongTag() local
/external/cronet/stable/crypto/
Dhmac_unittest.cc88 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
157 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
183 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
224 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
249 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
263 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
294 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
317 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
343 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
Dhmac.cc116 namespace hmac { namespace
137 base::span<uint8_t> hmac) { in Sign()
151 base::span<const uint8_t> hmac) { in Verify()
189 base::span<const uint8_t, 20> hmac) { in VerifySha1()
195 base::span<const uint8_t, 32> hmac) { in VerifySha256()
201 base::span<const uint8_t, 64> hmac) { in VerifySha512()
/external/cronet/tot/crypto/
Dhmac_unittest.cc88 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
157 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
183 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
224 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
249 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
263 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
294 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
317 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
343 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
Dhmac.cc116 namespace hmac { namespace
137 base::span<uint8_t> hmac) { in Sign()
151 base::span<const uint8_t> hmac) { in Verify()
189 base::span<const uint8_t, 20> hmac) { in VerifySha1()
195 base::span<const uint8_t, 32> hmac) { in VerifySha256()
201 base::span<const uint8_t, 64> hmac) { in VerifySha512()
/external/okio/okio/src/jvmTest/kotlin/okio/internal/
DHmacTest.kt42 fun hmac() { in hmac() method
77 private fun hmac(algorithm: String, key: ByteArray, bytes: ByteArray) = in hmac() method
/external/tink-java/src/test/java/com/google/crypto/tink/subtle/
DPrfMacTest.java136 Mac hmac = PrfMac.create(t.key); in computeHmac_isCorrect() local
146 Mac hmac = PrfMac.create(t.key); in verifyHmac_isCorrect() local
156 Mac hmac = PrfMac.create(t.key); in verifyHmac_throwsOnWrongTag() local
/external/tink/java_src/src/test/java/com/google/crypto/tink/mac/internal/
DLegacyFullMacTest.java81 Mac hmac = LegacyFullMac.create(key); in computeHmac_isCorrect() local
90 Mac hmac = LegacyFullMac.create(key); in verifyHmac_isCorrect() local
99 Mac hmac = LegacyFullMac.create(key); in verifyHmac_throwsOnWrongTag() local
/external/rust/beto-rust/nearby/presence/np_hkdf/tests/
Dhmac.rs24 let hmac = NpHmacSha256Key::from(hmac_key); in verify_hmac_correct_mac() localVariable
36 let hmac = NpHmacSha256Key::from(hmac_key); in verify_hmac_incorrect_mac() localVariable
/external/tink/cc/subtle/
Dhmac_boringssl_test.cc53 auto hmac = std::move(hmac_result.value()); in HmacVerifyHex() local
70 auto hmac = std::move(hmac_result.value()); in TEST_F() local
105 auto hmac = std::move(hmac_result.value()); in TEST_F() local
130 auto hmac = std::move(hmac_result.value()); in TEST_F() local
Dstateful_hmac_boringssl_test.cc53 auto hmac = std::move(hmac_result.value()); in EmptyHmac() local
85 auto hmac = std::move(hmac_result.value()); in BasicHmac() local
122 auto hmac = std::move(hmac_result.value()); in MultipleUpdateHmac() local
217 auto hmac = std::move(create_result.value()); in StatefulHmacVerifyHex() local
/external/rust/beto-rust/nearby/crypto/crypto_provider/benches/
Dhmac_bench.rs32 let mut hmac = C::HmacSha256::new_from_key(key); in hmac_sha256_operations() localVariable
46 let mut hmac = C::HmacSha512::new_from_key(key); in hmac_sha512_operations() localVariable
/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/
DPrfMacTest.java136 Mac hmac = PrfMac.create(t.key); in computeHmac_isCorrect() local
146 Mac hmac = PrfMac.create(t.key); in verifyHmac_isCorrect() local
/external/openthread/third_party/mbedtls/repo/library/
Dpsa_crypto_mac.c25 mbedtls_psa_hmac_operation_t *hmac) in psa_hmac_abort_internal()
32 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_setup_internal()
104 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_update_internal()
112 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_finish_internal()
/external/mbedtls/library/
Dpsa_crypto_mac.c25 mbedtls_psa_hmac_operation_t *hmac) in psa_hmac_abort_internal()
32 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_setup_internal()
104 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_update_internal()
112 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_finish_internal()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DPasswordRecipient.java21 private final String hmac; field in PasswordRecipient.PRF
24 private PRF(String hmac, AlgorithmIdentifier prfAlgID) in PRF()
/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cms/
DPasswordRecipient.java25 private final String hmac; field in PasswordRecipient.PRF
28 private PRF(String hmac, AlgorithmIdentifier prfAlgID) in PRF()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c155 struct crypto_hash *hmac; in tlsv1_record_send() local
284 struct crypto_hash *hmac; in tlsv1_record_receive() local
/external/libwebsockets/include/libwebsockets/
Dlws-genhash.h62 const mbedtls_md_info_t *hmac; member
73 const mbedtls_md_info_t *hmac; member
/external/rust/android-crates-io/crates/zip/src/
Daes.rs99 let hmac = Hmac::<Sha1>::new_from_slice(hmac_key).unwrap(); in validate() localVariable
120 hmac: Hmac<Sha1>, field
/external/iproute2/include/uapi/linux/
Dseg6_hmac.h15 __u8 hmac[SEG6_HMAC_FIELD_LEN]; member

12345