Searched refs:mac_key (Results 1 - 9 of 9) sorted by relevance

/external/chromium/chrome/browser/sync/util/
H A Dnigori.h43 const std::string& mac_key);
62 std::string* mac_key) const;
H A Dnigori.cc111 const std::string& mac_key) {
119 mac_key_.reset(SymmetricKey::Import(SymmetricKey::HMAC_SHA1, mac_key));
250 std::string* mac_key) const {
253 DCHECK(mac_key);
257 mac_key_->GetRawKey(mac_key);
109 InitByImport(const std::string& user_key, const std::string& encryption_key, const std::string& mac_key) argument
H A Dcryptographer_unittest.cc164 std::string user_key, encryption_key, mac_key; local
165 ASSERT_TRUE(unpacked->ExportKeys(&user_key, &encryption_key, &mac_key));
169 EXPECT_EQ(expected_mac, mac_key);
H A Dnigori_unittest.cc145 std::string mac_key; local
146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key));
149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key));
H A Dcryptographer.cc236 key.mac_key())) {
254 key.mac_key())) {
/external/srtp/crypto/ae_xfm/
H A Dxfm.c33 unsigned char mac_key[MAC_KEY_LEN]; local
59 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key);
79 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN);
107 unsigned char mac_key[MAC_KEY_LEN]; local
136 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key);
155 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN);
193 unsigned char mac_key[MAC_KEY_LEN]; local
224 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key);
262 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN);
304 unsigned char mac_key[MAC_KEY_LE local
[all...]
/external/openssl/crypto/evp/
H A Dpmeth_gn.c205 EVP_PKEY *mac_key = NULL; local
215 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0)
220 return mac_key;
/external/openssl/ssl/
H A Dt1_enc.c164 EVP_PKEY *mac_key; local
176 mac_key = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, sec, sec_len);
177 if (!mac_key)
179 if (!EVP_DigestSignInit(&ctx,NULL,md, NULL, mac_key))
181 if (!EVP_DigestSignInit(&ctx_tmp,NULL,md, NULL, mac_key))
199 if (!EVP_DigestSignInit(&ctx,NULL,md, NULL, mac_key))
201 if (!EVP_DigestSignInit(&ctx_tmp,NULL,md, NULL, mac_key))
238 EVP_PKEY_free(mac_key);
339 EVP_PKEY *mac_key; local
495 mac_key
[all...]
/external/dropbear/libtomcrypt/
H A Dcrypt.tex4822 mac_key[16], outbuf[48];
4842 memcpy(mac_key, outbuf+32, 16);

Completed in 980 milliseconds