/external/chromium_org/sync/util/ |
H A D | 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));
|
H A D | nigori.cc | 106 const std::string& mac_key) { 114 mac_key_.reset(SymmetricKey::Import(SymmetricKey::HMAC_SHA1, mac_key)); 240 std::string* mac_key) const { 243 DCHECK(mac_key); 247 mac_key_->GetRawKey(mac_key); 104 InitByImport(const std::string& user_key, const std::string& encryption_key, const std::string& mac_key) argument
|
H A D | cryptographer.cc | 36 std::string user_key, encryption_key, mac_key; local 37 it->second->ExportKeys(&user_key, &encryption_key, &mac_key); 39 nigori_copy->InitByImport(user_key, encryption_key, mac_key); 315 key.mac_key())) { 373 key.mac_key())) {
|
/external/openssl/crypto/evp/ |
H A D | 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/chromium_org/third_party/libsrtp/srtp/crypto/ae_xfm/ |
H A D | xfm.c | 68 unsigned char mac_key[MAC_KEY_LEN]; local 94 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); 114 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); 142 unsigned char mac_key[MAC_KEY_LEN]; local 171 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); 190 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); 227 unsigned char mac_key[MAC_KEY_LEN]; local 258 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key); 296 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN); 338 unsigned char mac_key[MAC_KEY_LE local [all...] |
/external/srtp/crypto/ae_xfm/ |
H A D | 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_LE local [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/evp/ |
H A D | evp.c | 221 EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, const uint8_t *mac_key, argument 234 (uint8_t *)mac_key) <= 0 ||
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
H A D | t1_enc.c | 162 EVP_PKEY *mac_key; local 172 mac_key = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, sec, sec_len); 173 if (!mac_key) 175 if (!EVP_DigestSignInit(&ctx_init,NULL,md, NULL, mac_key)) 236 EVP_PKEY_free(mac_key); 462 EVP_PKEY *mac_key = local 465 if (!mac_key) 467 EVP_DigestSignInit(mac_ctx, NULL, s->s3->tmp.new_hash, NULL, mac_key); 468 EVP_PKEY_free(mac_key);
|
/external/openssl/ssl/ |
H A D | 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 500 mac_key [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | ssl3ext.c | 43 PK11SymKey **aes_key, PK11SymKey **mac_key); 46 PRUint32 *aes_key_length, const unsigned char **mac_key, 185 PK11SymKey **mac_key) 196 *mac_key = session_ticket_mac_key_pkcs11; 217 PRUint32 *aes_key_length, const unsigned char **mac_key, 229 *mac_key = session_ticket_mac_key; 1007 const unsigned char *mac_key; local 1048 &mac_key, &mac_key_length); 1254 if (HMAC_Init(hmac_ctx, hashObj, mac_key, 1368 const unsigned char *mac_key; local 184 ssl3_GetSessionTicketKeysPKCS11(sslSocket *ss, PK11SymKey **aes_key, PK11SymKey **mac_key) argument 216 ssl3_GetSessionTicketKeys(const unsigned char **aes_key, PRUint32 *aes_key_length, const unsigned char **mac_key, PRUint32 *mac_key_length) argument [all...] |