Home
last modified time | relevance | path

Searched refs:inauthentic (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A Dtestmgr.c88 * Set if trying to decrypt an inauthentic ciphertext with this
2195 * reliably generate inauthentic messages, i.e. not generate an authentic
2208 const bool inauthentic = (authsize >= MIN_COLLISION_FREE_AUTHSIZE) && in generate_aead_message() local
2217 if (inauthentic && prandom_u32() % 2 == 0) { in generate_aead_message()
2245 if (!inauthentic) in generate_aead_message()
2249 * inauthentic one. in generate_aead_message()
2262 * If 'prefer_inauthentic' is true, then this function will generate inauthentic
2339 * Generate inauthentic test vectors (i.e. ciphertext, AAD pairs that aren't the
2351 * test vectors other than inauthentic ones (vec.novrfy=1) here. in test_aead_inauthentic_inputs()
/kernel/linux/linux-6.6/crypto/
H A Dtestmgr.c88 * Set if trying to decrypt an inauthentic ciphertext with this
2303 * reliably generate inauthentic messages, i.e. not generate an authentic
2317 const bool inauthentic = (authsize >= MIN_COLLISION_FREE_AUTHSIZE) && in generate_aead_message() local
2327 if (inauthentic && prandom_bool(rng)) { in generate_aead_message()
2355 if (!inauthentic) in generate_aead_message()
2359 * inauthentic one. in generate_aead_message()
2372 * If 'prefer_inauthentic' is true, then this function will generate inauthentic
2450 * Generate inauthentic test vectors (i.e. ciphertext, AAD pairs that aren't the
2462 * test vectors other than inauthentic ones (vec.novrfy=1) here. in test_aead_inauthentic_inputs()

Completed in 12 milliseconds