Lines Matching defs:cipher
1088 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1089 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1134 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1135 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1179 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
1180 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1181 size_t iv_len = crypto_skcipher_ivsize(cipher);
1596 artpec6_crypto_cipher_set_key(struct crypto_skcipher *cipher, const u8 *key,
1600 crypto_skcipher_ctx(cipher);
1617 artpec6_crypto_xts_set_key(struct crypto_skcipher *cipher, const u8 *key,
1621 crypto_skcipher_ctx(cipher);
1624 ret = xts_verify_key(cipher, key, keylen);
1642 /** artpec6_crypto_process_crypto - Prepare an async block cipher crypto request
1649 * This function sets up the PDMA descriptors for a block cipher request.
1664 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(areq);
1665 struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(cipher);
1667 size_t iv_len = crypto_skcipher_ivsize(cipher);
1747 pr_err("%s: Invalid cipher mode %d!\n",
1834 struct crypto_aead *cipher = crypto_aead_reqtfm(areq);
1906 input_length -= crypto_aead_authsize(cipher);
1915 memcpy(req_ctx->hw_ctx.J0, areq->iv, crypto_aead_ivsize(cipher));
1971 output_len -= crypto_aead_authsize(cipher);
2011 size_t authsize = crypto_aead_authsize(cipher);