Home
last modified time | relevance | path

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

/crypto/
A Dnhpoly1305.c111 bytes = min(srclen, state->nh_remaining); in nhpoly1305_units()
121 srclen -= bytes; in nhpoly1305_units()
122 } while (srclen); in nhpoly1305_units()
156 const u8 *src, unsigned int srclen, in crypto_nhpoly1305_update_helper() argument
173 srclen -= bytes; in crypto_nhpoly1305_update_helper()
176 if (srclen >= NH_MESSAGE_UNIT) { in crypto_nhpoly1305_update_helper()
180 srclen -= bytes; in crypto_nhpoly1305_update_helper()
183 if (srclen) { in crypto_nhpoly1305_update_helper()
184 memcpy(state->buffer, src, srclen); in crypto_nhpoly1305_update_helper()
185 state->buflen = srclen; in crypto_nhpoly1305_update_helper()
[all …]
A Dghash-generic.c79 const u8 *src, unsigned int srclen) in ghash_update() argument
89 srclen -= GHASH_BLOCK_SIZE; in ghash_update()
90 } while (srclen >= GHASH_BLOCK_SIZE); in ghash_update()
92 return srclen; in ghash_update()
A Dpolyval-generic.c112 const u8 *src, unsigned int srclen) in polyval_update() argument
123 srclen -= POLYVAL_BLOCK_SIZE; in polyval_update()
124 } while (srclen >= POLYVAL_BLOCK_SIZE); in polyval_update()
126 return srclen; in polyval_update()

Completed in 7 milliseconds