Searched refs:encrypt (Results 76 - 100 of 218) sorted by relevance

123456789

/linux-master/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c61 * @instruction: Instruction to be executed (encrypt / decrypt).
79 * used for GCM encrypt / decrypt).
303 * Called by encrypt() / decrypt() skcipher functions.
568 /* CBC encrypt case. */
630 * Called by encrypt() / decrypt() aead functions.
763 * For encrypt:
815 /* If this is not CCM encrypt, we are done. */
829 * For CCM encrypt the input and output linked lists contain
927 /* For GCM encrypt, we must manually copy out_tag to DST sg. */
1275 .base.encrypt
[all...]
/linux-master/crypto/
H A Dcrypto_null.c120 .encrypt = null_skcipher_crypt,
H A Dechainiv.c6 * it with a salt and then encrypting it with the same key as used to encrypt
127 inst->alg.encrypt = echainiv_encrypt;
H A Dkeywrap.c212 * Place the predefined IV into block A -- for encrypt, the caller
237 /* perform KW operation: encrypt block */
285 inst->alg.encrypt = crypto_kw_encrypt;
H A Dakcipher.c164 if (!alg->encrypt)
165 alg->encrypt = akcipher_default_op;
/linux-master/drivers/crypto/nx/
H A Dnx-aes-ctr.c142 .encrypt = ctr3686_aes_nx_crypt,
/linux-master/arch/powerpc/crypto/
H A Daes-spe-glue.c444 .encrypt = ppc_ecb_encrypt,
457 .encrypt = ppc_cbc_encrypt,
470 .encrypt = ppc_ctr_crypt,
484 .encrypt = ppc_xts_encrypt,
H A Daes_ctr.c141 .encrypt = p8_aes_ctr_crypt,
H A Daes_xts.c155 .encrypt = p8_aes_xts_encrypt,
/linux-master/drivers/crypto/qce/
H A Dskcipher.c256 static int qce_skcipher_crypt(struct skcipher_request *req, int encrypt) argument
267 rctx->flags |= encrypt ? QCE_ENCRYPT : QCE_DECRYPT;
302 ret = encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) :
461 alg->encrypt = qce_skcipher_encrypt;
H A Daead.c502 static int qce_aead_crypt(struct aead_request *req, int encrypt) argument
511 rctx->flags |= encrypt ? QCE_ENCRYPT : QCE_DECRYPT;
513 if (encrypt)
536 return encrypt ? crypto_aead_encrypt(&rctx->fallback_req) :
784 alg->encrypt = qce_aead_encrypt;
/linux-master/drivers/staging/wlan-ng/
H A Dp80211req.c161 if (req->encrypt.data == P80211ENUM_truth_true)
/linux-master/include/crypto/
H A Daead.h106 * @encrypt_cnt: number of encrypt requests
107 * @encrypt_tlen: total data size handled by encrypt requests
136 * @encrypt: see struct skcipher_alg
160 int (*encrypt)(struct aead_request *req); member in struct:aead_alg
361 * crypto_aead_encrypt() - encrypt plaintext
447 * encrypt and decrypt API calls. During the allocation, the provided aead
H A Dskcipher.h33 * @cryptlen: Number of bytes to encrypt or decrypt
69 * @encrypt_cnt: number of encrypt requests
70 * @encrypt_tlen: total data size handled by encrypt requests
102 * IV of exactly that size to perform the encrypt or decrypt operation.
134 * @encrypt: Encrypt a scatterlist of blocks. This function is used to encrypt
145 * @decrypt: Decrypt a single block. This is a reverse counterpart to @encrypt
179 int (*encrypt)(struct skcipher_request *req); member in struct:skcipher_alg
206 * @encrypt: Encrypt a number of bytes. This function is used to encrypt
230 int (*encrypt)(struct crypto_lskcipher *tfm, const u8 *src, member in struct:lskcipher_alg
[all...]
/linux-master/drivers/crypto/hisilicon/sec2/
H A Dsec.h31 bool encrypt; member in struct:sec_cipher_req
/linux-master/arch/s390/crypto/
H A Dchacha-glue.c107 .encrypt = chacha20_s390,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c136 bool encrypt; member in struct:mlx5_macsec_obj_attrs
252 MLX5_SET(macsec_offload_obj, obj, confidentiality_en, attrs->encrypt);
337 struct mlx5e_macsec_sa *sa, bool encrypt,
362 bool encrypt, bool is_tx, u32 *fs_id)
373 obj_attrs.encrypt = encrypt;
390 err = mlx5e_macsec_init_sa_fs(ctx, sa, encrypt, is_tx, fs_id);
463 if (!ctx->secy->tx_sc.encrypt) {
464 netdev_err(netdev, "MACsec offload: encrypt off isn't supported\n");
553 err = mlx5e_macsec_init_sa(ctx, tx_sa, tx_sc->encrypt, tru
336 mlx5e_macsec_init_sa_fs(struct macsec_context *ctx, struct mlx5e_macsec_sa *sa, bool encrypt, bool is_tx, u32 *fs_id) argument
360 mlx5e_macsec_init_sa(struct macsec_context *ctx, struct mlx5e_macsec_sa *sa, bool encrypt, bool is_tx, u32 *fs_id) argument
[all...]
/linux-master/arch/x86/crypto/
H A Ddes3_ede_glue.c318 .encrypt = ecb_encrypt,
331 .encrypt = cbc_encrypt,
/linux-master/drivers/crypto/amlogic/
H A Damlogic-gxl-core.c71 .encrypt = meson_skencrypt,
99 .encrypt = meson_skencrypt,
/linux-master/arch/arm/crypto/
H A Daes-ce-glue.c600 .encrypt = ecb_encrypt,
615 .encrypt = cbc_encrypt,
631 .encrypt = cts_cbc_encrypt,
647 .encrypt = ctr_encrypt,
662 .encrypt = ctr_encrypt_sync,
678 .encrypt = xts_encrypt,
/linux-master/drivers/crypto/marvell/cesa/
H A Dcipher.c514 .encrypt = mv_cesa_ecb_des_encrypt,
564 .encrypt = mv_cesa_cbc_des_encrypt,
623 .encrypt = mv_cesa_ecb_des3_ede_encrypt,
676 .encrypt = mv_cesa_cbc_des3_ede_encrypt,
750 .encrypt = mv_cesa_ecb_aes_encrypt,
799 .encrypt = mv_cesa_cbc_aes_encrypt,
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c483 pattrib->encrypt = 0;
490 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast);
509 /* For WPS 1.0 WEP, driver should not encrypt EAPOL Packet for WPS handshake. */
510 if (((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) && (pattrib->ether_type == 0x888e))
511 pattrib->encrypt = _NO_PRIVACY_;
514 switch (pattrib->encrypt) {
558 if (pattrib->encrypt > 0)
561 if (pattrib->encrypt &&
772 if (pattrib->encrypt
[all...]
/linux-master/arch/arm64/crypto/
H A Daes-glue.c699 .encrypt = ecb_encrypt,
714 .encrypt = cbc_encrypt,
730 .encrypt = ctr_encrypt,
746 .encrypt = xctr_encrypt,
762 .encrypt = xts_encrypt,
779 .encrypt = cts_cbc_encrypt,
794 .encrypt = essiv_cbc_encrypt,
829 /* encrypt the zero vector */
/linux-master/drivers/crypto/ccree/
H A Dcc_aead.c1240 /* encrypt first.. */
1292 /* encrypt first.. */
1518 /* encrypt the "T" value and store MAC in mac_state */
1798 //in RFC4543 no data to encrypt. just copy data from src to dest.
2305 .encrypt = cc_aead_encrypt,
2325 .encrypt = cc_aead_encrypt,
2345 .encrypt = cc_aead_encrypt,
2365 .encrypt = cc_aead_encrypt,
2385 .encrypt = cc_aead_encrypt,
2405 .encrypt
[all...]
/linux-master/drivers/crypto/stm32/
H A Dstm32-cryp.c29 /* Bit [0] encrypt / decrypt */
1699 .encrypt = stm32_cryp_aes_ecb_encrypt,
1722 .encrypt = stm32_cryp_aes_cbc_encrypt,
1745 .encrypt = stm32_cryp_aes_ctr_encrypt,
1767 .encrypt = stm32_cryp_des_ecb_encrypt,
1790 .encrypt = stm32_cryp_des_cbc_encrypt,
1812 .encrypt = stm32_cryp_tdes_ecb_encrypt,
1835 .encrypt = stm32_cryp_tdes_cbc_encrypt,
1848 .base.encrypt = stm32_cryp_aes_gcm_encrypt,
1871 .base.encrypt
[all...]

Completed in 241 milliseconds

123456789