/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/hmac/ |
D | hmac.go | 22 package hmac package 46 type hmac struct { struct 47 opad, ipad []byte 48 outer, inner hash.Hash 53 marshaled bool 56 func (h *hmac) Sum(in []byte) []byte { 72 func (h *hmac) Write(p []byte) (n int, err error) { 76 func (h *hmac) Size() int { return h.outer.Size() } 77 func (h *hmac) BlockSize() int { return h.inner.BlockSize() } 79 func (h *hmac) Reset() {
|
/aosp_15_r20/external/boringssl/src/rust/bssl-crypto/src/ |
H A D | hmac.rs | 206 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 …]
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/ |
H A D | hmac.rs | 206 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 …]
|
/aosp_15_r20/external/cronet/crypto/ |
H A D | hmac_unittest.cc | 82 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
|
/aosp_15_r20/external/libchrome/crypto/ |
H A D | hmac_unittest.cc | 80 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
|
/aosp_15_r20/system/keymint/tests/tests/ |
H A D | keyblob_test.rs | 31 let hmac = BoringHmac; in test_encrypted_keyblob_roundtrip() localVariable 97 let hmac = BoringHmac {}; in test_serialize_authenticated_legacy_keyblob() localVariable 153 let hmac = BoringHmac {}; in test_deserialize_authenticated_legacy_keyblob_fail() localVariable 183 let hmac = BoringHmac {}; in test_deserialize_authenticated_legacy_keyblob_truncated() localVariable 198 let hmac = BoringHmac {}; in fix_hmac() localVariable
|
/aosp_15_r20/external/tink/cc/subtle/ |
H A D | hmac_boringssl_test.cc | 53 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
|
H A D | stateful_hmac_boringssl_test.cc | 53 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
|
/aosp_15_r20/external/okio/okio/src/jvmTest/kotlin/okio/internal/ |
H A D | HmacTest.kt | 71 fun hmac() { in <lambda>() method 110 private fun hmac(algorithm: String, key: ByteArray, bytes: ByteArray) = in hmac() method
|
/aosp_15_r20/device/google/cuttlefish/host/commands/secure_env/ |
D | tpm_keymaster_enforcement.cpp | 227 auto hmac = TpmHmacWithContext(resource_manager_, in ComputeSharedHmac() local 258 auto hmac = TpmHmacWithContext(resource_manager_, "verify_authorization", in VerifyAuthorization() local 283 auto hmac = in GenerateTimestampToken() local 319 auto hmac = in CreateKeyId() local
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | psa_crypto_mac.c | 25 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()
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | psa_crypto_mac.c | 25 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()
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/mac/internal/ |
H A D | LegacyFullMacTest.java | 81 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
|
/aosp_15_r20/system/security/mls/mls-rs-crypto-boringssl/src/ |
H A D | hash.rs | 125 let hmac = Hash::new(CipherSuite::CURVE25519_AES128).unwrap(); in hmac_sha256() localVariable 134 let hmac = Hash::new(CipherSuite::P384_AES256).unwrap(); in hmac_sha384() localVariable 149 let hmac = Hash::new(CipherSuite::CURVE448_CHACHA).unwrap(); in hmac_sha512() localVariable
|
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_hkdf/tests/ |
D | hmac.rs | 24 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
|
/aosp_15_r20/external/rust/beto-rust/nearby/crypto/crypto_provider/benches/ |
D | hmac_bench.rs | 32 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
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/ |
H A D | PrfMacTest.java | 136 Mac hmac = PrfMac.create(t.key); in computeHmac_isCorrect() local 146 Mac hmac = PrfMac.create(t.key); in verifyHmac_isCorrect() local
|
/aosp_15_r20/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
H A D | PasswordRecipient.java | 21 private final String hmac; field in PasswordRecipient.PRF 24 private PRF(String hmac, AlgorithmIdentifier prfAlgID) in PRF()
|
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cms/ |
H A D | PasswordRecipient.java | 25 private final String hmac; field in PasswordRecipient.PRF 28 private PRF(String hmac, AlgorithmIdentifier prfAlgID) in PRF()
|
/aosp_15_r20/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_sim_common.c | 168 unsigned char hmac[SHA1_MAC_LEN]; in eap_sim_verify_mac() local 207 unsigned char hmac[SHA1_MAC_LEN]; in eap_sim_add_mac() local 362 unsigned char hmac[SHA256_MAC_LEN]; in eap_sim_verify_mac_sha256() local 401 unsigned char hmac[SHA256_MAC_LEN]; in eap_sim_add_mac_sha256() local
|
/aosp_15_r20/trusty/user/app/confirmationui/src/ |
D | secure_input_tracker.cpp | 98 auto hmac = HMacer::hmac256(key, kConfirmationUIHandshakeLabel, in finalizeHandshake() local 139 auto hmac = HMacer::hmac256(key, kConfirmationUIEventLabel, in processInputEvent() local
|
/aosp_15_r20/external/wpa_supplicant_8/src/tls/ |
H A D | tlsv1_record.c | 155 struct crypto_hash *hmac; in tlsv1_record_send() local 284 struct crypto_hash *hmac; in tlsv1_record_receive() local
|
/aosp_15_r20/external/libwebsockets/include/libwebsockets/ |
H A D | lws-genhash.h | 62 const mbedtls_md_info_t *hmac; member 73 const mbedtls_md_info_t *hmac; member
|
/aosp_15_r20/frameworks/native/libs/input/ |
H A D | Input.cpp | 312 ui::LogicalDisplayId displayId, std::array<uint8_t, 32> hmac) { in initialize() 375 ui::LogicalDisplayId displayId, std::array<uint8_t, 32> hmac, in initialize() 554 ui::LogicalDisplayId displayId, std::array<uint8_t, 32> hmac, in initialize() 836 std::vector<uint8_t> hmac; in readFromParcel() local 904 std::vector<uint8_t> hmac(mHmac.begin(), mHmac.end()); in writeToParcel() local
|
/aosp_15_r20/system/hwservicemanager/ |
H A D | TokenManager.cpp | 144 std::array<uint8_t, EVP_MAX_MD_SIZE> hmac; in generateToken() local 190 hidl_vec<uint8_t> TokenManager::makeToken(const uint64_t id, const uint8_t *hmac, uint64_t hmacSize… in makeToken()
|