Home
last modified time | relevance | path

Searched refs:SHA1Update (Results 1 – 12 of 12) 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/qemu/distrib/ext4_utils/src/
Duuid.c45 SHA1Update(&ctx, (const u8*)namespace, strlen(namespace)); in sha1_hash()
46 SHA1Update(&ctx, (const u8*)name, strlen(name)); in sha1_hash()
Dsha1.h39 void SHA1Update(SHA1_CTX *, const u_char *, u_int);
Dsha1.c217 void SHA1Update(context, data, len) in SHA1Update() function
261 SHA1Update(context, (const u_char *)"\200", 1);
263 SHA1Update(context, (const u_char *)"\0", 1);
264 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */
/external/valgrind/main/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/chromium_org/third_party/webrtc/base/
Dsha1.h27 void SHA1Update(SHA1_CTX* context, const uint8* data, size_t len);
Dsha1.cc221 void SHA1Update(SHA1_CTX* context, const uint8* data, size_t input_len) { in SHA1Update() function
265 SHA1Update(context, reinterpret_cast<const uint8*>("\200"), 1); in SHA1Final()
267 SHA1Update(context, reinterpret_cast<const uint8*>("\0"), 1); in SHA1Final()
269 SHA1Update(context, finalcount, 8); // Should cause a SHA1Transform(). in SHA1Final()
Dsha1digest.h30 SHA1Update(&ctx_, static_cast<const uint8*>(buf), len); in Update()
/external/chromium_org/third_party/usrsctp/
Dlocalchanges.patch271 ! #define SHA1_Update SHA1Update