Home
last modified time | relevance | path

Searched refs:blklen (Results 1 – 5 of 5) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/omac/
A Domac_process.c32 (omac->blklen > (int)sizeof(omac->block)) || (omac->buflen > omac->blklen)) { in omac_process()
38 unsigned long blklen = cipher_descriptor[omac->cipher_idx]->block_length; in omac_process() local
40 if (omac->buflen == 0 && inlen > blklen) { in omac_process()
42 for (x = 0; x < (inlen - blklen); x += blklen) { in omac_process()
43 for (y = 0; y < blklen; y += sizeof(LTC_FAST_TYPE)) { in omac_process()
46 in += blklen; in omac_process()
58 if (omac->buflen == omac->blklen) { in omac_process()
59 for (x = 0; x < (unsigned long)omac->blklen; x++) { in omac_process()
69 n = MIN(inlen, (unsigned long)(omac->blklen - omac->buflen)); in omac_process()
A Domac_done.c32 (omac->blklen > (int)sizeof(omac->block)) || (omac->buflen > omac->blklen)) { in omac_done()
37 if (omac->buflen != omac->blklen) { in omac_done()
42 while (omac->buflen < omac->blklen) { in omac_done()
51 for (x = 0; x < (unsigned)omac->blklen; x++) { in omac_done()
62 for (x = 0; x < (unsigned)omac->blklen && x < *outlen; x++) { in omac_done()
A Domac_init.c82 omac->blklen = len; in omac_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/eax/
A Deax_init.c30 int err, blklen; in eax_init() local
45 blklen = cipher_descriptor[cipher]->block_length; in eax_init()
68 if ((err = omac_process(omac, buf, blklen)) != CRYPT_OK) { in eax_init()
83 buf[blklen - 1] = 1; in eax_init()
90 if ((err = omac_process(&eax->headeromac, buf, blklen)) != CRYPT_OK) { in eax_init()
114 buf[blklen-1] = 2; in eax_init()
115 if ((err = omac_process(&eax->ctomac, buf, blklen)) != CRYPT_OK) { in eax_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h34 blklen; member

Completed in 6 milliseconds