2016-04-26 18 views

回答

1

SHA1_Init所以在header of sha_locl.h定義爲HASH_INITsha1dgst.c includes sha_locl.h其中包括../md32_common.h,其擴展爲HASH_UPDATE,HASH_TRANFORMHASH_FINAL,其在sha.h中定義爲SHA1_Init。我相信SHA1_Init的實際實現最終在這裏:http://osxr.org:8080/openssl/source/crypto/sha/sha_locl.h#0125或github上的這裏:https://github.com/openssl/openssl/blob/master/crypto/sha/sha_locl.h#L101

+0

正確,謝謝 –

+0

如果這是正確的,你會介意標記它嗎?謝謝! @smokinggun – winhowes