lp://staging/pytiger

Created by Mark Lee and last modified
Get this branch:
bzr branch lp://staging/pytiger
Only Mark Lee can upload to this branch. If you are Mark Lee please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Mark Lee
Project:
Python bindings for the Tiger (tree) hash
Status:
Mature

Recent revisions

6. By Mark Lee

pytiger.c:
 * add support for strings as input
 * as a result, `buffer` is now `const` and does not need to be `free()`d

5. By Mark Lee

pytiger.c:
 * add license
 * give the method definition array a size
 * use stdio-related functions instead of calling the python method
 * apparently when declaring `tt_ctx` as a pointer, it segfaults
 * declare `result` as a character array since the size is constant
 * remove debugging printf
 * files of size zero and one byte work now

4. By Mark Lee

tigertree.c:
 * remove cruft from bitcollider
tiger.c:
 * use tiger.h
 * update function signature to match tiger.h
setup.py:
 * add tigertree.c to sources
pytiger.c:
 * add the function tiger_treehash(). Does not work on zero-length files yet.
 * use tiger.h

3. By Mark Lee

 * add tiger tree hash implementation (without modifications) from bitcollider
 * add copyright information

2. By Mark Lee

 * add python wrapper
 * add ignore file
 * add setup file

1. By Mark Lee

Import tiger reference implementation sources

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
This branch contains Public information 
Everyone can see this information.

Subscribers