Searched refs:cipher_alg (Results 1 – 4 of 4) sorted by relevance
102 struct crypto_alg *cipher_alg; in lskcipher_alloc_instance_simple2() local119 cipher_alg = crypto_spawn_cipher_alg(spawn); in lskcipher_alloc_instance_simple2()122 cipher_alg); in lskcipher_alloc_instance_simple2()174 struct lskcipher_alg *cipher_alg; in crypto_ecb_create() local185 cipher_alg = crypto_lskcipher_spawn_alg(spawn); in crypto_ecb_create()189 if (cipher_alg->co.ivsize) in crypto_ecb_create()193 inst->alg.setkey = cipher_alg->setkey; in crypto_ecb_create()194 inst->alg.encrypt = cipher_alg->encrypt; in crypto_ecb_create()195 inst->alg.decrypt = cipher_alg->decrypt; in crypto_ecb_create()196 inst->alg.init = cipher_alg->init; in crypto_ecb_create()[all …]
490 struct lskcipher_alg *cipher_alg; in lskcipher_alloc_instance_simple() local526 cipher_alg = crypto_lskcipher_spawn_alg(spawn); in lskcipher_alloc_instance_simple()529 &cipher_alg->co.base); in lskcipher_alloc_instance_simple()537 len = strscpy(ecb_name, &cipher_alg->co.base.cra_name[4], in lskcipher_alloc_instance_simple()562 if ((cipher_alg->co.base.cra_flags & CRYPTO_ALG_INSTANCE)) in lskcipher_alloc_instance_simple()567 if (cipher_alg->co.ivsize) in lskcipher_alloc_instance_simple()575 inst->alg.co.base.cra_priority = cipher_alg->co.base.cra_priority; in lskcipher_alloc_instance_simple()576 inst->alg.co.min_keysize = cipher_alg->co.min_keysize; in lskcipher_alloc_instance_simple()577 inst->alg.co.max_keysize = cipher_alg->co.max_keysize; in lskcipher_alloc_instance_simple()578 inst->alg.co.ivsize = cipher_alg->co.base.cra_blocksize; in lskcipher_alloc_instance_simple()[all …]
23 struct cipher_alg *cia = crypto_cipher_alg(tfm); in setkey_unaligned()45 struct cipher_alg *cia = crypto_cipher_alg(tfm); in crypto_cipher_setkey()62 struct cipher_alg *cia = crypto_cipher_alg(tfm); in cipher_crypt_one()
593 struct crypto_alg *cipher_alg; in skcipher_alloc_instance_simple() local609 cipher_alg = crypto_spawn_cipher_alg(spawn); in skcipher_alloc_instance_simple()612 cipher_alg); in skcipher_alloc_instance_simple()619 inst->alg.base.cra_blocksize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()620 inst->alg.base.cra_alignmask = cipher_alg->cra_alignmask; in skcipher_alloc_instance_simple()621 inst->alg.base.cra_priority = cipher_alg->cra_priority; in skcipher_alloc_instance_simple()622 inst->alg.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in skcipher_alloc_instance_simple()623 inst->alg.max_keysize = cipher_alg->cra_cipher.cia_max_keysize; in skcipher_alloc_instance_simple()624 inst->alg.ivsize = cipher_alg->cra_blocksize; in skcipher_alloc_instance_simple()
Completed in 8 milliseconds