Home
last modified time | relevance | path

Searched refs:CHACHA_KEY_SIZE (Results 1 – 13 of 13) sorted by relevance

/linux/arch/arm/crypto/
A Dchacha-glue.c204 .min_keysize = CHACHA_KEY_SIZE,
205 .max_keysize = CHACHA_KEY_SIZE,
219 .min_keysize = CHACHA_KEY_SIZE,
220 .max_keysize = CHACHA_KEY_SIZE,
234 .min_keysize = CHACHA_KEY_SIZE,
235 .max_keysize = CHACHA_KEY_SIZE,
253 .min_keysize = CHACHA_KEY_SIZE,
254 .max_keysize = CHACHA_KEY_SIZE,
269 .min_keysize = CHACHA_KEY_SIZE,
270 .max_keysize = CHACHA_KEY_SIZE,
[all …]
/linux/crypto/
A Dchacha_generic.c78 .min_keysize = CHACHA_KEY_SIZE,
79 .max_keysize = CHACHA_KEY_SIZE,
93 .min_keysize = CHACHA_KEY_SIZE,
94 .max_keysize = CHACHA_KEY_SIZE,
108 .min_keysize = CHACHA_KEY_SIZE,
109 .max_keysize = CHACHA_KEY_SIZE,
A Dchacha20poly1305.c479 if (keylen != ctx->saltlen + CHACHA_KEY_SIZE) in chachapoly_setkey()
/linux/arch/mips/crypto/
A Dchacha-glue.c89 .min_keysize = CHACHA_KEY_SIZE,
90 .max_keysize = CHACHA_KEY_SIZE,
104 .min_keysize = CHACHA_KEY_SIZE,
105 .max_keysize = CHACHA_KEY_SIZE,
119 .min_keysize = CHACHA_KEY_SIZE,
120 .max_keysize = CHACHA_KEY_SIZE,
/linux/arch/arm64/crypto/
A Dchacha-neon-glue.c172 .min_keysize = CHACHA_KEY_SIZE,
173 .max_keysize = CHACHA_KEY_SIZE,
188 .min_keysize = CHACHA_KEY_SIZE,
189 .max_keysize = CHACHA_KEY_SIZE,
204 .min_keysize = CHACHA_KEY_SIZE,
205 .max_keysize = CHACHA_KEY_SIZE,
/linux/arch/x86/crypto/
A Dchacha_glue.c239 .min_keysize = CHACHA_KEY_SIZE,
240 .max_keysize = CHACHA_KEY_SIZE,
254 .min_keysize = CHACHA_KEY_SIZE,
255 .max_keysize = CHACHA_KEY_SIZE,
269 .min_keysize = CHACHA_KEY_SIZE,
270 .max_keysize = CHACHA_KEY_SIZE,
/linux/include/crypto/internal/
A Dchacha.h21 if (keysize != CHACHA_KEY_SIZE) in chacha_setkey()
/linux/drivers/char/
A Drandom.c467 #define CRNG_INIT_CNT_THRESH (2*CHACHA_KEY_SIZE)
881 p[crng_init_cnt % CHACHA_KEY_SIZE] ^= *cp; in crng_fast_load()
912 unsigned i, max = CHACHA_KEY_SIZE; in crng_slow_load()
930 tmp = dest_buf[i % CHACHA_KEY_SIZE]; in crng_slow_load()
931 dest_buf[i % CHACHA_KEY_SIZE] ^= src_buf[i % len] ^ lfsr; in crng_slow_load()
954 CHACHA_KEY_SIZE); in crng_reseed()
1031 if (used + CHACHA_KEY_SIZE > CHACHA_BLOCK_SIZE) { in _crng_backtrack_protect()
/linux/include/crypto/
A Dchacha.h24 #define CHACHA_KEY_SIZE 32 macro
/linux/drivers/crypto/inside-secure/
A Dsafexcel_cipher.c2804 if (memcmp(ctx->key, key, CHACHA_KEY_SIZE)) in safexcel_chacha20_setkey()
2807 memcpy(ctx->key, key, CHACHA_KEY_SIZE); in safexcel_chacha20_setkey()
2808 ctx->key_len = CHACHA_KEY_SIZE; in safexcel_chacha20_setkey()
2816 if (len != CHACHA_KEY_SIZE) in safexcel_skcipher_chacha20_setkey()
2842 .min_keysize = CHACHA_KEY_SIZE,
2843 .max_keysize = CHACHA_KEY_SIZE,
2873 if (len != CHACHA_KEY_SIZE) in safexcel_aead_chachapoly_setkey()
2897 u32 key[CHACHA_KEY_SIZE / sizeof(u32) + 1]; in safexcel_aead_chachapoly_crypt()
2912 memcpy(key, ctx->key, CHACHA_KEY_SIZE); in safexcel_aead_chachapoly_crypt()
2917 CHACHA_KEY_SIZE + in safexcel_aead_chachapoly_crypt()
[all …]
/linux/lib/crypto/
A Dchacha20poly1305.c22 #define CHACHA_KEY_WORDS (CHACHA_KEY_SIZE / sizeof(u32))
/linux/drivers/crypto/caam/
A Dcaamalg_qi2.c639 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()
1039 if (keylen != CHACHA_KEY_SIZE) in chacha20_skcipher_setkey()
1786 .min_keysize = CHACHA_KEY_SIZE,
1787 .max_keysize = CHACHA_KEY_SIZE,
A Dcaamalg.c566 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()

Completed in 41 milliseconds