Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Dchacha20_dolbeau-ssse3.c27 typedef struct chacha_ctx { struct
29 } chacha_ctx; argument
32 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup()
49 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup()
58 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup()
67 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes()
87 struct chacha_ctx ctx; in stream_ref()
106 struct chacha_ctx ctx; in stream_ietf_ref()
126 struct chacha_ctx ctx; in stream_ref_xor_ic()
151 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic()
H A Dchacha20_dolbeau-avx2.c32 typedef struct chacha_ctx { struct
34 } chacha_ctx; argument
37 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup()
54 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup()
63 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup()
72 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes()
93 struct chacha_ctx ctx; in stream_ref()
112 struct chacha_ctx ctx; in stream_ietf_ref()
132 struct chacha_ctx ctx; in stream_ref_xor_ic()
157 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic()
/f-stack/freebsd/crypto/chacha20/
H A Dchacha.h35 LOCAL void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits);
36 LOCAL void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv CHACHA_UNUSED,
38 LOCAL void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
H A Dchacha.c20 typedef struct chacha_ctx chacha_ctx; typedef
60 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup()
85 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) in chacha_ivsetup()
104 chacha_ctrsave(const chacha_ctx *x, u8 *counter) in chacha_ctrsave()
114 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes()
H A D_chacha.h11 struct chacha_ctx { struct
H A Dchacha-sw.c45 .ctxsize = sizeof(struct chacha_ctx),
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c20 struct chacha_ctx { struct
24 typedef struct chacha_ctx chacha_ctx; typedef
46 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup()
63 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup()
72 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup()
81 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes()
230 struct chacha_ctx ctx; in stream_ref()
249 struct chacha_ctx ctx; in stream_ietf_ref()
269 struct chacha_ctx ctx; in stream_ref_xor_ic()
294 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic()
/f-stack/freebsd/libkern/
H A Darc4random.c70 struct chacha_ctx ctx;
/f-stack/freebsd/kern/
H A Dkern_shutdown.c195 struct chacha_ctx u_chacha;