Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/
Dnhpoly1305.c63 key += NH_MESSAGE_UNIT / sizeof(key[0]); in nh_generic()
64 message += NH_MESSAGE_UNIT; in nh_generic()
65 message_len -= NH_MESSAGE_UNIT; in nh_generic()
163 bytes = min(srclen, (int)NH_MESSAGE_UNIT - state->buflen); in crypto_nhpoly1305_update_helper()
166 if (state->buflen < NH_MESSAGE_UNIT) in crypto_nhpoly1305_update_helper()
168 nhpoly1305_units(state, key, state->buffer, NH_MESSAGE_UNIT, in crypto_nhpoly1305_update_helper()
175 if (srclen >= NH_MESSAGE_UNIT) { in crypto_nhpoly1305_update_helper()
176 bytes = round_down(srclen, NH_MESSAGE_UNIT); in crypto_nhpoly1305_update_helper()
204 NH_MESSAGE_UNIT - state->buflen); in crypto_nhpoly1305_final_helper()
205 nhpoly1305_units(state, key, state->buffer, NH_MESSAGE_UNIT, in crypto_nhpoly1305_final_helper()
/Linux-v5.4/include/crypto/
Dnhpoly1305.h19 #define NH_MESSAGE_UNIT (NH_PAIR_STRIDE * 2 * sizeof(u32)) macro
46 u8 buffer[NH_MESSAGE_UNIT];