Exemple #1
0
/* see sph_shavite.h */
void
sph_shavite512_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
{
	shavite_big_close(cc, ub, n, dst, 16);
	shavite_big_init(cc, IV512);
}
Exemple #2
0
/* see sph_shavite.h */
void
sph_shavite384_close(void *cc, void *dst)
{
	shavite_big_close(cc, 0, 0, dst, 12);
	shavite_big_init(cc, IV384);
}
Exemple #3
0
/* see sph_shavite.h */
void
sph_shavite512_init(void *cc)
{
	shavite_big_init(cc, IV512);
}
Exemple #4
0
/* see sph_shavite.h */
void
sph_shavite384_init(void *cc)
{
	shavite_big_init(cc, IV384);
}
Exemple #5
0
/* see sph_shavite.h */
void
sph_shavite512_close(void *cc, void *dst)
{
	shavite_big_close(cc, 0, 0, dst, 16);
	shavite_big_init(cc, IV512);
}
Exemple #6
0
/* see sph_shavite.h */
void
sph_shavite512_init(void *cc)
{
	shavite_big_init((sph_shavite_big_context*)cc, IV512);
}
Exemple #7
0
/* see sph_shavite.h */
void
sph_shavite384_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
{
	shavite_big_close((sph_shavite_big_context*)cc, ub, n, dst, 12);
	shavite_big_init((sph_shavite_big_context*)cc, IV384);
}
Exemple #8
0
/* see sph_shavite.h */
void
sph_shavite384_init(void *cc)
{
	shavite_big_init((sph_shavite_big_context*)cc, IV384);
}