Home
last modified time | relevance | path

Searched refs:spawn (Results 1 – 25 of 101) sorted by relevance

12345

/openbmc/linux/crypto/
H A Dalgapi.c115 if (!spawn) in crypto_more_spawns()
125 if (!spawn->dead) in crypto_more_spawns()
169 if ((spawn->alg->cra_flags ^ new_type) & spawn->mask) in crypto_remove_spawns()
190 spawn->dead = !spawn->registered || &inst->alg != nalg; in crypto_remove_spawns()
229 if (!spawn->dead) in crypto_remove_spawns()
230 list_move(&spawn->list, &spawn->alg->cra_users); in crypto_remove_spawns()
669 for (spawn = inst->spawns; spawn;) { in crypto_register_instance()
672 if (spawn->dead) in crypto_register_instance()
683 spawn = next; in crypto_register_instance()
745 spawn->alg = alg; in crypto_grab_spawn()
[all …]
H A Dctr.c221 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_init_tfm() local
227 cipher = crypto_spawn_skcipher(spawn); in crypto_rfc3686_init_tfm()
251 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_free() local
253 crypto_drop_skcipher(spawn); in crypto_rfc3686_free()
262 struct crypto_skcipher_spawn *spawn; in crypto_rfc3686_create() local
270 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in crypto_rfc3686_create()
274 spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_create()
276 err = crypto_grab_skcipher(spawn, skcipher_crypto_instance(inst), in crypto_rfc3686_create()
281 alg = crypto_spawn_skcipher_alg(spawn); in crypto_rfc3686_create()
H A Dgeniv.c44 struct crypto_aead_spawn *spawn; in aead_geniv_alloc() local
56 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in aead_geniv_alloc()
60 spawn = aead_instance_ctx(inst); in aead_geniv_alloc()
62 err = crypto_grab_aead(spawn, aead_crypto_instance(inst), in aead_geniv_alloc()
67 alg = crypto_spawn_aead_alg(spawn); in aead_geniv_alloc()
H A Dcmac.c205 struct crypto_cipher_spawn *spawn; in cmac_init_tfm() local
208 spawn = shash_instance_ctx(inst); in cmac_init_tfm()
209 cipher = crypto_spawn_cipher(spawn); in cmac_init_tfm()
242 struct crypto_cipher_spawn *spawn; in cmac_create() local
252 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in cmac_create()
255 spawn = shash_instance_ctx(inst); in cmac_create()
257 err = crypto_grab_cipher(spawn, shash_crypto_instance(inst), in cmac_create()
261 alg = crypto_spawn_cipher_alg(spawn); in cmac_create()
H A Dxcbc.c171 struct crypto_cipher_spawn *spawn = crypto_instance_ctx(inst); in xcbc_init_tfm() local
174 cipher = crypto_spawn_cipher(spawn); in xcbc_init_tfm()
192 struct crypto_cipher_spawn *spawn; in xcbc_create() local
202 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in xcbc_create()
205 spawn = shash_instance_ctx(inst); in xcbc_create()
207 err = crypto_grab_cipher(spawn, shash_crypto_instance(inst), in xcbc_create()
211 alg = crypto_spawn_cipher_alg(spawn); in xcbc_create()
H A Dhmac.c149 struct crypto_shash_spawn *spawn = shash_instance_ctx(inst); in hmac_init_tfm() local
152 hash = crypto_spawn_shash(spawn); in hmac_init_tfm()
187 struct crypto_shash_spawn *spawn; in hmac_create() local
199 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in hmac_create()
202 spawn = shash_instance_ctx(inst); in hmac_create()
204 err = crypto_grab_shash(spawn, shash_crypto_instance(inst), in hmac_create()
208 salg = crypto_spawn_shash_alg(spawn); in hmac_create()
H A Dlrw.c268 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in lrw_init_tfm() local
272 cipher = crypto_spawn_skcipher(spawn); in lrw_init_tfm()
301 struct crypto_skcipher_spawn *spawn; in lrw_create() local
317 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in lrw_create()
321 spawn = skcipher_instance_ctx(inst); in lrw_create()
323 err = crypto_grab_skcipher(spawn, skcipher_crypto_instance(inst), in lrw_create()
331 err = crypto_grab_skcipher(spawn, in lrw_create()
339 alg = crypto_skcipher_spawn_alg(spawn); in lrw_create()
H A Dcts.c286 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in crypto_cts_init_tfm() local
293 cipher = crypto_spawn_skcipher(spawn); in crypto_cts_init_tfm()
326 struct crypto_skcipher_spawn *spawn; in crypto_cts_create() local
336 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in crypto_cts_create()
340 spawn = skcipher_instance_ctx(inst); in crypto_cts_create()
342 err = crypto_grab_skcipher(spawn, skcipher_crypto_instance(inst), in crypto_cts_create()
347 alg = crypto_spawn_skcipher_alg(spawn); in crypto_cts_create()
H A Dcryptd.c50 struct crypto_spawn spawn; member
55 struct crypto_skcipher_spawn spawn; member
60 struct crypto_shash_spawn spawn; member
343 struct crypto_skcipher_spawn *spawn = &ictx->spawn; in cryptd_skcipher_init_tfm() local
347 cipher = crypto_spawn_skcipher(spawn); in cryptd_skcipher_init_tfm()
369 crypto_drop_skcipher(&ctx->spawn); in cryptd_skcipher_free()
434 struct crypto_shash_spawn *spawn = &ictx->spawn; in cryptd_hash_init_tfm() local
438 hash = crypto_spawn_shash(spawn); in cryptd_hash_init_tfm()
654 crypto_drop_shash(&ctx->spawn); in cryptd_hash_free()
682 alg = crypto_spawn_shash_alg(&ctx->spawn); in cryptd_create_hash()
[all …]
H A Dccm.c670 struct crypto_aead_spawn *spawn = aead_instance_ctx(inst); in crypto_rfc4309_init_tfm() local
675 aead = crypto_spawn_aead(spawn); in crypto_rfc4309_init_tfm()
710 struct crypto_aead_spawn *spawn; in crypto_rfc4309_create() local
718 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in crypto_rfc4309_create()
722 spawn = aead_instance_ctx(inst); in crypto_rfc4309_create()
723 err = crypto_grab_aead(spawn, aead_crypto_instance(inst), in crypto_rfc4309_create()
728 alg = crypto_spawn_aead_alg(spawn); in crypto_rfc4309_create()
847 cipher = crypto_spawn_cipher(spawn); in cbcmac_init_tfm()
865 struct crypto_cipher_spawn *spawn; in cbcmac_create() local
877 spawn = shash_instance_ctx(inst); in cbcmac_create()
[all …]
H A Dkpp.c117 int crypto_grab_kpp(struct crypto_kpp_spawn *spawn, in crypto_grab_kpp() argument
121 spawn->base.frontend = &crypto_kpp_type; in crypto_grab_kpp()
122 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_kpp()
H A Dpcrypt.c25 struct crypto_aead_spawn spawn; member
190 cipher = crypto_spawn_aead(&ictx->spawn); in pcrypt_aead_init_tfm()
214 crypto_drop_aead(&ctx->spawn); in pcrypt_free()
260 err = crypto_grab_aead(&ctx->spawn, aead_crypto_instance(inst), in pcrypt_create_aead()
265 alg = crypto_spawn_aead_alg(&ctx->spawn); in pcrypt_create_aead()
H A Dxts.c30 struct crypto_skcipher_spawn spawn; member
303 child = crypto_spawn_skcipher(&ictx->spawn); in xts_init_tfm()
335 crypto_drop_skcipher(&ictx->spawn); in xts_free_instance()
364 err = crypto_grab_skcipher(&ctx->spawn, skcipher_crypto_instance(inst), in xts_create()
372 err = crypto_grab_skcipher(&ctx->spawn, in xts_create()
380 alg = crypto_skcipher_spawn_alg(&ctx->spawn); in xts_create()
/openbmc/linux/include/crypto/internal/
H A Dhash.h94 int crypto_grab_ahash(struct crypto_ahash_spawn *spawn,
100 crypto_drop_spawn(&spawn->base); in crypto_drop_ahash()
104 struct crypto_ahash_spawn *spawn) in crypto_spawn_ahash_alg() argument
106 return __crypto_hash_alg_common(spawn->base.alg); in crypto_spawn_ahash_alg()
123 crypto_drop_spawn(&spawn->base); in crypto_drop_shash()
127 struct crypto_shash_spawn *spawn) in crypto_spawn_shash_alg() argument
129 return __crypto_shash_alg(spawn->base.alg); in crypto_spawn_shash_alg()
221 struct crypto_ahash_spawn *spawn) in crypto_spawn_ahash() argument
223 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_ahash()
267 struct crypto_shash_spawn *spawn) in crypto_spawn_shash() argument
[all …]
H A Dskcipher.h100 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
104 static inline void crypto_drop_skcipher(struct crypto_skcipher_spawn *spawn) in crypto_drop_skcipher() argument
106 crypto_drop_spawn(&spawn->base); in crypto_drop_skcipher()
110 struct crypto_skcipher_spawn *spawn) in crypto_skcipher_spawn_alg() argument
112 return container_of(spawn->base.alg, struct skcipher_alg, base); in crypto_skcipher_spawn_alg()
116 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher_alg() argument
118 return crypto_skcipher_spawn_alg(spawn); in crypto_spawn_skcipher_alg()
122 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher() argument
124 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_skcipher()
247 struct crypto_cipher_spawn *spawn = skcipher_instance_ctx(inst); in skcipher_ialg_simple() local
[all …]
H A Dcipher.h185 static inline int crypto_grab_cipher(struct crypto_cipher_spawn *spawn, in crypto_grab_cipher() argument
192 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_cipher()
195 static inline void crypto_drop_cipher(struct crypto_cipher_spawn *spawn) in crypto_drop_cipher() argument
197 crypto_drop_spawn(&spawn->base); in crypto_drop_cipher()
201 struct crypto_cipher_spawn *spawn) in crypto_spawn_cipher_alg() argument
203 return spawn->base.alg; in crypto_spawn_cipher_alg()
207 struct crypto_cipher_spawn *spawn) in crypto_spawn_cipher() argument
212 return __crypto_cipher_cast(crypto_spawn_tfm(&spawn->base, type, mask)); in crypto_spawn_cipher()
H A Dakcipher.h103 int crypto_grab_akcipher(struct crypto_akcipher_spawn *spawn,
108 struct crypto_akcipher_spawn *spawn) in crypto_spawn_akcipher() argument
110 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_akcipher()
113 static inline void crypto_drop_akcipher(struct crypto_akcipher_spawn *spawn) in crypto_drop_akcipher() argument
115 crypto_drop_spawn(&spawn->base); in crypto_drop_akcipher()
119 struct crypto_akcipher_spawn *spawn) in crypto_spawn_akcipher_alg() argument
121 return container_of(spawn->base.alg, struct akcipher_alg, base); in crypto_spawn_akcipher_alg()
H A Dkpp.h196 int crypto_grab_kpp(struct crypto_kpp_spawn *spawn,
204 static inline void crypto_drop_kpp(struct crypto_kpp_spawn *spawn) in crypto_drop_kpp() argument
206 crypto_drop_spawn(&spawn->base); in crypto_drop_kpp()
222 struct crypto_kpp_spawn *spawn) in crypto_spawn_kpp_alg() argument
224 return container_of(spawn->base.alg, struct kpp_alg, base); in crypto_spawn_kpp_alg()
240 struct crypto_kpp_spawn *spawn) in crypto_spawn_kpp() argument
242 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_kpp()
H A Daead.h99 int crypto_grab_aead(struct crypto_aead_spawn *spawn,
103 static inline void crypto_drop_aead(struct crypto_aead_spawn *spawn) in crypto_drop_aead() argument
105 crypto_drop_spawn(&spawn->base); in crypto_drop_aead()
109 struct crypto_aead_spawn *spawn) in crypto_spawn_aead_alg() argument
111 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg()
115 struct crypto_aead_spawn *spawn) in crypto_spawn_aead() argument
117 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_aead()
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-support/spawn-fcgi/
H A Dspawn-fcgi_1.6.5.bb1 SUMMARY = "spawn-fcgi is used to spawn FastCGI applications"
2 HOMEPAGE = "http://redmine.lighttpd.net/projects/spawn-fcgi"
7 SRC_URI = "http://download.lighttpd.net/spawn-fcgi/releases-1.6.x/spawn-fcgi-${PV}.tar.gz"
/openbmc/sdbusplus/test/async/
H A Dcontext.cpp18 ctx->spawn(stdexec::just() | in spawnStop()
38 ctx->spawn(stdexec::just()); in TEST_F()
59 ctx->spawn(sdbusplus::async::sleep_for(*ctx, timeout) | in TEST_F()
90 ctx->spawn(_::one(count, executed) | in TEST_F()
108 ctx->spawn(m->next() | stdexec::then([&ran](...) { ran = true; })); in TEST_F()
111 ctx->spawn(sdbusplus::async::sleep_for(*ctx, 1ms) | in TEST_F()
138 ctx->spawn(_::fn(m->next(), ran)); in TEST_F()
139 ctx->spawn(sdbusplus::async::sleep_for(*ctx, 1ms) | in TEST_F()
/openbmc/openbmc-test-automation/bin/
H A Dssh_pw18 eval spawn ssh ${ssh_parms}
41 eval spawn ssh ${ssh_parms}
81 set child_died {expect:[ ]spawn[ ]id[ ]exp4[ ]not[ ]open}
/openbmc/linux/include/crypto/
H A Dalgapi.h158 int crypto_grab_spawn(struct crypto_spawn *spawn, struct crypto_instance *inst,
160 void crypto_drop_spawn(struct crypto_spawn *spawn);
161 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type,
163 void *crypto_spawn_tfm2(struct crypto_spawn *spawn);
/openbmc/openbmc/poky/meta-yocto-bsp/lib/oeqa/controllers/
H A Dgrubtarget.py54 serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout)
65 serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout)
/openbmc/sdbusplus/example/
H A Dcalculator-client.cpp68 ctx.spawn(startup(ctx)); in main()
69 ctx.spawn( in main()

12345