/external/chromium/chrome/browser/sync/util/ |
nigori.h | 43 const std::string& mac_key); 62 std::string* mac_key) const;
|
nigori.cc | 111 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);
|
cryptographer_unittest.cc | 164 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);
|
nigori_unittest.cc | 145 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));
|
cryptographer.cc | 236 key.mac_key())) { 254 key.mac_key())) {
|
/external/srtp/crypto/ae_xfm/ |
xfm.c | 33 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_LEN] local [all...] |
/external/openssl/crypto/evp/ |
pmeth_gn.c | 205 EVP_PKEY *mac_key = NULL; local 215 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0) 220 return mac_key;
|
/external/openssl/ssl/ |
t1_enc.c | 164 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 = EVP_PKEY_new_mac_key(mac_type, NULL [all...] |
/external/dropbear/libtomcrypt/ |
crypt.tex | [all...] |