Lines Matching defs:cipher
1087 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1088 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1133 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1134 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1178 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1179 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1180 size_t iv_len = crypto_skcipher_ivsize(cipher);
1595 artpec6_crypto_cipher_set_key(struct crypto_skcipher *cipher, const u8 *key,
1599 crypto_skcipher_ctx(cipher);
1616 artpec6_crypto_xts_set_key(struct crypto_skcipher *cipher, const u8 *key,
1620 crypto_skcipher_ctx(cipher);
1623 ret = xts_check_key(&cipher->base, key, keylen);
1641 /** artpec6_crypto_process_crypto - Prepare an async block cipher crypto request
1648 * This function sets up the PDMA descriptors for a block cipher request.
1663 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq);
1664 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1666 size_t iv_len = crypto_skcipher_ivsize(cipher);
1746 pr_err("%s: Invalid cipher mode %d!\n",
1833 struct crypto_aead *cipher = crypto_aead_reqtfm(areq);
1905 input_length -= crypto_aead_authsize(cipher);
1914 memcpy(req_ctx->hw_ctx.J0, areq->iv, crypto_aead_ivsize(cipher));
1970 output_len -= crypto_aead_authsize(cipher);
2010 size_t authsize = crypto_aead_authsize(cipher);