Home
last modified time | relevance | path

Searched refs:SHA1Update (Results 1 – 10 of 10) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_internal.c97 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
111 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
155 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
280 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_finish()
281 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()
Dsha1-internal.c41 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
248 void SHA1Update(SHA1_CTX* context, const void *_data, u32 len) in SHA1Update() function
288 SHA1Update(context, (unsigned char *) "\200", 1); in SHA1Final()
290 SHA1Update(context, (unsigned char *) "\0", 1); in SHA1Final()
292 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() in SHA1Final()
Dsha1_i.h19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_internal.c97 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
111 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
155 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
280 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_finish()
281 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()
Dsha1-internal.c41 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
248 void SHA1Update(SHA1_CTX* context, const void *_data, u32 len) in SHA1Update() function
288 SHA1Update(context, (unsigned char *) "\200", 1); in SHA1Final()
290 SHA1Update(context, (unsigned char *) "\0", 1); in SHA1Final()
292 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() in SHA1Final()
Dsha1_i.h19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
/third_party/lwip/src/netif/ppp/
Deap.c328 SHA1Update(&ctxt, pn_secret, strlen(pn_secret)); in pncrypt_setkey()
330 SHA1Update(&ctxt, tbuf, strlen(tbuf)); in pncrypt_setkey()
823 SHA1Update(&ctxt, &pcb->eap.es_server.ea_id, 1); in eap_send_request()
824 SHA1Update(&ctxt, pcb->eap.es_server.ea_skey, in eap_send_request()
826 SHA1Update(&ctxt, pcb->eap.es_server.ea_peer, in eap_send_request()
834 SHA1Update(&ctxt, &pcb->eap.es_server.ea_id, 1); in eap_send_request()
835 SHA1Update(&ctxt, pcb->eap.es_server.ea_skey, in eap_send_request()
837 SHA1Update(&ctxt, optr - SHA_DIGESTSIZE, in eap_send_request()
1272 SHA1Update(&ctxt, &val, 1);
1273 SHA1Update(&ctxt, pcb->eap.es_client.ea_skey, SESSION_KEY_LEN);
[all …]
/third_party/mesa3d/src/util/sha1/
Dsha1.c125 SHA1Update(SHA1_CTX *context, const uint8_t *data, size_t len) in SHA1Update() function
157 SHA1Update(context, (uint8_t *)"\200", 1); in SHA1Pad()
159 SHA1Update(context, (uint8_t *)"\0", 1); in SHA1Pad()
160 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Pad()
Dsha1.h32 void SHA1Update(SHA1_CTX *, const uint8_t *, size_t);
/third_party/mesa3d/src/util/
Dmesa-sha1.h47 SHA1Update(ctx, (const unsigned char *)data, size); in _mesa_sha1_update()