Searched refs:statesize (Results 1 – 17 of 17) sorted by relevance
| /crypto/ |
| A D | sha512.c | 276 .statesize = SHA512_SHASH_STATE_SIZE, 292 .statesize = SHA512_SHASH_STATE_SIZE, 310 .statesize = SHA512_SHASH_STATE_SIZE, 328 .statesize = SHA512_SHASH_STATE_SIZE,
|
| A D | sha256.c | 270 .statesize = SHA256_SHASH_STATE_SIZE, 286 .statesize = SHA256_SHASH_STATE_SIZE, 304 .statesize = SHA256_SHASH_STATE_SIZE, 322 .statesize = SHA256_SHASH_STATE_SIZE,
|
| A D | lskcipher.c | 74 unsigned statesize = crypto_lskcipher_statesize(tfm); in crypto_lskcipher_crypt_unaligned() local 89 memcpy(tiv, iv, ivsize + statesize); in crypto_lskcipher_crypt_unaligned() 117 memcpy(iv, tiv, ivsize + statesize); in crypto_lskcipher_crypt_unaligned() 260 seq_printf(m, "statesize : %u\n", skcipher->co.statesize); in crypto_lskcipher_show() 579 inst->alg.co.statesize = cipher_alg->co.statesize; in lskcipher_alloc_instance_simple()
|
| A D | algif_skcipher.c | 56 unsigned statesize; in algif_skcipher_export() local 68 statesize = crypto_skcipher_statesize(tfm); in algif_skcipher_export() 69 ctx->state = sock_kmalloc(sk, statesize, GFP_ATOMIC); in algif_skcipher_export() 75 sock_kzfree_s(sk, ctx->state, statesize); in algif_skcipher_export()
|
| A D | sha1.c | 161 .statesize = SHA1_SHASH_STATE_SIZE, 179 .statesize = SHA1_SHASH_STATE_SIZE,
|
| A D | shash.c | 493 if (!alg->export && !alg->halg.statesize) in shash_prepare_alg() 494 alg->halg.statesize = alg->descsize; in shash_prepare_alg() 501 alg->statesize += base->cra_blocksize + 1; in shash_prepare_alg() 512 if (alg->statesize > HASH_MAX_STATESIZE) in shash_prepare_alg()
|
| A D | hmac.c | 212 ss = salg->statesize; in __hmac_create_shash() 227 inst->alg.statesize = ss; in __hmac_create_shash() 476 ss = halg->statesize; in hmac_create_ahash() 495 inst->alg.halg.statesize = ss; in hmac_create_ahash()
|
| A D | skcipher.c | 337 seq_printf(m, "statesize : %u\n", skcipher->statesize); in crypto_skcipher_show() 429 alg->statesize > PAGE_SIZE / 2 || in skcipher_prepare_alg_common() 430 (alg->ivsize + alg->statesize) > PAGE_SIZE / 2) in skcipher_prepare_alg_common() 456 if (!alg->statesize) { in skcipher_prepare_alg()
|
| A D | bpf_crypto_skcipher.c | 63 .statesize = bpf_crypto_lskcipher_statesize,
|
| A D | arc4.c | 59 .co.statesize = sizeof(struct arc4_ctx),
|
| A D | ahash.c | 707 crypto_ahash_set_statesize(hash, alg->halg.statesize); in crypto_ahash_init_tfm() 875 nhash->statesize = hash->statesize; in crypto_clone_ahash() 937 if (alg->halg.statesize == 0) in ahash_prepare_alg() 940 if (base->cra_reqsize && base->cra_reqsize < alg->halg.statesize) in ahash_prepare_alg() 972 alg->halg.statesize += base->cra_blocksize + 1; in ahash_prepare_alg()
|
| A D | polyval-generic.c | 176 .statesize = sizeof(struct polyval_desc_ctx),
|
| A D | blake2b_generic.c | 155 .statesize = BLAKE2B_STATE_SIZE, \
|
| A D | cbc.c | 151 if (inst->alg.co.statesize) in crypto_cbc_create()
|
| A D | testmgr.c | 1303 const unsigned int statesize = crypto_shash_statesize(tfm); in test_shash_vec_cfg() local 1406 testmgr_poison(hashstate + statesize, in test_shash_vec_cfg() 1413 if (!testmgr_is_poison(hashstate + statesize, in test_shash_vec_cfg() 1486 const unsigned int statesize = crypto_ahash_statesize(tfm); in test_ahash_vec_cfg() local 1584 testmgr_poison(hashstate + statesize, in test_ahash_vec_cfg() 1592 if (!testmgr_is_poison(hashstate + statesize, in test_ahash_vec_cfg() 1915 unsigned int statesize; in __alg_test_hash() local 1960 statesize = crypto_ahash_statesize(atfm); in __alg_test_hash() 1962 statesize = max(statesize, crypto_shash_statesize(stfm)); in __alg_test_hash() 1963 hashstate = kmalloc(statesize + TESTMGR_POISON_LEN, GFP_KERNEL); in __alg_test_hash()
|
| A D | hctr2.c | 487 polyval_alg->statesize * 2; in hctr2_create_common()
|
| A D | cryptd.c | 698 inst->alg.halg.statesize = alg->statesize; in cryptd_create_hash()
|
Completed in 44 milliseconds