Home
last modified time | relevance | path

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

/external/ppp/pppd/
Deap.c329 SHA1Update(&ctxt, pn_secret, strlen(pn_secret)); in pncrypt_setkey()
331 SHA1Update(&ctxt, tbuf, strlen(tbuf)); in pncrypt_setkey()
818 SHA1Update(&ctxt, &esp->es_server.ea_id, 1);
819 SHA1Update(&ctxt, esp->es_server.ea_skey,
821 SHA1Update(&ctxt, esp->es_server.ea_peer,
829 SHA1Update(&ctxt, &esp->es_server.ea_id, 1);
830 SHA1Update(&ctxt, esp->es_server.ea_skey,
832 SHA1Update(&ctxt, optr - SHA_DIGESTSIZE,
1270 SHA1Update(&ctxt, &val, 1);
1271 SHA1Update(&ctxt, esp->es_client.ea_skey, SESSION_KEY_LEN);
[all …]
/external/wpa_supplicant/
Dcrypto_internal.c108 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
121 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
144 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
218 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_finish()
219 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()
Dsha1.c385 static void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
406 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
665 void SHA1Update(SHA1_CTX* context, const void *_data, u32 len) in SHA1Update() function
705 SHA1Update(context, (unsigned char *) "\200", 1); in SHA1Final()
707 SHA1Update(context, (unsigned char *) "\0", 1); in SHA1Final()
709 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() in SHA1Final()
Dsha1.h37 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dsha1.c390 static void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
411 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
672 void SHA1Update(SHA1_CTX* context, const void *_data, u32 len) in SHA1Update() function
712 SHA1Update(context, (unsigned char *) "\200", 1); in SHA1Final()
714 SHA1Update(context, (unsigned char *) "\0", 1); in SHA1Final()
716 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() in SHA1Final()
Dcrypto_internal.c109 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
122 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
145 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
219 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_finish()
220 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()
Dsha1.h38 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);