Home
last modified time | relevance | path

Searched refs:sha1tmp (Results 1 – 3 of 3) sorted by relevance

/third_party/openssl/crypto/evp/
Dm_md5_sha1.c54 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in ctrl() local
88 if (!SHA1_Final(sha1tmp, &mctx->sha1)) in ctrl()
111 if (!SHA1_Update(&mctx->sha1, sha1tmp, sizeof(sha1tmp))) in ctrl()
117 OPENSSL_cleanse(sha1tmp, sizeof(sha1tmp)); in ctrl()
Dm_sha1.c38 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in ctrl() local
67 if (!SHA1_Final(sha1tmp, sha1)) in ctrl()
84 if (!SHA1_Update(sha1, sha1tmp, sizeof(sha1tmp))) in ctrl()
88 OPENSSL_cleanse(sha1tmp, sizeof(sha1tmp)); in ctrl()
De_des3.c319 unsigned char icv[8], iv[8], sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_unwrap() local
348 SHA1(out, inl - 16, sha1tmp); in des_ede3_unwrap()
350 if (!CRYPTO_memcmp(sha1tmp, icv, 8)) in des_ede3_unwrap()
353 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap()
365 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_wrap() local
371 SHA1(in, inl, sha1tmp); in des_ede3_wrap()
372 memcpy(out + inl + 8, sha1tmp, 8); in des_ede3_wrap()
373 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()