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 D | chacha20_dolbeau-ssse3.c | 27 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 D | chacha20_dolbeau-avx2.c | 32 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 D | chacha.h | 35 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 D | chacha.c | 20 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.h | 11 struct chacha_ctx { struct
|
| H A D | chacha-sw.c | 45 .ctxsize = sizeof(struct chacha_ctx),
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/ |
| H A D | chacha20_ref.c | 20 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 D | arc4random.c | 70 struct chacha_ctx ctx;
|
| /f-stack/freebsd/kern/ |
| H A D | kern_shutdown.c | 195 struct chacha_ctx u_chacha;
|