| /OK3568_Linux_fs/buildroot/package/vtun/ |
| H A D | 0003-openssl11.patch | 36 cipher_type = EVP_aes_256_ecb(); 50 cipher_type = EVP_aes_256_ecb(); 59 cipher_type = EVP_aes_128_ecb(); 72 cipher_type = EVP_aes_128_ecb(); 82 cipher_type = EVP_bf_ecb(); 97 cipher_type = EVP_bf_ecb(); 107 cipher_type = EVP_bf_ecb(); 122 cipher_type = EVP_bf_ecb(); 132 EVP_EncryptInit_ex(pctx_enc, cipher_type, NULL, NULL, NULL); 133 EVP_DecryptInit_ex(pctx_dec, cipher_type, NULL, NULL, NULL); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 155 if (ctx->cipher_type == OTX_CPT_AES_CBC || in output_iv_copyback() 156 ctx->cipher_type == OTX_CPT_DES3_CBC) { in output_iv_copyback() 255 if ((ctx->cipher_type == OTX_CPT_AES_CBC || in create_ctx_hdr() 256 ctx->cipher_type == OTX_CPT_DES3_CBC) && in create_ctx_hdr() 271 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 275 if (ctx->cipher_type == OTX_CPT_AES_XTS) in create_ctx_hdr() 406 ctx->cipher_type = OTX_CPT_AES_XTS; in otx_cpt_skcipher_xts_setkey() 422 u32 keylen, u8 cipher_type) in cpt_des_setkey() argument 430 ctx->cipher_type = cipher_type; in cpt_des_setkey() 438 u32 keylen, u8 cipher_type) in cpt_aes_setkey() argument [all …]
|
| H A D | otx_cptvf_algs.h | 132 u8 cipher_type; member 177 u8 cipher_type; member
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.c | 121 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 125 if (ctx->cipher_type == AES_XTS) in create_ctx_hdr() 247 ctx->cipher_type = AES_XTS; in cvm_xts_setkey() 280 if (ctx->cipher_type == DES3_CBC) in cvm_validate_keylen() 290 u32 keylen, u8 cipher_type) in cvm_setkey() argument 295 ctx->cipher_type = cipher_type; in cvm_setkey()
|
| H A D | cptvf_algs.h | 27 enum cipher_type { enum 101 u8 cipher_type:4; member
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | smb2transport.c | 358 if ((server->cipher_type == SMB2_ENCRYPTION_AES256_CCM) || in generate_key() 359 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) { in generate_key() 455 cifs_dbg(VFS, "Cipher type %d\n", server->cipher_type); in generate_smb3signingkey() 460 if ((server->cipher_type == SMB2_ENCRYPTION_AES256_CCM) || in generate_smb3signingkey() 461 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) { in generate_smb3signingkey() 871 if ((server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) || in smb3_crypto_aead_allocate() 872 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in smb3_crypto_aead_allocate() 885 if ((server->cipher_type == SMB2_ENCRYPTION_AES128_GCM) || in smb3_crypto_aead_allocate() 886 (server->cipher_type == SMB2_ENCRYPTION_AES256_GCM)) in smb3_crypto_aead_allocate()
|
| H A D | cifs_ioctl.h | 62 __u16 cipher_type; member
|
| H A D | ioctl.c | 289 pkey_inf.cipher_type = in cifs_ioctl() 290 le16_to_cpu(tcon->ses->server->cipher_type); in cifs_ioctl()
|
| /OK3568_Linux_fs/kernel/net/tls/ |
| H A D | tls_main.c | 377 switch (crypto_info->cipher_type) { in do_tls_getsockopt_conf() 509 alt_crypto_info->cipher_type != crypto_info->cipher_type) { in do_tls_setsockopt_conf() 515 switch (crypto_info->cipher_type) { in do_tls_setsockopt_conf() 803 u16 version, cipher_type; in tls_get_info() local 824 cipher_type = ctx->prot_info.cipher_type; in tls_get_info() 825 if (cipher_type) { in tls_get_info() 826 err = nla_put_u16(skb, TLS_INFO_CIPHER, cipher_type); in tls_get_info()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/bcm/ |
| H A D | spu2.c | 59 static char *spu2_ciph_type_name(enum spu2_cipher_type cipher_type) in spu2_ciph_type_name() argument 61 if (cipher_type >= SPU2_CIPHER_TYPE_LAST) in spu2_ciph_type_name() 63 return spu2_cipher_type_names[cipher_type]; in spu2_ciph_type_name() 138 enum spu_cipher_type cipher_type, in spu2_cipher_xlate() argument 166 switch (cipher_type) { in spu2_cipher_xlate() 188 cipher_alg, cipher_type); in spu2_cipher_xlate() 611 enum spu2_cipher_type cipher_type, in spu2_fmd_ctrl0_write() argument 618 if ((cipher_type != SPU2_CIPHER_TYPE_NONE) && !is_inbound) in spu2_fmd_ctrl0_write() 621 ctrl0 |= ((u64)cipher_type << SPU2_CIPH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()
|
| H A D | spu.c | 33 u32 cipher_type; in spum_dump_msg_hdr() local 78 cipher_type = (cflags & CIPHER_TYPE) >> CIPHER_TYPE_SHIFT; in spum_dump_msg_hdr() 80 cipher_alg, cipher_mode, cipher_type); in spum_dump_msg_hdr() 150 switch (cipher_type) { in spum_dump_msg_hdr() 226 switch (cipher_type) { in spum_dump_msg_hdr()
|
| H A D | cipher.c | 326 cipher_parms.type = ctx->cipher_type; in handle_skcipher_req() 718 cipher_parms.type = ctx->cipher_type; in handle_ahash_req() 1305 cipher_parms.type = ctx->cipher_type; in handle_aead_req() 1366 hash_parms.type = (enum hash_type)ctx->cipher_type; in handle_aead_req() 1776 ctx->cipher_type = CIPHER_TYPE_DES; in des_setkey() 1790 ctx->cipher_type = CIPHER_TYPE_3DES; in threedes_setkey() 1805 ctx->cipher_type = CIPHER_TYPE_AES128; in aes_setkey() 1808 ctx->cipher_type = CIPHER_TYPE_AES192; in aes_setkey() 1811 ctx->cipher_type = CIPHER_TYPE_AES256; in aes_setkey() 1873 cipher_parms.type = ctx->cipher_type; in skcipher_setkey() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_skcipher.c | 173 enum flexi_cipher cipher_type; in nitrox_skcipher_setkey() local 177 cipher_type = flexi_cipher_type(name); in nitrox_skcipher_setkey() 178 if (unlikely(cipher_type == CIPHER_INVALID)) { in nitrox_skcipher_setkey() 187 flags->w0.cipher_type = cipher_type; in nitrox_skcipher_setkey()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| H A D | chtls_main.c | 496 int cipher_type; in do_chtls_setsockopt() local 523 switch (tmp_crypto_info.cipher_type) { in do_chtls_setsockopt() 540 cipher_type = TLS_CIPHER_AES_GCM_128; in do_chtls_setsockopt() 557 cipher_type = TLS_CIPHER_AES_GCM_256; in do_chtls_setsockopt() 564 rc = chtls_setkey(csk, keylen, optname, cipher_type); in do_chtls_setsockopt()
|
| H A D | chtls_hw.c | 253 int cipher_type) in chtls_key_info() argument 268 switch (cipher_type) { in chtls_key_info() 358 u32 optname, int cipher_type) in chtls_setkey() argument 423 ret = chtls_key_info(csk, kctx, keylen, optname, cipher_type); in chtls_setkey()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | tls.h | 67 __u16 cipher_type; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | tls.h | 67 __u16 cipher_type; member
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | tls.h | 67 __u16 cipher_type; member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | pkcs12.h | 93 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | pkcs12.h | 93 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | pkcs12.h | 93 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | pkcs12.h | 93 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | tls.h | 85 __u16 cipher_type; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
| H A D | tls.c | 95 switch (crypto_info->cipher_type) { in mlx5_ktls_create_key()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/crypto/ |
| H A D | tls.c | 244 nfp_net_cipher_supported(struct nfp_net *nn, u16 cipher_type, in nfp_net_cipher_supported() argument 249 switch (cipher_type) { in nfp_net_cipher_supported() 286 if (!nfp_net_cipher_supported(nn, crypto_info->cipher_type, direction)) in nfp_net_tls_add()
|