Searched refs:CHACHA_KEY_SIZE (Results 1 – 13 of 13) sorted by relevance
/linux/arch/arm/crypto/ |
A D | chacha-glue.c | 204 .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 D | chacha_generic.c | 78 .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 D | chacha20poly1305.c | 479 if (keylen != ctx->saltlen + CHACHA_KEY_SIZE) in chachapoly_setkey()
|
/linux/arch/mips/crypto/ |
A D | chacha-glue.c | 89 .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 D | chacha-neon-glue.c | 172 .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 D | chacha_glue.c | 239 .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 D | chacha.h | 21 if (keysize != CHACHA_KEY_SIZE) in chacha_setkey()
|
/linux/drivers/char/ |
A D | random.c | 467 #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 D | chacha.h | 24 #define CHACHA_KEY_SIZE 32 macro
|
/linux/drivers/crypto/inside-secure/ |
A D | safexcel_cipher.c | 2804 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 D | chacha20poly1305.c | 22 #define CHACHA_KEY_WORDS (CHACHA_KEY_SIZE / sizeof(u32))
|
/linux/drivers/crypto/caam/ |
A D | caamalg_qi2.c | 639 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 D | caamalg.c | 566 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()
|
Completed in 41 milliseconds