Searched refs:hmac_ctx (Results 1 - 2 of 2) sorted by relevance

/external/srtp/crypto/ae_xfm/
H A Dxfm.c31 hmac_ctx_t hmac_ctx; local
52 status = hmac_init(&hmac_ctx, key, KEY_LEN);
54 status = hmac_compute(&hmac_ctx, "ENC", 3, ENC_KEY_LEN, enc_key);
57 status = hmac_init(&hmac_ctx, key, KEY_LEN);
59 status = hmac_compute(&hmac_ctx, "MAC", 3, MAC_KEY_LEN, mac_key);
79 status = hmac_init(&hmac_ctx, mac_key, MAC_KEY_LEN);
82 status = hmac_start(&hmac_ctx);
85 status = hmac_update(&hmac_ctx, clear, clear_len);
88 status = hmac_compute(&hmac_ctx, opaque, *opaque_len, TAG_LEN, auth_tag);
105 hmac_ctx_t hmac_ctx; local
191 hmac_ctx_t hmac_ctx; local
302 hmac_ctx_t hmac_ctx; local
[all...]
/external/chromium_org/net/third_party/nss/ssl/
H A Dssl3ext.c994 HMACContext *hmac_ctx; local
1232 hmac_ctx = (HMACContext *)hmac_ctx_buf;
1234 if (HMAC_Init(hmac_ctx, hashObj, mac_key,
1238 HMAC_Begin(hmac_ctx);
1239 HMAC_Update(hmac_ctx, key_name, SESS_TICKET_KEY_NAME_LEN);
1240 HMAC_Update(hmac_ctx, iv, sizeof(iv));
1241 HMAC_Update(hmac_ctx, (unsigned char *)length_buf, 2);
1242 HMAC_Update(hmac_ctx, ciphertext.data, ciphertext.len);
1243 HMAC_Finish(hmac_ctx, computed_mac, &computed_mac_length,
1352 HMACContext *hmac_ctx; local
[all...]

Completed in 96 milliseconds