Searched refs:CHACHA_KEY_SIZE (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.6/arch/arm/crypto/ |
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-v6.6/crypto/ |
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,
|
D | chacha20poly1305.c | 479 if (keylen != ctx->saltlen + CHACHA_KEY_SIZE) in chachapoly_setkey()
|
/Linux-v6.6/arch/mips/crypto/ |
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-v6.6/arch/powerpc/crypto/ |
D | chacha-p10-glue.c | 158 .min_keysize = CHACHA_KEY_SIZE, 159 .max_keysize = CHACHA_KEY_SIZE, 173 .min_keysize = CHACHA_KEY_SIZE, 174 .max_keysize = CHACHA_KEY_SIZE, 188 .min_keysize = CHACHA_KEY_SIZE, 189 .max_keysize = CHACHA_KEY_SIZE,
|
/Linux-v6.6/arch/arm64/crypto/ |
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-v6.6/arch/x86/crypto/ |
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-v6.6/drivers/char/ |
D | random.c | 207 u8 key[CHACHA_KEY_SIZE] __aligned(__alignof__(long)); 215 u8 key[CHACHA_KEY_SIZE]; 254 u8 key[CHACHA_KEY_SIZE]; in crng_reseed() 294 static void crng_fast_key_erasure(u8 key[CHACHA_KEY_SIZE], in crng_fast_key_erasure() argument 303 memcpy(&chacha_state[4], key, CHACHA_KEY_SIZE); in crng_fast_key_erasure() 307 memcpy(key, first_block, CHACHA_KEY_SIZE); in crng_fast_key_erasure() 308 memcpy(random_data, first_block + CHACHA_KEY_SIZE, random_data_len); in crng_fast_key_erasure() 435 crng_make_state(chacha_state, (u8 *)&chacha_state[4], CHACHA_KEY_SIZE); in get_random_bytes_user() 441 if (iov_iter_count(iter) <= CHACHA_KEY_SIZE) { in get_random_bytes_user() 442 ret = copy_to_iter(&chacha_state[4], CHACHA_KEY_SIZE, iter); in get_random_bytes_user()
|
/Linux-v6.6/arch/s390/crypto/ |
D | chacha-glue.c | 102 .min_keysize = CHACHA_KEY_SIZE, 103 .max_keysize = CHACHA_KEY_SIZE,
|
/Linux-v6.6/include/crypto/internal/ |
D | chacha.h | 21 if (keysize != CHACHA_KEY_SIZE) in chacha_setkey()
|
/Linux-v6.6/include/crypto/ |
D | chacha.h | 24 #define CHACHA_KEY_SIZE 32 macro
|
/Linux-v6.6/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 2809 if (memcmp(ctx->key, key, CHACHA_KEY_SIZE)) in safexcel_chacha20_setkey() 2812 memcpy(ctx->key, key, CHACHA_KEY_SIZE); in safexcel_chacha20_setkey() 2813 ctx->key_len = CHACHA_KEY_SIZE; in safexcel_chacha20_setkey() 2821 if (len != CHACHA_KEY_SIZE) in safexcel_skcipher_chacha20_setkey() 2847 .min_keysize = CHACHA_KEY_SIZE, 2848 .max_keysize = CHACHA_KEY_SIZE, 2878 if (len != CHACHA_KEY_SIZE) in safexcel_aead_chachapoly_setkey() 2902 u32 key[CHACHA_KEY_SIZE / sizeof(u32) + 1]; in safexcel_aead_chachapoly_crypt() 2917 memcpy(key, ctx->key, CHACHA_KEY_SIZE); in safexcel_aead_chachapoly_crypt() 2920 key[CHACHA_KEY_SIZE / sizeof(u32)] = ctx->nonce; in safexcel_aead_chachapoly_crypt() [all …]
|
/Linux-v6.6/lib/crypto/ |
D | chacha20poly1305.c | 22 #define CHACHA_KEY_WORDS (CHACHA_KEY_SIZE / sizeof(u32))
|
/Linux-v6.6/drivers/crypto/caam/ |
D | caamalg_qi2.c | 641 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey() 1041 if (keylen != CHACHA_KEY_SIZE) in chacha20_skcipher_setkey() 1790 .min_keysize = CHACHA_KEY_SIZE, 1791 .max_keysize = CHACHA_KEY_SIZE,
|
D | caamalg.c | 575 if (keylen != CHACHA_KEY_SIZE + saltlen) in chachapoly_setkey()
|