Home
last modified time | relevance | path

Searched refs:blake2s (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/hashes/
A Dblake2s.c156 if (md->blake2s.last_node) { in blake2s_set_lastblock()
159 md->blake2s.f[0] = 0xffffffffUL; in blake2s_set_lastblock()
164 md->blake2s.t[0] += inc; in blake2s_increment_counter()
165 if (md->blake2s.t[0] < inc) md->blake2s.t[1]++; in blake2s_increment_counter()
191 md->blake2s.h[i] ^= tmp; in blake2s_init_param()
315 v[i] = md->blake2s.h[i]; in _blake2s_compress()
339 md->blake2s.h[i] = md->blake2s.h[i] ^ v[i] ^ v[i + 8]; in _blake2s_compress()
368 if (md->blake2s.curlen > sizeof(md->blake2s.buf)) { in blake2s_process()
376 md->blake2s.curlen = 0; in blake2s_process()
389 XMEMCPY(md->blake2s.buf + md->blake2s.curlen, in, inlen); in blake2s_process()
[all …]
/optee_os/core/lib/libtomcrypt/src/mac/blake2/
A Dblake2smac.c57 LTC_ARGCHK(*maclen >= st->blake2s.outlen); in blake2smac_done()
59 *maclen = st->blake2s.outlen; in blake2smac_done()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_hash.h196 struct blake2s_state blake2s; member

Completed in 7 milliseconds