| /linux/arch/x86/mm/ |
| H A D | mem_encrypt_boot.S | 3 * AMD Memory Encryption Support 26 * RCX - virtual address of the encryption workarea, including: 28 * - encryption routine page (PAGE_SIZE) 30 * R8 - physical address of the pagetables to use for encryption 39 addq $PAGE_SIZE, %rax /* Workarea encryption routine */ 46 /* Copy encryption routine into the workarea */ 47 movq %rax, %rdi /* Workarea encryption routine */ 48 leaq __enc_copy(%rip), %rsi /* Encryption routine */ 49 movq $(.L__enc_copy_end - __enc_copy), %rcx /* Encryption routine length */ 55 movq %r8, %rdx /* Pagetables used for encryption */ [all …]
|
| H A D | mem_encrypt_amd.c | 3 * AMD Memory Encryption Support 49 /* Buffer used for early in-place encryption by BSP, no locking needed */ 83 * This routine does not change the underlying encryption setting of the 162 /* Use early_pmd_flags but remove the encryption mask */ in __sme_early_map_unmap_mem() 290 * to invalidate the memory before encryption attribute is cleared. in amd_enc_status_change_prepare() 353 /* Change the page encryption mask. */ in set_pte_enc_mask() 424 * the number of pages to set/clear encryption bit is smaller in early_set_memory_enc_dec() 486 /* Update the protection map with memory encryption mask */ in sme_early_init() 553 * If the unused memory range was mapped decrypted, change the encryption in mem_encrypt_free_decrypted_mem() 555 * re-encryption on the same condition used for the decryption in in mem_encrypt_free_decrypted_mem()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-crypt.rst | 5 Device-Mapper's "crypt" target provides transparent encryption of block devices 17 Encryption cipher, encryption mode and Initial Vector (IV) generator. 52 Key used for encryption. It is encoded either as a hexadecimal number 66 The encryption key size in bytes. The kernel key payload size must match 112 Perform encryption using the same cpu that IO was submitted on. 113 The default is to use an unbound workqueue so that encryption work 122 Disable offloading writes to a separate thread after encryption. 124 encryption threads to a single thread degrades performance 144 For Authenticated Encryption with Additional Data (AEAD) 155 Use <bytes> as the encryption unit instead of 512 bytes sectors. [all …]
|
| /linux/fs/crypto/ |
| H A D | policy.c | 3 * Encryption policy functions for per-file encryption support. 23 * fscrypt_policies_equal() - check whether two encryption policies are the same 66 * Return %true if the given combination of encryption modes is supported for v1 67 * (and later) encryption policies. 69 * Do *not* add anything new here, since v1 encryption policies are deprecated. 134 * IV_INO_LBLK_* with other encryption modes arises. in supported_iv_ino_lblk_policy() 182 * IV_INO_LBLK_32 isn't compatible with inline encryption when in supported_iv_ino_lblk_policy() 186 * to support inline encryption hardware that is limited to 32-bit DUNs, in supported_iv_ino_lblk_policy() 206 "Unsupported encryption modes (contents %d, filenames %d)", in fscrypt_supported_v1_policy() 214 fscrypt_warn(inode, "Unsupported encryption flags (0x%02x)", in fscrypt_supported_v1_policy() [all …]
|
| H A D | fscrypt_private.h | 27 * absolute minimum, which applies when only 128-bit encryption is used. 90 * fscrypt_context - the encryption context of an inode 94 * fields from the fscrypt_policy, in order to identify the encryption algorithm 163 /* Return the contents encryption mode of a valid encryption policy */ 176 /* Return the filenames encryption mode of a valid encryption policy */ 189 /* Return the flags (FSCRYPT_POLICY_FLAG*) of a valid encryption policy */ 232 * struct fscrypt_prepared_key - a key prepared for actual encryption/decryption 255 * fscrypt_inode_info - the "encryption key" for an inode 263 /* The key in a form prepared for actual encryption/decryption */ 273 * log2 of the data unit size (granularity of contents encryption) of [all …]
|
| H A D | keysetup.c | 3 * Key setup facility for FS encryption support. 92 …WARN_ONCE(1, "fscrypt: filesystem tried to load encryption info for inode %llu, which is not encry… in select_encryption_mode() 97 /* Create a symmetric cipher object for the given encryption mode and key */ 147 * raw key, encryption mode (@ci->ci_mode), predicate indicating which style of 177 /* Given a per-file encryption key, set up the file's crypto transform object */ 370 * DIRECT_KEY: instead of deriving per-file encryption keys, the in fscrypt_setup_v2_file_key() 374 * encryption key. This ensures that the master key is in fscrypt_setup_v2_file_key() 382 * IV_INO_LBLK_64: encryption keys are derived from (master_key, in fscrypt_setup_v2_file_key() 385 * encryption hardware compliant with the UFS standard. in fscrypt_setup_v2_file_key() 414 * encryption settings which a particular file will use (@ci). [all …]
|
| /linux/drivers/crypto/ |
| H A D | sa2ul.h | 72 #define SA_ENG_ID_EM2 3 /* Encryption/Decryption enginefor pass 2 */ 113 #define SA_CTX_ENC_TYPE1_SZ 64 /* Encryption SC with Key only */ 114 #define SA_CTX_ENC_TYPE2_SZ 96 /* Encryption SC with Key and Aux1 */ 126 * Bit 2-3: Fetch Encryption/Air Ciphering Bytes 231 * @submode: Encryption submodes 232 * @enc_size: Size of first pass encryption size 233 * @enc_size2: Size of second pass encryption size 234 * @enc_offset: Encryption payload offset in the packet 235 * @enc_iv: Encryption initialization vector for pass2 236 * @enc_iv2: Encryption initialization vector for pass2 [all …]
|
| /linux/include/linux/ |
| H A D | blk-crypto-profile.h | 15 * struct blk_crypto_ll_ops - functions to control inline encryption hardware 17 * Low-level operations for controlling inline encryption hardware. This 19 * encryption. All functions may sleep, are serialized by profile->lock, and 25 * @keyslot_program: Program a key into the inline encryption hardware. 27 * Program @key into the specified @slot in the inline encryption 42 * @keyslot_evict: Evict a key from the inline encryption hardware. 119 * struct blk_crypto_profile - inline encryption profile for a device 121 * This struct contains a storage device's inline encryption capabilities (e.g. 123 * inline encryption hardware (e.g. programming and evicting keys), and optional 131 * @ll_ops: Driver-provided functions to control the inline encryption
|
| H A D | fscrypt.h | 3 * fscrypt.h: declarations for per-file encryption 5 * Filesystems that implement per-file encryption must include this header 23 * This is needed to ensure that all contents encryption modes will work, as 29 * compression), then it will need to pad to this alignment before encryption. 88 * If set, then fs/crypto/ will allow the use of encryption settings 92 * if the filesystem wants to support inline encryption hardware that is 175 * encryption without the possibility of files becoming unreadable. 196 * external journal devices), and wants to support inline encryption, 249 * contents encryption 265 * plaintext alias as a result of the encryption key being added, [all …]
|
| /linux/Documentation/crypto/ |
| H A D | krb5.rst | 17 - Encryption Mode. 24 This API provides Kerberos 5-style cryptography for key derivation, encryption 83 type for encryption and checksumming respectively. They hold 93 encryption mode. 97 * ``block_len``, ``conf_len`` and ``cksum_len`` are the encryption block 99 used in encryption mode, but only the checksum length is used in checksum 109 Once the application has selected an encryption type, the keys that will be 150 (checksum-only or full encryption). 195 crypto object, an AEAD template for encryption and a synchronous hash for 199 Encryption Mode [all …]
|
| H A D | descore-readme.rst | 5 Fast & Portable DES encryption & decryption 15 des - fast & portable DES encryption & decryption. 41 1. Highest possible encryption/decryption PERFORMANCE. 62 - 30us per encryption (options: 64k tables, no IP/FP) 63 - 33us per encryption (options: 64k tables, FIPS standard bit ordering) 64 - 45us per encryption (options: 2k tables, no IP/FP) 65 - 48us per encryption (options: 2k tables, FIPS standard bit ordering) 68 this has the quickest encryption/decryption routines i've seen. 80 - 53us per encryption (uses 2k of tables) 85 encryption/decryption is still slower on the sparc and 68000. [all …]
|
| /linux/crypto/ |
| H A D | Kconfig | 244 profile. This is required for Kerberos 5-style encryption, used by 358 tristate "AES (Advanced Encryption Standard)" 408 ARIA is a standard encryption algorithm of the Republic of Korea. 467 CAST6 (CAST-256) encryption algorithm (RFC2612) 474 DES (Data Encryption Standard)(FIPS 46-2, ISO/IEC 18033-3) and 501 national standard encryption algorithm of the Republic of Korea. 553 TEA (Tiny Encryption Algorithm) cipher algorithms 555 Tiny Encryption Algorithm is a simple cipher that uses 559 Xtendend Tiny Encryption Algorithm is a modification to 563 Xtendend Encryption Tiny Algorithm is a mis-implementation [all …]
|
| /linux/net/sunrpc/ |
| H A D | Kconfig | |
| /linux/Documentation/virt/kvm/x86/ |
| H A D | amd-memory-encryption.rst | 31 Bit[23] 1 = memory encryption can be enabled 32 0 = memory encryption can not be enabled 35 Bit[0] 1 = memory encryption can be enabled 36 0 = memory encryption can not be enabled 45 SEV hardware uses ASIDs to associate a memory encryption key with a VM. 132 The KVM_SEV_LAUNCH_START command is used for creating the memory encryption 133 context. To create the encryption context, user must provide a guest policy, 336 outgoing guest encryption context. 367 outgoing guest memory region with the encryption context creating using 395 issued by the hypervisor to delete the encryption context. [all …]
|
| /linux/include/crypto/ |
| H A D | aead.h | 3 * AEAD: Authenticated Encryption with Associated Data 18 * DOC: Authenticated Encryption With Associated Data (AEAD) Cipher API 23 * The most prominent examples for this type of encryption is GCM and CCM. 35 * associated data memory location before performing the encryption or 50 * during encryption (resp. decryption). The authentication tag is generated 51 * during the encryption operation and appended to the ciphertext. During 55 * In-place encryption/decryption is enabled by using the same scatterlist 115 * during encryption or the size of the authentication tag to be 316 * data returned by the encryption or decryption operation 429 * IMPORTANT NOTE The encryption operation creates the authentication data / [all …]
|
| /linux/drivers/crypto/aspeed/ |
| H A D | Kconfig | 7 throughput of hash data digest, encryption and decryption. 45 Supports AES/DES symmetric-key encryption and decryption 56 Supports 256 bits to 4096 bits RSA encryption/decryption
|
| /linux/net/tipc/ |
| H A D | crypto.h | 73 * TIPC encryption message format: 97 * Ver : = 7 i.e. TIPC encryption message version 100 * "known" or not at the message encryption 101 * TX : TX key used for the message encryption 111 * part of the nonce used for the message encryption/decryption 115 * generated by the message encryption
|
| /linux/Documentation/virt/kvm/s390/ |
| H A D | s390-pv-dump.rst | 21 can be requested. The encryption is based on the Customer 50 metadata comprised of the encryption tweaks and status flags. The 52 time of the export does not matter as no re-encryption is
|
| /linux/Documentation/security/keys/ |
| H A D | ecryptfs.rst | 6 file using a randomly generated File Encryption Key (FEK). 8 Each FEK is in turn encrypted with a File Encryption Key Encryption Key (FEKEK)
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm-security.rst | 29 encryption`_ schemes. The next phase of research seems to be hacking 74 encryption to prevent the loss of secret information. 134 HMAC and encryption keys are usually derived from the shared 144 session may also be reused for the in-kernel HMAC, encryption and 151 protect the integrity. Additionally, we use parameter encryption to 214 .. _attack against TPM based Linux disk encryption: https://www.secura.com/blog/tpm-sniffing-attack…
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_crypto.c | 99 * functions, but the CBC-CTS encryption and HMAC are replaced 103 * %GSS_S_COMPLETE: Encryption successful in krb5_encrypt() 104 * %GSS_S_FAILURE: Encryption failed in krb5_encrypt()
|
| /linux/arch/x86/boot/compressed/ |
| H A D | mem_encrypt.S | 3 * AMD Memory Encryption Support 32 * Pagetable bit position used to indicate encryption 45 andl $0x3f, %eax /* Return the encryption bit location */ 245 * time kept in the %eax and %ebx registers. Since encryption is always active 280 /* Enable paging to see if encryption is active */
|
| /linux/drivers/scsi/ |
| H A D | sense_codes.h | 365 SENSE_CODE(0x2A0D, "Data encryption capabilities changed") 367 SENSE_CODE(0x2A11, "Data encryption parameters changed by another i_t nexus") 368 SENSE_CODE(0x2A12, "Data encryption parameters changed by vendor specific event") 369 SENSE_CODE(0x2A13, "Data encryption key instance counter has changed") 855 SENSE_CODE(0x7403, "Incorrect data encryption key") 859 SENSE_CODE(0x7407, "Encryption parameters not useable") 861 SENSE_CODE(0x7409, "Encryption mode mismatch on read") 863 SENSE_CODE(0x740B, "Incorrect Encryption parameters") 865 SENSE_CODE(0x740D, "Encryption algorithm disabled") 869 SENSE_CODE(0x7421, "Data Encryption configuration prevented") [all …]
|
| /linux/arch/x86/boot/startup/ |
| H A D | map_kernel.c | 44 * Clear the memory encryption mask from the .bss..decrypted section. in sme_postprocess_startup() 46 * there is no need to zero it after changing the memory encryption in sme_postprocess_startup() 72 * Return the SME encryption mask (if SME is active) to be used as a in sme_postprocess_startup() 121 /* Include the SME encryption mask in the fixup value */ in __startup_64()
|
| /linux/drivers/crypto/nx/ |
| H A D | Kconfig | 4 tristate "Encryption acceleration support on pSeries platform" 10 Support for PowerPC Nest (NX) encryption acceleration. This
|