Lines Matching defs:sha1
43 #include <sys/sha1.h>
375 SHA1_CTX sha1 = ssl->hs_sha1; /* clone sha1 context */
377 SHA1_CTX *sha1ctx = &sha1;
388 SHA1Final(hashes->sha1, sha1ctx);
391 bcopy(hashes->sha1, seed + MD5_HASH_LEN, SHA1_HASH_LEN);
428 SHA1Final(hashes->sha1, sha1ctx);
434 SHA1Update(sha1ctx, hashes->sha1, SHA1_HASH_LEN);
435 SHA1Final(hashes->sha1, sha1ctx);
1321 SHA1_CTX sha1, *sha1ctx;
1325 sha1ctx = &sha1;
1670 bcopy(ssl->hs_hashes.sha1, ssl3hashes.sha1,
1671 sizeof (ssl3hashes.sha1));
1683 bcopy(ssl3hashes.sha1, buf + MD5_HASH_LEN, SHA1_HASH_LEN);