/external/srtp/crypto/ae_xfm/ |
D | xfm.c | 33 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_func() local 59 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); in aes_128_cbc_hmac_sha1_96_func() 79 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); in aes_128_cbc_hmac_sha1_96_func() 107 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_inv() local 136 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); in aes_128_cbc_hmac_sha1_96_inv() 155 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); in aes_128_cbc_hmac_sha1_96_inv() 193 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_enc() local 224 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); in aes_128_cbc_hmac_sha1_96_enc() 262 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); in aes_128_cbc_hmac_sha1_96_enc() 304 unsigned char mac_key[MAC_KEY_LEN]; in aes_128_cbc_hmac_sha1_96_dec() local [all …]
|
/external/chromium/chrome/browser/sync/util/ |
D | nigori.cc | 111 const std::string& mac_key) { in InitByImport() argument 119 mac_key_.reset(SymmetricKey::Import(SymmetricKey::HMAC_SHA1, mac_key)); in InitByImport() 250 std::string* mac_key) const { in ExportKeys() 253 DCHECK(mac_key); in ExportKeys() 257 mac_key_->GetRawKey(mac_key); in ExportKeys()
|
D | nigori.h | 43 const std::string& mac_key); 62 std::string* mac_key) const;
|
D | nigori_unittest.cc | 145 std::string mac_key; in TEST() local 146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST() 149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key)); in TEST()
|
D | cryptographer_unittest.cc | 164 std::string user_key, encryption_key, mac_key; in TEST() local 165 ASSERT_TRUE(unpacked->ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST() 169 EXPECT_EQ(expected_mac, mac_key); in TEST()
|
D | cryptographer.cc | 236 key.mac_key())) { in UnpackBootstrapToken() 254 key.mac_key())) { in InstallKeys()
|
/external/openssl/crypto/evp/ |
D | pmeth_gn.c | 205 EVP_PKEY *mac_key = NULL; in EVP_PKEY_new_mac_key() local 215 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0) in EVP_PKEY_new_mac_key() 220 return mac_key; in EVP_PKEY_new_mac_key()
|
/external/openssl/ssl/ |
D | t1_enc.c | 164 EVP_PKEY *mac_key; in tls1_P_hash() local 176 mac_key = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, sec, sec_len); in tls1_P_hash() 177 if (!mac_key) in tls1_P_hash() 179 if (!EVP_DigestSignInit(&ctx,NULL,md, NULL, mac_key)) in tls1_P_hash() 181 if (!EVP_DigestSignInit(&ctx_tmp,NULL,md, NULL, mac_key)) in tls1_P_hash() 199 if (!EVP_DigestSignInit(&ctx,NULL,md, NULL, mac_key)) in tls1_P_hash() 201 if (!EVP_DigestSignInit(&ctx_tmp,NULL,md, NULL, mac_key)) in tls1_P_hash() 238 EVP_PKEY_free(mac_key); in tls1_P_hash() 339 EVP_PKEY *mac_key; in tls1_change_cipher_state() local 495 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL, in tls1_change_cipher_state() [all …]
|
/external/chromium/chrome/browser/sync/protocol/ |
D | nigori_specifics.proto | 24 optional bytes mac_key = 4; field
|
/external/dropbear/libtomcrypt/ |
D | crypt.tex | 4822 mac_key[16], outbuf[48]; 4842 memcpy(mac_key, outbuf+32, 16);
|