Lines Matching refs:sw_cipher
264 skcipher_request_set_tfm(subreq, ctx->sw_cipher.cipher); in crypto4xx_ctr_crypt()
286 crypto_skcipher_clear_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
288 crypto_skcipher_set_flags(ctx->sw_cipher.cipher, in crypto4xx_sk_setup_fallback()
290 rc = crypto_skcipher_setkey(ctx->sw_cipher.cipher, key, keylen); in crypto4xx_sk_setup_fallback()
293 crypto_skcipher_get_flags(ctx->sw_cipher.cipher) & in crypto4xx_sk_setup_fallback()
356 aead_request_set_tfm(subreq, ctx->sw_cipher.aead); in crypto4xx_aead_fallback()
373 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK); in crypto4xx_aead_setup_fallback()
374 crypto_aead_set_flags(ctx->sw_cipher.aead, in crypto4xx_aead_setup_fallback()
376 rc = crypto_aead_setkey(ctx->sw_cipher.aead, key, keylen); in crypto4xx_aead_setup_fallback()
379 crypto_aead_get_flags(ctx->sw_cipher.aead) & in crypto4xx_aead_setup_fallback()
497 return crypto_aead_setauthsize(ctx->sw_cipher.aead, authsize); in crypto4xx_setauthsize_aead()