Searched refs:sha1tmp (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/openssl/crypto/sha/ |
H 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()
|
/freebsd/crypto/openssl/crypto/md5/ |
H 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()
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes_wrap.c | 38 unsigned char icv[8], iv[TDES_IVLEN], sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_unwrap() local 68 if (ossl_sha1(out, inl - 16, sha1tmp) /* Work out hash of first portion */ in des_ede3_unwrap() 69 && CRYPTO_memcmp(sha1tmp, icv, 8) == 0) in des_ede3_unwrap() 72 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap() 84 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_wrap() local 95 if (!ossl_sha1(in, inl, sha1tmp)) in des_ede3_wrap() 97 memcpy(out + inl + ivlen, sha1tmp, icvlen); in des_ede3_wrap() 98 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | e_des3.c | 320 unsigned char icv[8], iv[8], sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_unwrap() local 348 if (ossl_sha1(out, inl - 16, sha1tmp) /* Work out hash of first portion */ in des_ede3_unwrap() 349 && CRYPTO_memcmp(sha1tmp, icv, 8) == 0) in des_ede3_unwrap() 352 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap() 364 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_wrap() local 370 if (!ossl_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()
|