Home
last modified time | relevance | path

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

/linux-6.3-rc2/crypto/
A Dnhpoly1305.c64 key += NH_MESSAGE_UNIT / sizeof(key[0]); in nh_generic()
65 message += NH_MESSAGE_UNIT; in nh_generic()
66 message_len -= NH_MESSAGE_UNIT; in nh_generic()
164 bytes = min(srclen, (int)NH_MESSAGE_UNIT - state->buflen); in crypto_nhpoly1305_update_helper()
167 if (state->buflen < NH_MESSAGE_UNIT) in crypto_nhpoly1305_update_helper()
169 nhpoly1305_units(state, key, state->buffer, NH_MESSAGE_UNIT, in crypto_nhpoly1305_update_helper()
176 if (srclen >= NH_MESSAGE_UNIT) { in crypto_nhpoly1305_update_helper()
177 bytes = round_down(srclen, NH_MESSAGE_UNIT); in crypto_nhpoly1305_update_helper()
205 NH_MESSAGE_UNIT - state->buflen); in crypto_nhpoly1305_final_helper()
206 nhpoly1305_units(state, key, state->buffer, NH_MESSAGE_UNIT, in crypto_nhpoly1305_final_helper()
/linux-6.3-rc2/include/crypto/
A Dnhpoly1305.h19 #define NH_MESSAGE_UNIT (NH_PAIR_STRIDE * 2 * sizeof(u32)) macro
46 u8 buffer[NH_MESSAGE_UNIT];

Completed in 24 milliseconds