Or you could also use another SHA1 implementation that is released under a BSD-like licence. For instance sphlib has an implementation (with fine tuning) of all major hash functions: http://www.saphir2.com/sphlib/
On Thursday, December 6, 2012 5:59:22 AM UTC+1, Liu Liu wrote: > > Hi, > > I am reaching out because in my personal project ( > https://github.com/liuliu/ccv), I used the block sha1 implementation ( > https://github.com/git/git/blob/master/block-sha1/sha1.c) in git. It is a > fast, generalized and standalone implementation, however, since it is a > part of git, it is under GPL license. Is there any possibilities for the > original author/authors to release this particular piece of code under BSD > / MIT or Apache license? Thanks! > > --- > Liu Liu > http://liuliu.me > http://facebook.com/liu.ll > --