Home
last modified time | relevance | path

Searched refs:mac_key (Results 1 – 6 of 6) sorted by relevance

/external/bcc/tests/python/
Dtest_clang_complex.c95 struct MacaddrKey mac_key = {.ip=arp->spa}; in handle_packet() local
97 macaddr_map.update(&mac_key, &mac_leaf); in handle_packet()
138 struct MacaddrKey mac_key = {.ip = cfg_leaf->bpfdev_ip}; in handle_packet() local
141 mac_key.ip = cfg_leaf->bpfdev_ip; in handle_packet()
142 mac_leaf = macaddr_map.lookup(&mac_key); in handle_packet()
149 mac_key.ip = cfg_leaf->slave_ip; in handle_packet()
150 mac_leaf = macaddr_map.lookup(&mac_key); in handle_packet()
/external/boringssl/src/ssl/
Dssl_aead_ctx.cc59 Span<const uint8_t> mac_key, Span<const uint8_t> fixed_iv) { in Create() argument
69 expected_mac_key_len != mac_key.size()) { in Create()
75 if (!mac_key.empty()) { in Create()
78 if (mac_key.size() + enc_key.size() + fixed_iv.size() > in Create()
83 OPENSSL_memcpy(merged_key, mac_key.data(), mac_key.size()); in Create()
84 OPENSSL_memcpy(merged_key + mac_key.size(), enc_key.data(), enc_key.size()); in Create()
85 OPENSSL_memcpy(merged_key + mac_key.size() + enc_key.size(), in Create()
88 enc_key.size() + mac_key.size() + fixed_iv.size()); in Create()
110 if (mac_key.empty()) { in Create()
Dinternal.h665 Span<const uint8_t> mac_key,
/external/boringssl/src/crypto/cipher_extra/
De_tls.c38 uint8_t mac_key[EVP_MAX_MD_SIZE]; member
87 OPENSSL_memcpy(tls_ctx->mac_key, key, mac_key_len); in aead_tls_init()
347 tls_ctx->mac_key, tls_ctx->mac_key_len)) { in aead_tls_open()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c1163 uint8_t mac_key[EVP_MAX_MD_SIZE]; in PKCS12_create() local
1240 mac_key, mac_md) || in PKCS12_create()
1241 !HMAC(mac_md, mac_key, EVP_MD_size(mac_md), CBB_data(&auth_safe_data), in PKCS12_create()
1270 OPENSSL_cleanse(mac_key, sizeof(mac_key)); in PKCS12_create()
/external/python/cpython3/Doc/library/
Dhashlib.rst634 >>> mac_key = blake2s(key=orig_key, person=b'kMAC').digest()
637 >>> print(b64encode(mac_key).decode('utf-8'))