Searched defs:hmac_ctx (Results 1 - 2 of 2) sorted by relevance
/external/srtp/crypto/ae_xfm/ |
H A D | xfm.c | 31 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 D | ssl3ext.c | 975 HMACContext *hmac_ctx; local 1213 hmac_ctx = (HMACContext *)hmac_ctx_buf; 1215 if (HMAC_Init(hmac_ctx, hashObj, mac_key, 1219 HMAC_Begin(hmac_ctx); 1220 HMAC_Update(hmac_ctx, key_name, SESS_TICKET_KEY_NAME_LEN); 1221 HMAC_Update(hmac_ctx, iv, sizeof(iv)); 1222 HMAC_Update(hmac_ctx, (unsigned char *)length_buf, 2); 1223 HMAC_Update(hmac_ctx, ciphertext.data, ciphertext.len); 1224 HMAC_Finish(hmac_ctx, computed_mac, &computed_mac_length, 1333 HMACContext *hmac_ctx; local [all...] |
Completed in 113 milliseconds