Exemplo n.º 1
0
/* see sph_luffa.h */
void
sph_luffa256_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
{
	luffa3_close((sph_luffa224_context *)cc, ub, n, dst, 8);
	sph_luffa256_init(cc);
}
Exemplo n.º 2
0
/* see sph_luffa.h */
void
sph_luffa256_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
{
	luffa3_close(cc, ub, n, dst, 8);
//	sph_luffa256_init(cc);
}
Exemplo n.º 3
0
/* see sph_luffa.h */
void
sph_luffa224_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
{
	luffa3_close(cc, ub, n, dst, 7);
	sph_luffa224_init(cc);
}