• Home
  • Raw
  • Download

Lines Matching refs:child

54 	struct crypto_skcipher *child = &ctx->cryptd_tfm->base;  in simd_skcipher_setkey()  local
56 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_skcipher_setkey()
57 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(tfm) & in simd_skcipher_setkey()
59 return crypto_skcipher_setkey(child, key, key_len); in simd_skcipher_setkey()
67 struct crypto_skcipher *child; in simd_skcipher_encrypt() local
74 child = &ctx->cryptd_tfm->base; in simd_skcipher_encrypt()
76 child = cryptd_skcipher_child(ctx->cryptd_tfm); in simd_skcipher_encrypt()
78 skcipher_request_set_tfm(subreq, child); in simd_skcipher_encrypt()
88 struct crypto_skcipher *child; in simd_skcipher_decrypt() local
95 child = &ctx->cryptd_tfm->base; in simd_skcipher_decrypt()
97 child = cryptd_skcipher_child(ctx->cryptd_tfm); in simd_skcipher_decrypt()
99 skcipher_request_set_tfm(subreq, child); in simd_skcipher_decrypt()
294 struct crypto_aead *child = &ctx->cryptd_tfm->base; in simd_aead_setkey() local
296 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_aead_setkey()
297 crypto_aead_set_flags(child, crypto_aead_get_flags(tfm) & in simd_aead_setkey()
299 return crypto_aead_setkey(child, key, key_len); in simd_aead_setkey()
305 struct crypto_aead *child = &ctx->cryptd_tfm->base; in simd_aead_setauthsize() local
307 return crypto_aead_setauthsize(child, authsize); in simd_aead_setauthsize()
315 struct crypto_aead *child; in simd_aead_encrypt() local
322 child = &ctx->cryptd_tfm->base; in simd_aead_encrypt()
324 child = cryptd_aead_child(ctx->cryptd_tfm); in simd_aead_encrypt()
326 aead_request_set_tfm(subreq, child); in simd_aead_encrypt()
336 struct crypto_aead *child; in simd_aead_decrypt() local
343 child = &ctx->cryptd_tfm->base; in simd_aead_decrypt()
345 child = cryptd_aead_child(ctx->cryptd_tfm); in simd_aead_decrypt()
347 aead_request_set_tfm(subreq, child); in simd_aead_decrypt()