Searched refs:cipher (Results 1 - 25 of 274) sorted by relevance

1234567891011

/linux-master/drivers/crypto/bcm/
H A DMakefile14 bcm_crypto_spu-objs := util.o spu.o spu2.o cipher.o
/linux-master/drivers/crypto/amlogic/
H A DMakefile2 amlogic-gxl-crypto-y := amlogic-gxl-core.o amlogic-gxl-cipher.o
/linux-master/drivers/crypto/marvell/cesa/
H A DMakefile3 marvell-cesa-objs := cesa.o cipher.o hash.o tdma.o
/linux-master/drivers/crypto/gemini/
H A DMakefile2 sl3516-ce-y += sl3516-ce-core.o sl3516-ce-cipher.o sl3516-ce-rng.o
/linux-master/crypto/
H A Decb.c8 #include <crypto/internal/cipher.h>
16 static int crypto_ecb_crypt(struct crypto_cipher *cipher, const u8 *src, argument
20 const unsigned int bsize = crypto_cipher_blocksize(cipher);
23 fn(crypto_cipher_tfm(cipher), dst, src);
38 struct crypto_cipher *cipher = *ctx; local
40 return crypto_ecb_crypt(cipher, src, dst, len,
42 crypto_cipher_alg(cipher)->cia_encrypt);
49 struct crypto_cipher *cipher = *ctx; local
51 return crypto_ecb_crypt(cipher, src, dst, len,
53 crypto_cipher_alg(cipher)
60 struct crypto_cipher *cipher = *ctx; local
73 struct crypto_cipher *cipher; local
[all...]
H A Dcmac.c14 #include <crypto/internal/cipher.h>
199 struct crypto_cipher *cipher; local
202 cipher = crypto_spawn_cipher(spawn);
203 if (IS_ERR(cipher))
204 return PTR_ERR(cipher);
206 ctx->child = cipher;
215 struct crypto_cipher *cipher; local
217 cipher = crypto_clone_cipher(octx->child);
218 if (IS_ERR(cipher))
219 return PTR_ERR(cipher);
[all...]
H A Dkeywrap.c88 #include <crypto/internal/cipher.h>
127 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); local
167 crypto_cipher_decrypt_one(cipher, (u8 *)&block,
196 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); local
238 crypto_cipher_encrypt_one(cipher, (u8 *)&block,
H A Dpcbc.c13 #include <crypto/internal/cipher.h>
67 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); local
77 cipher);
80 cipher);
134 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); local
144 cipher);
147 cipher);
193 MODULE_DESCRIPTION("PCBC block cipher mode of operation");
H A Dctr.c10 #include <crypto/internal/cipher.h>
102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); local
103 const unsigned int bsize = crypto_cipher_blocksize(cipher);
112 nbytes = crypto_ctr_crypt_inplace(&walk, cipher);
114 nbytes = crypto_ctr_crypt_segment(&walk, cipher);
120 crypto_ctr_crypt_final(&walk, cipher);
148 /* CTR mode is a stream cipher. */
223 struct crypto_skcipher *cipher; local
227 cipher = crypto_spawn_skcipher(spawn);
228 if (IS_ERR(cipher))
[all...]
/linux-master/drivers/crypto/allwinner/sun4i-ss/
H A DMakefile3 sun4i-ss-y += sun4i-ss-core.o sun4i-ss-hash.o sun4i-ss-cipher.o
/linux-master/tools/testing/crypto/chacha20-s390/
H A DMakefile7 test_cipher-y := test-cipher.o
H A Dtest-cipher.c50 /* Perform cipher operations with the chacha lib */
51 static int test_lib_chacha(u8 *revert, u8 *cipher, u8 *plain) argument
72 chacha_crypt_arch(chacha_state, cipher, plain, data_size, 20);
78 16, 1, cipher,
87 chacha_crypt_arch(chacha_state, revert, cipher, data_size, 20);
100 /* Perform cipher operations with skcipher */
125 /* Initialize and trigger cipher operations */
126 static int test_skcipher(char *name, u8 *revert, u8 *cipher, u8 *plain) argument
174 sg_init_one(&sk.sgout, cipher, data_size);
191 16, 1, cipher,
[all...]
/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c24 * supported cipher list
41 const struct nitrox_cipher *cipher = flexi_cipher_table; local
43 while (cipher->name) {
44 if (!strcmp(cipher->name, name))
46 cipher++;
48 return cipher->value;
83 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); local
84 int ivsize = crypto_skcipher_ivsize(cipher);
165 static inline int nitrox_skcipher_setkey(struct crypto_skcipher *cipher, argument
169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher);
197 nitrox_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument
249 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); local
293 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); local
320 nitrox_3des_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument
337 nitrox_aes_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument
361 nitrox_aes_ctr_rfc3686_setkey(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/cipher/
H A Dg84.c24 #include <engine/cipher.h>
80 g84_cipher_intr(struct nvkm_engine *cipher) argument
82 struct nvkm_subdev *subdev = &cipher->subdev;
92 chan = nvkm_chan_get_inst(cipher, (u64)inst << 12, &flags);
108 g84_cipher_init(struct nvkm_engine *cipher) argument
110 struct nvkm_device *device = cipher->subdev.device;
/linux-master/drivers/crypto/allwinner/sun8i-ce/
H A DMakefile2 sun8i-ce-y += sun8i-ce-core.o sun8i-ce-cipher.o
/linux-master/drivers/crypto/allwinner/sun8i-ss/
H A DMakefile2 sun8i-ss-y += sun8i-ss-core.o sun8i-ss-cipher.o
/linux-master/drivers/nvme/common/
H A Dkeyring.c116 enum nvme_tcp_tls_cipher cipher; member in struct:nvme_tls_psk_priority_list
119 .cipher = NVME_TCP_TLS_CIPHER_SHA384, },
121 .cipher = NVME_TCP_TLS_CIPHER_SHA256, },
123 .cipher = NVME_TCP_TLS_CIPHER_SHA384, },
125 .cipher = NVME_TCP_TLS_CIPHER_SHA256, },
140 enum nvme_tcp_tls_cipher cipher = nvme_tls_psk_prio[prio].cipher; local
143 cipher, generated);
/linux-master/drivers/crypto/intel/keembay/
H A Docs-aes.h68 const u8 *key, const enum ocs_cipher cipher);
72 enum ocs_cipher cipher,
97 enum ocs_cipher cipher,
109 enum ocs_cipher cipher,
/linux-master/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c73 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); local
74 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher);
121 static int crypto4xx_setkey_aes(struct crypto_skcipher *cipher, argument
127 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher);
177 int crypto4xx_setkey_aes_cbc(struct crypto_skcipher *cipher, argument
180 return crypto4xx_setkey_aes(cipher, key, keylen, CRYPTO_MODE_CBC,
184 int crypto4xx_setkey_aes_ecb(struct crypto_skcipher *cipher, argument
187 return crypto4xx_setkey_aes(cipher, key, keylen, CRYPTO_MODE_ECB,
191 int crypto4xx_setkey_rfc3686(struct crypto_skcipher *cipher, argument
194 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher);
210 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); local
225 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); local
241 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); local
273 crypto4xx_sk_setup_fallback(struct crypto4xx_ctx *ctx, struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument
285 crypto4xx_setkey_aes_ctr(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument
352 crypto4xx_aead_setup_fallback(struct crypto4xx_ctx *ctx, struct crypto_aead *cipher, const u8 *key, unsigned int keylen) argument
367 crypto4xx_setkey_aes_ccm(struct crypto_aead *cipher, const u8 *key, unsigned int keylen) argument
469 crypto4xx_setauthsize_aead(struct crypto_aead *cipher, unsigned int authsize) argument
513 crypto4xx_setkey_aes_gcm(struct crypto_aead *cipher, const u8 *key, unsigned int keylen) argument
[all...]
H A Dcrypto4xx_core.h125 struct crypto_sync_skcipher *cipher; member in union:crypto4xx_ctx::__anon78
137 struct skcipher_alg cipher; member in union:crypto4xx_alg_common::__anon79
163 int crypto4xx_setkey_aes_cbc(struct crypto_skcipher *cipher,
165 int crypto4xx_setkey_aes_ctr(struct crypto_skcipher *cipher,
167 int crypto4xx_setkey_aes_ecb(struct crypto_skcipher *cipher,
169 int crypto4xx_setkey_rfc3686(struct crypto_skcipher *cipher,
232 int crypto4xx_setkey_aes_ccm(struct crypto_aead *cipher,
236 int crypto4xx_setkey_aes_gcm(struct crypto_aead *cipher,
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c232 static int cvm_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, argument
235 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(cipher);
240 err = xts_verify_key(cipher, key, keylen);
288 static int cvm_setkey(struct crypto_skcipher *cipher, const u8 *key, argument
291 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(cipher);
302 static int cvm_cbc_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, argument
305 return cvm_setkey(cipher, key, keylen, AES_CBC);
308 static int cvm_ecb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, argument
311 return cvm_setkey(cipher, key, keylen, AES_ECB);
314 static int cvm_cbc_des3_setkey(struct crypto_skcipher *cipher, cons argument
321 cvm_ecb_des3_setkey(struct crypto_skcipher *cipher, const u8 *key, u32 keylen) argument
[all...]
/linux-master/arch/arm64/crypto/
H A DMakefile26 obj-$(CONFIG_CRYPTO_SM4_ARM64_CE) += sm4-ce-cipher.o
27 sm4-ce-cipher-y := sm4-ce-cipher-glue.o sm4-ce-cipher-core.o
50 obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
51 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
79 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00crypto.c19 enum cipher rt2x00crypto_key_to_cipher(struct ieee80211_key_conf *key)
21 switch (key->cipher) {
47 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key);
84 if (key->cipher == WLAN_CIPHER_SUITE_TKIP)
159 switch (rxdesc->cipher) {
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c66 * pad minimum plaintext length to at least a single cipher block.
88 * @tfm: initialized cipher transform
96 * cipher's ivsize.
143 * @tfm: initialized cipher transform
151 * cipher's ivsize.
592 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, argument
597 SYNC_SKCIPHER_REQUEST_ON_STACK(req, cipher);
626 skcipher_request_set_sync_tfm(req, cipher);
649 memcpy(iv, data, crypto_sync_skcipher_ivsize(cipher));
659 * @cts_tfm: CBC cipher wit
787 struct crypto_sync_skcipher *cipher, *aux_cipher; local
860 struct crypto_sync_skcipher *cipher, *aux_cipher; local
929 krb5_etm_checksum(struct crypto_sync_skcipher *cipher, struct crypto_ahash *tfm, const struct xdr_buf *body, int body_offset, struct xdr_netobj *cksumout) argument
1015 struct crypto_sync_skcipher *cipher, *aux_cipher; local
1103 struct crypto_sync_skcipher *cipher, *aux_cipher; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-responder.c22 u8 cipher; member in struct:iwl_mvm_pasn_hltk_data
260 if (hltk_data->cipher > IWL_LOCATION_CIPHER_GCMP_256) {
261 IWL_ERR(mvm, "invalid cipher: %u\n",
262 hltk_data->cipher);
266 cmd.cipher = hltk_data->cipher;
324 u8 *addr, u32 cipher, u8 *tk, u32 tk_len,
358 hltk_data.cipher = iwl_mvm_cipher_to_location_cipher(cipher);
359 if (hltk_data.cipher
322 iwl_mvm_ftm_respoder_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *addr, u32 cipher, u8 *tk, u32 tk_len, u8 *hltk, u32 hltk_len) argument
[all...]

Completed in 460 milliseconds

1234567891011