Home
last modified time | relevance | path

Searched refs:chc (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/hashes/chc/
A Dchc.c118 md->chc.length = 0; in chc_init()
119 md->chc.curlen = 0; in chc_init()
120 zeromem(md->chc.buf, sizeof(md->chc.buf)); in chc_init()
213 if (md->chc.curlen >= sizeof(md->chc.buf)) { in chc_done()
218 md->chc.length += md->chc.curlen * 8; in chc_done()
221 md->chc.buf[md->chc.curlen++] = (unsigned char)0x80; in chc_done()
229 md->chc.buf[md->chc.curlen++] = (unsigned char)0; in chc_done()
232 md->chc.curlen = 0; in chc_done()
237 md->chc.buf[md->chc.curlen++] = (unsigned char)0; in chc_done()
241 STORE64L(md->chc.length, md->chc.buf+(cipher_blocksize-8)); in chc_done()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_hash.h154 struct chc_state chc; member

Completed in 5 milliseconds