Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/encauth/chachapoly/
A Dchacha20poly1305_setiv_rfc7905.c26 unsigned char combined_iv[12] = { 0 }; in chacha20poly1305_setiv_rfc7905() local
32 STORE64L(sequence_number, combined_iv + 4); in chacha20poly1305_setiv_rfc7905()
33 for (i = 0; i < 12; i++) combined_iv[i] = iv[i] ^ combined_iv[i]; in chacha20poly1305_setiv_rfc7905()
34 return chacha20poly1305_setiv(st, combined_iv, 12); in chacha20poly1305_setiv_rfc7905()

Completed in 2 milliseconds