Searched refs:CHACHA_U8TOU32 (Results 1 – 4 of 4) sorted by relevance
22 ctx->key.d[i / 4] = CHACHA_U8TOU32(key + i); in chacha20_initkey()35 ctx->counter[i / 4] = CHACHA_U8TOU32(bctx->oiv + i); in chacha20_initiv()
38 ctx->chacha.counter[2] = ctx->nonce[1] ^ CHACHA_U8TOU32(aad); in chacha_poly1305_tls_init()39 ctx->chacha.counter[3] = ctx->nonce[2] ^ CHACHA_U8TOU32(aad+4); in chacha_poly1305_tls_init()52 ctx->nonce[0] = ctx->chacha.counter[1] = CHACHA_U8TOU32(fixed); in chacha_poly1305_tls_iv_set_fixed()53 ctx->nonce[1] = ctx->chacha.counter[2] = CHACHA_U8TOU32(fixed + 4); in chacha_poly1305_tls_iv_set_fixed()54 ctx->nonce[2] = ctx->chacha.counter[3] = CHACHA_U8TOU32(fixed + 8); in chacha_poly1305_tls_iv_set_fixed()
45 key->key.d[i/4] = CHACHA_U8TOU32(user_key+i); in chacha_init_key()50 key->counter[i/4] = CHACHA_U8TOU32(iv+i); in chacha_init_key()547 = CHACHA_U8TOU32((unsigned char *)ptr); in chacha20_poly1305_ctrl()549 = CHACHA_U8TOU32((unsigned char *)ptr+4); in chacha20_poly1305_ctrl()551 = CHACHA_U8TOU32((unsigned char *)ptr+8); in chacha20_poly1305_ctrl()594 actx->key.counter[2] = actx->nonce[1] ^ CHACHA_U8TOU32(aad); in chacha20_poly1305_ctrl()595 actx->key.counter[3] = actx->nonce[2] ^ CHACHA_U8TOU32(aad+4); in chacha20_poly1305_ctrl()
41 #define CHACHA_U8TOU32(p) ( \ macro
Completed in 14 milliseconds