Searched refs:sha1tmp (Results 1 – 3 of 3) sorted by relevance
| /crypto/sha/ |
| A D | sha1dgst.c | 31 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in ossl_sha1_ctrl() local 56 if (!SHA1_Final(sha1tmp, sha1)) in ossl_sha1_ctrl() 73 if (!SHA1_Update(sha1, sha1tmp, sizeof(sha1tmp))) in ossl_sha1_ctrl() 77 OPENSSL_cleanse(sha1tmp, sizeof(sha1tmp)); in ossl_sha1_ctrl()
|
| /crypto/md5/ |
| A D | md5_sha1.c | 45 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in ossl_md5_sha1_ctrl() local 76 if (!SHA1_Final(sha1tmp, &mctx->sha1)) in ossl_md5_sha1_ctrl() 99 if (!SHA1_Update(&mctx->sha1, sha1tmp, sizeof(sha1tmp))) in ossl_md5_sha1_ctrl() 105 OPENSSL_cleanse(sha1tmp, sizeof(sha1tmp)); in ossl_md5_sha1_ctrl()
|
| /crypto/evp/ |
| A D | e_des3.c | 322 unsigned char icv[8], iv[8], sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_unwrap() local 351 if (ossl_sha1(out, inl - 16, sha1tmp) /* Work out hash of first portion */ in des_ede3_unwrap() 352 && CRYPTO_memcmp(sha1tmp, icv, 8) == 0) in des_ede3_unwrap() 355 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap() 367 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_wrap() local 373 if (!ossl_sha1(in, inl, sha1tmp)) in des_ede3_wrap() 375 memcpy(out + inl + 8, sha1tmp, 8); in des_ede3_wrap() 376 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()
|
Completed in 20 milliseconds