Home
last modified time | relevance | path

Searched refs:key_buf (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/quic/crypto/
Dchannel_id_nss.cc45 unsigned char key_buf[65]; in VerifyRaw() local
46 key_buf[0] = 0x04; in VerifyRaw()
47 memcpy(&key_buf[1], key.data(), key.size()); in VerifyRaw()
49 public_key.u.ec.publicValue.data = key_buf; in VerifyRaw()
50 public_key.u.ec.publicValue.len = sizeof(key_buf); in VerifyRaw()
/external/chromium_org/remoting/base/
Drsa_key_pair.cc47 std::vector<uint8> key_buf(key_str.begin(), key_str.end()); in FromString() local
49 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_buf)); in FromString()
62 std::vector<uint8> key_buf; in ToString() local
63 CHECK(key_->ExportPrivateKey(&key_buf)); in ToString()
64 std::string key_str(key_buf.begin(), key_buf.end()); in ToString()
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c265 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys() local
293 key_buf, sizeof(key_buf)); in eap_sake_derive_keys()
294 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys()
295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys()
/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c814 u8 key_buf[32], rsc[6]; in wpa_supplicant_process_stk_3_of_4() local
861 os_memcpy(key_buf, _key, 16); in wpa_supplicant_process_stk_3_of_4()
862 os_memcpy(key_buf + 16, peerkey->stk.u.auth.rx_mic_key, 8); in wpa_supplicant_process_stk_3_of_4()
863 os_memcpy(key_buf + 24, peerkey->stk.u.auth.tx_mic_key, 8); in wpa_supplicant_process_stk_3_of_4()
864 _key = key_buf; in wpa_supplicant_process_stk_3_of_4()