~ubuntu-branches/ubuntu/vivid/unrar-nonfree/vivid

« back to all changes in this revision

Viewing changes to blake2s.cpp

  • Committer: Package Import Robot
  • Author(s): Martin Meredith
  • Date: 2015-02-03 12:58:01 UTC
  • mfrom: (1.1.18) (5.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20150203125801-od6ev8cqy1er51vz
Tags: 1:5.2.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
/* init2 xors IV with input parameter block */
58
58
void blake2s_init_param( blake2s_state *S, uint32 node_offset, uint32 node_depth)
59
59
{
 
60
#ifdef USE_SSE
 
61
  if (_SSE_Version>=SSE_SSE2)
 
62
    blake2s_init_sse();
 
63
#endif
 
64
 
60
65
  S->init(); // Clean data.
61
66
  for( int i = 0; i < 8; ++i )
62
67
    S->h[i] = blake2s_IV[i];