forked from wolfSSL/wolfssl
update to c files for name change and pwdbased along with debugging src function calls
This commit is contained in:
@@ -403,7 +403,7 @@ int main( int argc, char **argv )
|
||||
/* wolfCrypt API */
|
||||
|
||||
/* Init Blake2b digest, track size incase final doesn't want to "remember" */
|
||||
int Wolf_InitBlake2b(Blake2b* b2b, word32 digestSz)
|
||||
int wc_InitBlake2b(Blake2b* b2b, word32 digestSz)
|
||||
{
|
||||
b2b->digestSz = digestSz;
|
||||
|
||||
@@ -412,14 +412,14 @@ int Wolf_InitBlake2b(Blake2b* b2b, word32 digestSz)
|
||||
|
||||
|
||||
/* Blake2b Update */
|
||||
int Wolf_Blake2bUpdate(Blake2b* b2b, const byte* data, word32 sz)
|
||||
int wc_Blake2bUpdate(Blake2b* b2b, const byte* data, word32 sz)
|
||||
{
|
||||
return blake2b_update(b2b->S, data, sz);
|
||||
}
|
||||
|
||||
|
||||
/* Blake2b Final, if pass in zero size we use init digestSz */
|
||||
int Wolf_Blake2bFinal(Blake2b* b2b, byte* final, word32 requestSz)
|
||||
int wc_Blake2bFinal(Blake2b* b2b, byte* final, word32 requestSz)
|
||||
{
|
||||
word32 sz = requestSz ? requestSz : b2b->digestSz;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user