Home
last modified time | relevance | path

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

/system/keymaster/
Daes_operation.cpp257 const EVP_CIPHER* cipher; in InitializeCipher() local
262 cipher = EVP_aes_128_ecb(); in InitializeCipher()
265 cipher = EVP_aes_192_ecb(); in InitializeCipher()
268 cipher = EVP_aes_256_ecb(); in InitializeCipher()
277 cipher = EVP_aes_128_cbc(); in InitializeCipher()
280 cipher = EVP_aes_192_cbc(); in InitializeCipher()
283 cipher = EVP_aes_256_cbc(); in InitializeCipher()
292 cipher = EVP_aes_128_ctr(); in InitializeCipher()
295 cipher = EVP_aes_192_ctr(); in InitializeCipher()
298 cipher = EVP_aes_256_ctr(); in InitializeCipher()
[all …]
/system/extras/verity/
DUtils.java154 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey() local
155 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()
158 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()
/system/tpm/attestation/common/
Dcrypto_utility_impl.cc333 const EVP_CIPHER* cipher = EVP_aes_256_cbc(); in AesEncrypt() local
336 if (!EVP_EncryptInit_ex(&encryption_context, cipher, nullptr, key_buffer, in AesEncrypt()
383 const EVP_CIPHER* cipher = EVP_aes_256_cbc(); in AesDecrypt() local
386 if (!EVP_DecryptInit_ex(&decryption_context, cipher, nullptr, key_buffer, in AesDecrypt()
/system/connectivity/shill/wifi/
Dwifi_service.cc902 Service::CryptoAlgorithm cipher = Service::kCryptoAes; in ComputeCipher8021x() local
914 cipher = std::min(cipher, endpoint_cipher); in ComputeCipher8021x()
916 return cipher; in ComputeCipher8021x()
/system/tpm/trunks/generator/
Draw_structures_fixed.txt3058 the object type for a symmetric block cipher
7900 SET (1): a symmetric block cipher
7901 CLEAR (0): not a symmetric block cipher
10077 A TPMI_ALG_SYM_MODE is an interface type of all the TCG-defined block-cipher modes of operation.
10094 XOR last cipher text block with last plaintext to create IV for next block
10105 indefinite chaining using previous cipher text as IV
10639 This structure is used for passing an initial value for a symmetric block cipher to or from the TPM…
10640 size is set to be the largest block size of any implemented symmetric cipher implemented on the TPM.
12607 This union allows additional parameters to be added for a symmetric cipher. Currently, no additional
12685 This structure is used when different symmetric block cipher (not XOR) algorithms may be selected.
[all …]
Draw_structures.txt3064 the object type for a symmetric block cipher
7872 SET (1): a symmetric block cipher
7873 CLEAR (0): not a symmetric block cipher
10049 A TPMI_ALG_SYM_MODE is an interface type of all the TCG-defined block-cipher modes of operation.
10066 XOR last cipher text block with last plaintext to create IV for next block
10077 indefinite chaining using previous cipher text as IV
10611 This structure is used for passing an initial value for a symmetric block cipher to or from the TPM…
10612 size is set to be the largest block size of any implemented symmetric cipher implemented on the TPM.
12595 This union allows additional parameters to be added for a symmetric cipher. Currently, no additional
12673 This structure is used when different symmetric block cipher (not XOR) algorithms may be selected.
[all …]
Draw_commands_fixed.txt3520 If symmetric specifies a block cipher, then TPM_ALG_CFB is the only allowed value for the mode fiel…
3581 c) tpmKey references a symmetric block cipher or a keyedHash object and encryptedSalt contains a
3792 symmetric specifies a block cipher but the mode is not
3983 // If 'symmetric' is a symmetric block cipher (not TPM_ALG_NULL or TPM_ALG_XOR)
4462 for an asymmetric key; attempt to create a symmetric cipher key that
8758 cipher text to be decrypted
9998 ivOut will be the size of a cipher block and not the size of the last encrypted block.
10016 ivOut will be the size of a cipher block and not the size of the last encrypted block.
10038 ivOut will be the size of a cipher block and not the size of the last encrypted block.
10068 keyHandle shall reference a symmetric cipher object (TPM_RC_KEY).
[all …]
Draw_commands.txt3520 If symmetric specifies a block cipher, then TPM_ALG_CFB is the only allowed value for the mode fiel…
3581 c) tpmKey references a symmetric block cipher or a keyedHash object and encryptedSalt contains a
3790 symmetric specifies a block cipher but the mode is not
3981 // If 'symmetric' is a symmetric block cipher (not TPM_ALG_NULL or TPM_ALG_XOR)
4460 for an asymmetric key; attempt to create a symmetric cipher key that
8747 cipher text to be decrypted
9987 ivOut will be the size of a cipher block and not the size of the last encrypted block.
10005 ivOut will be the size of a cipher block and not the size of the last encrypted block.
10027 ivOut will be the size of a cipher block and not the size of the last encrypted block.
10057 keyHandle shall reference a symmetric cipher object (TPM_RC_KEY).
[all …]
/system/connectivity/shill/doc/
Dservice-api.txt733 cipher algorithm for encrypted packets. See the
734 "--cipher" option in the OpenVPN documentation.