Lines Matching defs:err

97 				   unsigned char *input, int err);
171 void chcr_verify_tag(struct aead_request *req, u8 *input, int *err)
191 *err = -EBADMSG;
193 *err = 0;
211 int err)
219 chcr_verify_tag(req, input, &err);
223 aead_request_complete(req, err);
225 return err;
695 int err;
703 err = op_type ? crypto_skcipher_decrypt(&reqctx->fallback_req) :
706 return err;
834 goto err;
894 err:
933 int err;
935 err = chcr_cipher_fallback_setkey(cipher, key, keylen);
936 if (err)
954 return err;
964 int err;
966 err = chcr_cipher_fallback_setkey(cipher, key, keylen);
967 if (err)
984 return err;
994 int err;
1002 err = chcr_cipher_fallback_setkey(cipher, key, keylen);
1003 if (err)
1021 return err;
1157 unsigned char *input, int err)
1171 if (err)
1176 err = chcr_final_cipher_iv(req, fw6_pld, req->iv);
1192 err = chcr_update_cipher_iv(req, fw6_pld, reqctx->iv);
1193 if (err)
1201 err = chcr_cipher_fallback(ablkctx->sw_cipher, req, req->iv,
1215 err = PTR_ERR(skb);
1238 skcipher_request_complete(req, err);
1239 return err;
1253 int bytes, err = -EINVAL;
1274 err = chcr_cipher_dma_map(&ULD_CTX(c_ctx(tfm))->lldi.pdev->dev, req);
1275 if (err)
1331 err = chcr_cipher_fallback(ablkctx->sw_cipher, req,
1348 err = PTR_ERR(*skb);
1359 return err;
1368 int err;
1378 err = chcr_inc_wrcount(dev);
1379 if (err)
1384 err = -ENOSPC;
1388 err = process_cipher(req, u_ctx->lldi.rxq_ids[reqctx->rxqidx],
1390 if (err || !skb)
1391 return err;
1404 return err;
1414 int err;
1423 err = chcr_inc_wrcount(dev);
1424 if (err)
1431 err = process_cipher(req, u_ctx->lldi.rxq_ids[reqctx->rxqidx],
1433 if (err || !skb)
1434 return err;
1444 int err = 0, rxq_perchan;
1449 err = -ENXIO;
1463 return err;
1635 goto err;
1651 err:
1696 goto err;
1703 goto err;
1743 err:
1816 goto err;
1823 err:
1855 goto err;
1861 goto err;
1918 err:
1951 goto err;
1958 goto err;
2012 err:
2071 goto err;
2078 err:
2084 int err)
2124 err = chcr_ahash_continue(req);
2125 if (err)
2135 ahash_request_complete(req, err);
2143 int err)
2151 err = chcr_handle_aead_resp(aead_request_cast(req), input, err);
2156 input, err);
2159 chcr_handle_ahash_resp(ahash_request_cast(req), input, err);
2162 return err;
2200 unsigned int i, err = 0, updated_digestsize;
2210 err = crypto_shash_digest(shash, key, keylen,
2212 if (err)
2232 err = chcr_compute_partial_hash(shash, hmacctx->ipad,
2234 if (err)
2238 err = chcr_compute_partial_hash(shash, hmacctx->opad,
2240 if (err)
2244 return err;
2252 int err;
2254 err = chcr_cipher_fallback_setkey(cipher, key, key_len);
2255 if (err)
2289 return err;
2383 goto err;
2385 goto err;
2395 goto err;
2399 err:
2497 goto err;
2569 err:
2613 goto err;
2619 goto err;
2627 goto err;
2632 err:
2840 goto err;
2845 goto err;
2851 goto err;
2856 err:
3065 goto err;
3094 goto err;
3126 err:
3187 goto err;
3242 err:
3555 int err = 0, i, key_ctx_len = 0;
3566 err = crypto_aead_setkey(aeadctx->sw_cipher, key, keylen);
3567 if (err)
3623 err = crypto_shash_digest(shash, keys.authkey,
3626 if (err) {
3680 int err;
3689 err = crypto_aead_setkey(aeadctx->sw_cipher, key, keylen);
3690 if (err)
4433 int err = 0, i;
4453 err = crypto_register_skcipher(&driver_algs[i].alg.skcipher);
4465 err = crypto_register_aead(&driver_algs[i].alg.aead);
4495 err = crypto_register_ahash(&driver_algs[i].alg.hash);
4500 if (err) {
4511 return err;