Searched refs:CHACHA_U8TOU32 (Results 1 – 2 of 2) sorted by relevance
44 key->key.d[i/4] = CHACHA_U8TOU32(user_key+i); in chacha_init_key()49 key->counter[i/4] = CHACHA_U8TOU32(iv+i); in chacha_init_key()551 = CHACHA_U8TOU32((unsigned char *)ptr); in chacha20_poly1305_ctrl()553 = CHACHA_U8TOU32((unsigned char *)ptr+4); in chacha20_poly1305_ctrl()555 = CHACHA_U8TOU32((unsigned char *)ptr+8); in chacha20_poly1305_ctrl()597 actx->key.counter[2] = actx->nonce[1] ^ CHACHA_U8TOU32(aad); in chacha20_poly1305_ctrl()598 actx->key.counter[3] = actx->nonce[2] ^ CHACHA_U8TOU32(aad+4); in chacha20_poly1305_ctrl()
34 #define CHACHA_U8TOU32(p) ( \ macro