Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal.c79 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
93 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
137 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
230 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_finish()
231 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()
Dsha1-internal.c38 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
245 void SHA1Update(SHA1_CTX* context, const void *_data, u32 len) in SHA1Update() function
285 SHA1Update(context, (unsigned char *) "\200", 1); in SHA1Final()
287 SHA1Update(context, (unsigned char *) "\0", 1); in SHA1Final()
289 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() in SHA1Final()
Dsha1_i.h19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
/external/valgrind/none/tests/
Dsha1_test.c65 void SHA1Update(SHA1_CTX* context, const unsigned char* data, u_int32_t len);
177 void SHA1Update(SHA1_CTX* context, const unsigned char* data, u_int32_t len) in SHA1Update() function
231 SHA1Update(context, &c, 1); in SHA1Final()
234 SHA1Update(context, &c, 1); in SHA1Final()
236 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Final()
255 SHA1Update(&ctx, abc, 3); in main()
/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/openssh/openbsd-compat/
Dsha1.c127 SHA1Update(SHA1_CTX *context, const u_int8_t *data, size_t len) in SHA1Update() function
159 SHA1Update(context, (u_int8_t *)"\200", 1); in SHA1Pad()
161 SHA1Update(context, (u_int8_t *)"\0", 1); in SHA1Pad()
162 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Pad()
Dsha1.h29 void SHA1Update(SHA1_CTX *, const u_int8_t *, size_t)
/external/openssh/
Ddigest-libc.c88 (md_update_fn *) SHA1Update,