Home
last modified time | relevance | path

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

1234

/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/crypto/
Dhmac_unittest.cc82 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
151 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
177 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
218 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
243 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
257 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
288 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST() local
311 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
337 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST() local
/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/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/okio/okio/src/jvmTest/kotlin/okio/internal/
DHmacTest.kt71 fun hmac() { in <lambda>() method in okio.internal.HmacTest
110 private fun hmac(algorithm: String, key: ByteArray, bytes: ByteArray) = in hmac() method
/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
Dhmac.rs161 fn hmac<const N: usize, M: Md>(key: &[u8], data: &[u8]) -> [u8; N] { in hmac() function
343 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_test() localVariable
362 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_reset_test() localVariable
384 let mut hmac = HmacSha256::new(key); in hmac_sha256_fixed_size_key_test() localVariable
399 let mut hmac: HmacSha256 = HmacSha256::new_from_slice(&key); in hmac_sha256_update_test() localVariable
427 let mut hmac = HmacSha256::new_from_slice(&key); in hmac_sha256_update_chunks_test() localVariable
443 let mut hmac: HmacSha256 = HmacSha256::new_from_slice(&key); in hmac_sha256_verify_test() 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/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/openthread/third_party/mbedtls/repo/library/
Dpsa_crypto_mac.c24 mbedtls_psa_hmac_operation_t *hmac) in psa_hmac_abort_internal()
31 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_setup_internal()
103 mbedtls_psa_hmac_operation_t *hmac, in psa_hmac_update_internal()
111 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/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
/external/kernel-headers/original/uapi/linux/
Dseg6_hmac.h15 __u8 hmac[SEG6_HMAC_FIELD_LEN]; member
/external/libnl/include/linux-private/linux/
Dseg6_hmac.h15 __u8 hmac[SEG6_HMAC_FIELD_LEN]; member
/external/tink/go/streamingaead/subtle/
Daes_ctr_hmac.go138 hmac *subtlemac.HMAC member
224 hmac *subtlemac.HMAC member
/external/openthread/tests/unit/
Dtest_hmac_sha256.cpp244 Crypto::HmacSha256 hmac; in TestHmacSha256() local
270 Crypto::HmacSha256 hmac; in TestHmacSha256() local
/external/openthread/src/core/api/
Dcrypto_api.cpp52 HmacSha256 hmac; in otCryptoHmacSha256() local
/external/rust/beto-rust/nearby/presence/ldt_np_adv/src/
Dtests.rs233 let hmac: [u8; 32] = hmac_key.calculate_hmac::<C>(&identity_token); in make_test_components() localVariable
260 hmac: [u8; 32], field

1234