Searched refs:CHACHA_U8TOU32 (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/crypto/openssl/include/crypto/
H A Dchacha.h34 #define CHACHA_U8TOU32(p) ( \ macro
/freebsd-12-stable/crypto/openssl/crypto/evp/
H A De_chacha20_poly1305.c44 key->key.d[i/4] = CHACHA_U8TOU32(user_key+i);
49 key->counter[i/4] = CHACHA_U8TOU32(iv+i);
551 = CHACHA_U8TOU32((unsigned char *)ptr);
553 = CHACHA_U8TOU32((unsigned char *)ptr+4);
555 = CHACHA_U8TOU32((unsigned char *)ptr+8);
597 actx->key.counter[2] = actx->nonce[1] ^ CHACHA_U8TOU32(aad);
598 actx->key.counter[3] = actx->nonce[2] ^ CHACHA_U8TOU32(aad+4);

Completed in 104 milliseconds