- Timestamp:
- Feb 7, 2019, 8:36:33 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/wolfssl-3.12.2/wolfcrypt/src/blake2b.c
r352 r372 71 71 72 72 73 static INLINE int blake2b_set_lastnode( blake2b_state *S )73 static WC_INLINE int blake2b_set_lastnode( blake2b_state *S ) 74 74 { 75 75 S->f[1] = ~0ULL; … … 78 78 79 79 /* Some helper functions, not necessarily useful */ 80 static INLINE int blake2b_set_lastblock( blake2b_state *S )80 static WC_INLINE int blake2b_set_lastblock( blake2b_state *S ) 81 81 { 82 82 if( S->last_node ) blake2b_set_lastnode( S ); … … 86 86 } 87 87 88 static INLINE int blake2b_increment_counter( blake2b_state *S, const word6488 static WC_INLINE int blake2b_increment_counter( blake2b_state *S, const word64 89 89 inc ) 90 90 { … … 94 94 } 95 95 96 static INLINE int blake2b_init0( blake2b_state *S )96 static WC_INLINE int blake2b_init0( blake2b_state *S ) 97 97 { 98 98 int i; … … 423 423 int wc_InitBlake2b(Blake2b* b2b, word32 digestSz) 424 424 { 425 if (b2b == NULL){ 426 return -1; 427 } 425 428 b2b->digestSz = digestSz; 426 429
Note:
See TracChangeset
for help on using the changeset viewer.