Home
last modified time | relevance | path

Searched refs:MAX_ALGAPI_ALIGNMASK (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/crypto/
Dalgapi.h20 #define MAX_ALGAPI_ALIGNMASK 63 macro
/kernel/linux/linux-5.10/crypto/
Dshash.c103 u8 ubuf[MAX_ALGAPI_ALIGNMASK * 2]; in shash_update_unaligned()
145 u8 ubuf[MAX_ALGAPI_ALIGNMASK + HASH_MAX_DIGESTSIZE]; in shash_final_unaligned()
Dtestmgr.c503 (cfg->iv_offset_relative_to_alignmask ? MAX_ALGAPI_ALIGNMASK : 0) > in valid_testvec_config()
504 MAX_ALGAPI_ALIGNMASK + 1) in valid_testvec_config()
1047 cfg->iv_offset = 1 + (prandom_u32() % MAX_ALGAPI_ALIGNMASK); in generate_random_testvec_config()
1052 cfg->key_offset = 1 + (prandom_u32() % MAX_ALGAPI_ALIGNMASK); in generate_random_testvec_config()
1940 u8 _iv[3 * (MAX_ALGAPI_ALIGNMASK + 1) + MAX_IVLEN]; in test_aead_vec_cfg()
1941 u8 *iv = PTR_ALIGN(&_iv[0], 2 * (MAX_ALGAPI_ALIGNMASK + 1)) + in test_aead_vec_cfg()
2711 u8 _iv[3 * (MAX_ALGAPI_ALIGNMASK + 1) + MAX_IVLEN]; in test_skcipher_vec_cfg()
2712 u8 *iv = PTR_ALIGN(&_iv[0], 2 * (MAX_ALGAPI_ALIGNMASK + 1)) + in test_skcipher_vec_cfg()
Dalgapi.c42 if (alg->cra_alignmask > MAX_ALGAPI_ALIGNMASK) in crypto_check_alg()