Home
last modified time | relevance | path

Searched refs:salsa20_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/arch/x86/crypto/
Dsalsa20_glue.c29 struct salsa20_ctx struct
34 asmlinkage void salsa20_keysetup(struct salsa20_ctx *ctx, const u8 *k, argument
36 asmlinkage void salsa20_ivsetup(struct salsa20_ctx *ctx, const u8 *iv);
37 asmlinkage void salsa20_encrypt_bytes(struct salsa20_ctx *ctx,
43 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); in setkey()
54 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt()
92 .cra_ctxsize = sizeof(struct salsa20_ctx),
/linux-4.1.27/crypto/
Dsalsa20_generic.c53 struct salsa20_ctx struct
107 static void salsa20_keysetup(struct salsa20_ctx *ctx, const u8 *k, u32 kbytes) in salsa20_keysetup()
131 static void salsa20_ivsetup(struct salsa20_ctx *ctx, const u8 *iv) in salsa20_ivsetup()
139 static void salsa20_encrypt_bytes(struct salsa20_ctx *ctx, u8 *dst, in salsa20_encrypt_bytes()
172 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); in setkey()
183 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt()
221 .cra_ctxsize = sizeof(struct salsa20_ctx),