Home
last modified time | relevance | path

Searched refs:cipher (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dwpa.h125 #define IS_CCX_CIPHER(cipher) ((cipher) == WPA_CIPHER_CKIP || \ argument
126 (cipher) == WPA_CIPHER_CKIP_MMH || \
127 (cipher) == WPA_CIPHER_WEP_MMH)
144 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ argument
145 (cipher) == WPA_CIPHER_WEP_40 || \
146 (cipher) == WPA_CIPHER_WEP_104 || \
147 (cipher) == WPA_CIPHER_TKIP || \
148 (cipher) == WPA_CIPHER_AES_OCB || \
149 (cipher) == WPA_CIPHER_AES_CCM || \
150 (cipher) == WPA_CIPHER_AES_GCM || \
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dwpa.h125 #define IS_CCX_CIPHER(cipher) ((cipher) == WPA_CIPHER_CKIP || \ argument
126 (cipher) == WPA_CIPHER_CKIP_MMH || \
127 (cipher) == WPA_CIPHER_WEP_MMH)
144 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ argument
145 (cipher) == WPA_CIPHER_WEP_40 || \
146 (cipher) == WPA_CIPHER_WEP_104 || \
147 (cipher) == WPA_CIPHER_TKIP || \
148 (cipher) == WPA_CIPHER_AES_OCB || \
149 (cipher) == WPA_CIPHER_AES_CCM || \
150 (cipher) == WPA_CIPHER_AES_GCM || \
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dwpa.h134 #define IS_CCX_CIPHER(cipher) ((cipher) == WPA_CIPHER_CKIP || \ argument
135 (cipher) == WPA_CIPHER_CKIP_MMH || \
136 (cipher) == WPA_CIPHER_WEP_MMH)
151 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ argument
152 (cipher) == WPA_CIPHER_WEP_40 || \
153 (cipher) == WPA_CIPHER_WEP_104 || \
154 (cipher) == WPA_CIPHER_TKIP || \
155 (cipher) == WPA_CIPHER_AES_OCB || \
156 (cipher) == WPA_CIPHER_AES_CCM || \
157 (cipher) == WPA_CIPHER_AES_GCM || \
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dwpa.h134 #define IS_CCX_CIPHER(cipher) ((cipher) == WPA_CIPHER_CKIP || \ argument
135 (cipher) == WPA_CIPHER_CKIP_MMH || \
136 (cipher) == WPA_CIPHER_WEP_MMH)
151 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ argument
152 (cipher) == WPA_CIPHER_WEP_40 || \
153 (cipher) == WPA_CIPHER_WEP_104 || \
154 (cipher) == WPA_CIPHER_TKIP || \
155 (cipher) == WPA_CIPHER_AES_OCB || \
156 (cipher) == WPA_CIPHER_AES_CCM || \
157 (cipher) == WPA_CIPHER_AES_GCM || \
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dwpa.h133 #define IS_CCX_CIPHER(cipher) ((cipher) == WPA_CIPHER_CKIP || \ argument
134 (cipher) == WPA_CIPHER_CKIP_MMH || \
135 (cipher) == WPA_CIPHER_WEP_MMH)
150 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ argument
151 (cipher) == WPA_CIPHER_WEP_40 || \
152 (cipher) == WPA_CIPHER_WEP_104 || \
153 (cipher) == WPA_CIPHER_TKIP || \
154 (cipher) == WPA_CIPHER_AES_OCB || \
155 (cipher) == WPA_CIPHER_AES_CCM || \
156 (cipher) == WPA_CIPHER_AES_GCM || \
[all …]
/OK3568_Linux_fs/kernel/Documentation/crypto/
H A Darchitecture.rst8 cipher types:
33 A single block cipher may even be called with multiple templates.
34 However, templates cannot be used without a single cipher.
63 When using the synchronous API operation, the caller invokes a cipher
65 That means, the caller waits until the cipher operation completes.
71 implies that the invocation of a cipher operation will complete almost
72 instantly. That invocation triggers the cipher operation but it does not
73 signal its completion. Before invoking a cipher operation, the caller
75 signal the completion of the cipher operation. Furthermore, the caller
84 A cipher is referenced by the caller with a string. That string has the
[all …]
H A Duserspace-if.rst13 consumer and never as a provider of a transformation or cipher
56 A cipher is accessed with the same name as done for the in-kernel API
61 user space application. User space invokes the cipher operation with the
62 send()/write() system call family. The result of the cipher operation is
73 parameter specified below for the different cipher types.
79 particular cipher instance. When invoking send/write or recv/read
87 space interface allows the cipher operation in-place. That means that
90 is of particular interest for symmetric cipher operations where a
101 The message digest type to be used for the cipher operation is selected
111 .salg_name = "sha1" /* this is the cipher name */
[all …]
H A Dintro.rst19 Therefore, a cipher handle variable usually has the name "tfm". Besides
37 Note: The terms "transformation" and cipher algorithm are used
56 to as a "cipher handle". Such a cipher handle is always subject to the
58 a cipher handle:
60 1. Initialization of a cipher handle.
62 2. Execution of all intended cipher operations applicable for the handle
63 where the cipher handle must be furnished to every API call.
65 3. Destruction of a cipher handle.
67 When using the initialization API calls, a cipher handle is created and
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dwpa.h139 #define IS_WPA_CIPHER(cipher) ((cipher) == WPA_CIPHER_NONE || \ argument
140 (cipher) == WPA_CIPHER_WEP_40 || \
141 (cipher) == WPA_CIPHER_WEP_104 || \
142 (cipher) == WPA_CIPHER_TKIP || \
143 (cipher) == WPA_CIPHER_AES_OCB || \
144 (cipher) == WPA_CIPHER_AES_CCM || \
145 (cipher) == WPA_CIPHER_AES_GCM || \
146 (cipher) == WPA_CIPHER_AES_GCM256 || \
147 (cipher) == WPA_CIPHER_TPK)
150 #define IS_WAPI_CIPHER(cipher) ((cipher) == WAPI_CIPHER_NONE || \ argument
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c73 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req); in crypto4xx_crypt() local
74 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher); in crypto4xx_crypt()
121 static int crypto4xx_setkey_aes(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes() argument
127 struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher); in crypto4xx_setkey_aes()
177 int crypto4xx_setkey_aes_cbc(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_cbc() argument
180 return crypto4xx_setkey_aes(cipher, key, keylen, CRYPTO_MODE_CBC, in crypto4xx_setkey_aes_cbc()
184 int crypto4xx_setkey_aes_cfb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_cfb() argument
187 return crypto4xx_setkey_aes(cipher, key, keylen, CRYPTO_MODE_CFB, in crypto4xx_setkey_aes_cfb()
191 int crypto4xx_setkey_aes_ecb(struct crypto_skcipher *cipher, in crypto4xx_setkey_aes_ecb() argument
194 return crypto4xx_setkey_aes(cipher, key, keylen, CRYPTO_MODE_ECB, in crypto4xx_setkey_aes_ecb()
[all …]
H A Dcrypto4xx_core.h125 struct crypto_sync_skcipher *cipher; member
137 struct skcipher_alg cipher; member
163 int crypto4xx_setkey_aes_cbc(struct crypto_skcipher *cipher,
165 int crypto4xx_setkey_aes_cfb(struct crypto_skcipher *cipher,
167 int crypto4xx_setkey_aes_ctr(struct crypto_skcipher *cipher,
169 int crypto4xx_setkey_aes_ecb(struct crypto_skcipher *cipher,
171 int crypto4xx_setkey_aes_ofb(struct crypto_skcipher *cipher,
173 int crypto4xx_setkey_rfc3686(struct crypto_skcipher *cipher,
236 int crypto4xx_setkey_aes_ccm(struct crypto_aead *cipher,
240 int crypto4xx_setkey_aes_gcm(struct crypto_aead *cipher,
/OK3568_Linux_fs/kernel/crypto/
H A Dcbc.c25 struct crypto_cipher *cipher; in crypto_cbc_encrypt_segment() local
29 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_encrypt_segment()
30 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_encrypt_segment()
31 fn = crypto_cipher_alg(cipher)->cia_encrypt; in crypto_cbc_encrypt_segment()
52 struct crypto_cipher *cipher; in crypto_cbc_encrypt_inplace() local
56 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_encrypt_inplace()
57 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_encrypt_inplace()
58 fn = crypto_cipher_alg(cipher)->cia_encrypt; in crypto_cbc_encrypt_inplace()
100 struct crypto_cipher *cipher; in crypto_cbc_decrypt_segment() local
104 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_decrypt_segment()
[all …]
H A Decb.c17 struct crypto_cipher *cipher, in crypto_ecb_crypt() argument
20 const unsigned int bsize = crypto_cipher_blocksize(cipher); in crypto_ecb_crypt()
32 fn(crypto_cipher_tfm(cipher), dst, src); in crypto_ecb_crypt()
47 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_encrypt() local
49 return crypto_ecb_crypt(req, cipher, in crypto_ecb_encrypt()
50 crypto_cipher_alg(cipher)->cia_encrypt); in crypto_ecb_encrypt()
56 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_decrypt() local
58 return crypto_ecb_crypt(req, cipher, in crypto_ecb_decrypt()
59 crypto_cipher_alg(cipher)->cia_decrypt); in crypto_ecb_decrypt()
H A DKconfig353 Support for the AEAD wrapper using the ChaCha20 stream cipher combined
407 This block cipher algorithm is required for IPSec.
415 This block cipher algorithm is required for TPM2 Cryptography.
423 This block cipher algorithm is required for IPSec.
446 This is the simplest block cipher algorithm. It simply encrypts
456 narrow block cipher mode for dm-crypt. Use it with cipher
459 rest is used to tie each cipher block to its logical position.
466 OFB: the Output Feedback mode makes a block cipher into a synchronous
467 stream cipher. It generates keystream blocks, which are then XORed
479 This block cipher algorithm is required for RxRPC.
[all …]
H A Dctr.c102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt() local
103 const unsigned int bsize = crypto_cipher_blocksize(cipher); in crypto_ctr_crypt()
112 nbytes = crypto_ctr_crypt_inplace(&walk, cipher); in crypto_ctr_crypt()
114 nbytes = crypto_ctr_crypt_segment(&walk, cipher); in crypto_ctr_crypt()
120 crypto_ctr_crypt_final(&walk, cipher); in crypto_ctr_crypt()
223 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local
227 cipher = crypto_spawn_skcipher(spawn); in crypto_rfc3686_init_tfm()
228 if (IS_ERR(cipher)) in crypto_rfc3686_init_tfm()
229 return PTR_ERR(cipher); in crypto_rfc3686_init_tfm()
231 ctx->child = cipher; in crypto_rfc3686_init_tfm()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c41 const struct nitrox_cipher *cipher = flexi_cipher_table; in flexi_cipher_type() local
43 while (cipher->name) { in flexi_cipher_type()
44 if (!strcmp(cipher->name, name)) in flexi_cipher_type()
46 cipher++; in flexi_cipher_type()
48 return cipher->value; in flexi_cipher_type()
83 struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(skreq); in nitrox_cbc_cipher_callback() local
84 int ivsize = crypto_skcipher_ivsize(cipher); in nitrox_cbc_cipher_callback()
165 static inline int nitrox_skcipher_setkey(struct crypto_skcipher *cipher, in nitrox_skcipher_setkey() argument
169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey()
197 static int nitrox_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in nitrox_aes_setkey() argument
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/
H A Dcipher.h154 const EVP_CIPHER *cipher, ENGINE *engine,
160 const EVP_CIPHER *cipher, ENGINE *impl,
165 const EVP_CIPHER *cipher, ENGINE *impl,
299 OPENSSL_EXPORT int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
303 OPENSSL_EXPORT unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
309 OPENSSL_EXPORT unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
313 OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
317 OPENSSL_EXPORT uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher);
320 OPENSSL_EXPORT uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher);
385 OPENSSL_EXPORT int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/
H A Dcipher.h154 const EVP_CIPHER *cipher, ENGINE *engine,
160 const EVP_CIPHER *cipher, ENGINE *impl,
165 const EVP_CIPHER *cipher, ENGINE *impl,
299 OPENSSL_EXPORT int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
303 OPENSSL_EXPORT unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
309 OPENSSL_EXPORT unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
313 OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
317 OPENSSL_EXPORT uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher);
320 OPENSSL_EXPORT uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher);
385 OPENSSL_EXPORT int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/
H A Dcipher.h154 const EVP_CIPHER *cipher, ENGINE *engine,
160 const EVP_CIPHER *cipher, ENGINE *impl,
165 const EVP_CIPHER *cipher, ENGINE *impl,
303 OPENSSL_EXPORT int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
307 OPENSSL_EXPORT unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
313 OPENSSL_EXPORT unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
317 OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
321 OPENSSL_EXPORT uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher);
324 OPENSSL_EXPORT uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher);
395 OPENSSL_EXPORT int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/
H A Dcipher.h154 const EVP_CIPHER *cipher, ENGINE *engine,
160 const EVP_CIPHER *cipher, ENGINE *impl,
165 const EVP_CIPHER *cipher, ENGINE *impl,
303 OPENSSL_EXPORT int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
307 OPENSSL_EXPORT unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
313 OPENSSL_EXPORT unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
317 OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
321 OPENSSL_EXPORT uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher);
324 OPENSSL_EXPORT uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher);
395 OPENSSL_EXPORT int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/
H A Dcipher.h154 const EVP_CIPHER *cipher, ENGINE *engine,
160 const EVP_CIPHER *cipher, ENGINE *impl,
165 const EVP_CIPHER *cipher, ENGINE *impl,
303 OPENSSL_EXPORT int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
307 OPENSSL_EXPORT unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
313 OPENSSL_EXPORT unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
317 OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
321 OPENSSL_EXPORT uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher);
324 OPENSSL_EXPORT uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher);
395 OPENSSL_EXPORT int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/
H A Dcipher.h154 const EVP_CIPHER *cipher, ENGINE *engine,
160 const EVP_CIPHER *cipher, ENGINE *impl,
165 const EVP_CIPHER *cipher, ENGINE *impl,
303 OPENSSL_EXPORT int EVP_CIPHER_nid(const EVP_CIPHER *cipher);
307 OPENSSL_EXPORT unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher);
313 OPENSSL_EXPORT unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher);
317 OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
321 OPENSSL_EXPORT uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher);
324 OPENSSL_EXPORT uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher);
395 OPENSSL_EXPORT int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c232 static int cvm_xts_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_xts_setkey() argument
235 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_xts_setkey()
289 static int cvm_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_setkey() argument
292 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in cvm_setkey()
304 static int cvm_cbc_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cbc_aes_setkey() argument
307 return cvm_setkey(cipher, key, keylen, AES_CBC); in cvm_cbc_aes_setkey()
310 static int cvm_ecb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_ecb_aes_setkey() argument
313 return cvm_setkey(cipher, key, keylen, AES_ECB); in cvm_ecb_aes_setkey()
316 static int cvm_cfb_aes_setkey(struct crypto_skcipher *cipher, const u8 *key, in cvm_cfb_aes_setkey() argument
319 return cvm_setkey(cipher, key, keylen, AES_CFB); in cvm_cfb_aes_setkey()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/libgcrypt/files/
H A D0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch9 compiling cipher.
24 cipher/Makefile.am | 2 +-
27 diff --git a/cipher/Makefile.am b/cipher/Makefile.am
29 --- a/cipher/Makefile.am
30 +++ b/cipher/Makefile.am
/OK3568_Linux_fs/kernel/drivers/crypto/bcm/
H A Dcipher.c154 if ((ctx->cipher.mode == CIPHER_MODE_XTS) && in spu_skcipher_rx_sg_create()
219 if ((ctx->cipher.mode == CIPHER_MODE_XTS) && in spu_skcipher_tx_sg_create()
324 cipher_parms.alg = ctx->cipher.alg; in handle_skcipher_req()
325 cipher_parms.mode = ctx->cipher.mode; in handle_skcipher_req()
350 if ((ctx->cipher.mode == CIPHER_MODE_CBC) && in handle_skcipher_req()
366 if ((ctx->cipher.mode == CIPHER_MODE_CBC) && in handle_skcipher_req()
375 } else if (ctx->cipher.mode == CIPHER_MODE_CTR) { in handle_skcipher_req()
435 if ((ctx->cipher.mode == CIPHER_MODE_XTS) && in handle_skcipher_req()
449 if ((ctx->cipher.mode == CIPHER_MODE_XTS) && in handle_skcipher_req()
487 if ((ctx->cipher.mode == CIPHER_MODE_XTS) && in handle_skcipher_resp()
[all …]

12345678910>>...20