/optee_os/lib/libutee/ |
A D | tee_api_operations.c | 44 if (!operation) in TEE_AllocateOperation() 348 *operation = op; in TEE_AllocateOperation() 387 TEE_Free(operation); in TEE_FreeOperation() 1005 operation->block_size) * operation->block_size; in TEE_CipherUpdate() 1093 if (((operation->buffer_offs + srcLen) % operation->block_size) in TEE_CipherDoFinal() 1132 res = _utee_cipher_final(operation->state, operation->buffer, in TEE_CipherDoFinal() 1644 if (!operation->key1) in TEE_AsymmetricEncrypt() 1681 if (!operation->key1) in TEE_AsymmetricDecrypt() 1718 if (!operation->key1) in TEE_AsymmetricSignDigest() 1755 if (!operation->key1) in TEE_AsymmetricVerifyDigest() [all …]
|
/optee_os/out/arm/export-ta_arm64/host_include/ |
A D | tee_api.h | 209 void TEE_FreeOperation(TEE_OperationHandle operation); 211 void TEE_GetOperationInfo(TEE_OperationHandle operation, 218 void TEE_ResetOperation(TEE_OperationHandle operation); 220 TEE_Result TEE_SetOperationKey(TEE_OperationHandle operation, 233 void TEE_DigestUpdate(TEE_OperationHandle operation, 247 TEE_Result TEE_CipherDoFinal(TEE_OperationHandle operation, 259 TEE_Result TEE_MACComputeFinal(TEE_OperationHandle operation, 263 TEE_Result TEE_MACCompareFinal(TEE_OperationHandle operation, 279 TEE_Result TEE_AEEncryptFinal(TEE_OperationHandle operation, 284 TEE_Result TEE_AEDecryptFinal(TEE_OperationHandle operation, [all …]
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | tee_api.h | 209 void TEE_FreeOperation(TEE_OperationHandle operation); 211 void TEE_GetOperationInfo(TEE_OperationHandle operation, 218 void TEE_ResetOperation(TEE_OperationHandle operation); 220 TEE_Result TEE_SetOperationKey(TEE_OperationHandle operation, 233 void TEE_DigestUpdate(TEE_OperationHandle operation, 247 TEE_Result TEE_CipherDoFinal(TEE_OperationHandle operation, 259 TEE_Result TEE_MACComputeFinal(TEE_OperationHandle operation, 263 TEE_Result TEE_MACCompareFinal(TEE_OperationHandle operation, 279 TEE_Result TEE_AEEncryptFinal(TEE_OperationHandle operation, 284 TEE_Result TEE_AEDecryptFinal(TEE_OperationHandle operation, [all …]
|
/optee_os/lib/libutee/include/ |
A D | tee_api.h | 209 void TEE_FreeOperation(TEE_OperationHandle operation); 211 void TEE_GetOperationInfo(TEE_OperationHandle operation, 218 void TEE_ResetOperation(TEE_OperationHandle operation); 220 TEE_Result TEE_SetOperationKey(TEE_OperationHandle operation, 233 void TEE_DigestUpdate(TEE_OperationHandle operation, 247 TEE_Result TEE_CipherDoFinal(TEE_OperationHandle operation, 259 TEE_Result TEE_MACComputeFinal(TEE_OperationHandle operation, 263 TEE_Result TEE_MACCompareFinal(TEE_OperationHandle operation, 279 TEE_Result TEE_AEEncryptFinal(TEE_OperationHandle operation, 284 TEE_Result TEE_AEDecryptFinal(TEE_OperationHandle operation, [all …]
|
/optee_os/out/arm/export-ta_arm32/host_include/ |
A D | tee_api.h | 209 void TEE_FreeOperation(TEE_OperationHandle operation); 211 void TEE_GetOperationInfo(TEE_OperationHandle operation, 218 void TEE_ResetOperation(TEE_OperationHandle operation); 220 TEE_Result TEE_SetOperationKey(TEE_OperationHandle operation, 233 void TEE_DigestUpdate(TEE_OperationHandle operation, 247 TEE_Result TEE_CipherDoFinal(TEE_OperationHandle operation, 259 TEE_Result TEE_MACComputeFinal(TEE_OperationHandle operation, 263 TEE_Result TEE_MACCompareFinal(TEE_OperationHandle operation, 279 TEE_Result TEE_AEEncryptFinal(TEE_OperationHandle operation, 284 TEE_Result TEE_AEDecryptFinal(TEE_OperationHandle operation, [all …]
|
/optee_os/out/arm/export-ta_arm32/include/ |
A D | tee_api.h | 209 void TEE_FreeOperation(TEE_OperationHandle operation); 211 void TEE_GetOperationInfo(TEE_OperationHandle operation, 218 void TEE_ResetOperation(TEE_OperationHandle operation); 220 TEE_Result TEE_SetOperationKey(TEE_OperationHandle operation, 233 void TEE_DigestUpdate(TEE_OperationHandle operation, 247 TEE_Result TEE_CipherDoFinal(TEE_OperationHandle operation, 259 TEE_Result TEE_MACComputeFinal(TEE_OperationHandle operation, 263 TEE_Result TEE_MACCompareFinal(TEE_OperationHandle operation, 279 TEE_Result TEE_AEEncryptFinal(TEE_OperationHandle operation, 284 TEE_Result TEE_AEDecryptFinal(TEE_OperationHandle operation, [all …]
|
/optee_os/core/drivers/ |
A D | ls_i2c.c | 240 struct i2c_operation *operation, in i2c_read() argument 254 if (operation->length_in_bytes > 1) { in i2c_read() 262 for (n = 0; n < operation->length_in_bytes; n++) { in i2c_read() 266 if (n == (operation->length_in_bytes - 2)) { in i2c_read() 297 struct i2c_operation *operation) in i2c_write() argument 310 for (n = 0; n < operation->length_in_bytes; n++) { in i2c_write() 377 struct i2c_operation *operation = NULL; in i2c_bus_xfer() local 389 for (n = 0, operation = i2c_operation; in i2c_bus_xfer() 390 n < operation_count; n++, operation++) { in i2c_bus_xfer() 403 if (operation->flags & I2C_FLAG_READ) in i2c_bus_xfer() [all …]
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | cipher_wrap.c | 139 static int aes_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_ecb_wrap() argument 155 static int aes_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_cfb128_wrap() argument 184 static int aes_crypt_xts_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_xts_wrap() argument 193 switch( operation ) in aes_crypt_xts_wrap() 1059 static int aria_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_ecb_wrap() argument 1062 (void) operation; in aria_crypt_ecb_wrap() 1068 static int aria_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_cbc_wrap() argument 1435 static int des_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in des_crypt_ecb_wrap() argument 1438 ((void) operation); in des_crypt_ecb_wrap() 1442 static int des3_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in des3_crypt_ecb_wrap() argument [all …]
|
A D | cipher.c | 224 dst->operation = src->operation; in mbedtls_cipher_clone() 377 ctx->operation = operation; in mbedtls_cipher_setkey() 389 ctx->operation = operation; in mbedtls_cipher_setkey() 394 if( MBEDTLS_ENCRYPT == operation || in mbedtls_cipher_setkey() 403 if( MBEDTLS_DECRYPT == operation ) in mbedtls_cipher_setkey() 620 ( ctx->operation == MBEDTLS_ENCRYPT && in mbedtls_cipher_update() 1005 if( MBEDTLS_ENCRYPT == ctx->operation ) in mbedtls_cipher_finish() 1040 if( MBEDTLS_DECRYPT == ctx->operation ) in mbedtls_cipher_finish() 1127 if( MBEDTLS_ENCRYPT != ctx->operation ) in mbedtls_cipher_write_tag() 1172 if( MBEDTLS_DECRYPT != ctx->operation ) in mbedtls_cipher_check_tag() [all …]
|
/optee_os/core/drivers/crypto/caam/ |
A D | caam_desc.c | 116 uint32_t operation = pre_op; in caam_desc_add_dmaobj() local 121 operation |= CMD_SGT; in caam_desc_add_dmaobj() 155 operation |= op_length; in caam_desc_add_dmaobj() 157 operation |= op_ext_length; in caam_desc_add_dmaobj() 159 caam_desc_add_word(desc, operation); in caam_desc_add_dmaobj()
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | cipher.h | 321 mbedtls_operation_t operation; member 648 return ctx->operation; in mbedtls_cipher_get_operation() 670 const mbedtls_operation_t operation );
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | cipher.h | 321 mbedtls_operation_t operation; member 648 return ctx->operation; in mbedtls_cipher_get_operation() 670 const mbedtls_operation_t operation );
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | cipher.h | 321 mbedtls_operation_t operation; member 648 return ctx->operation; in mbedtls_cipher_get_operation() 670 const mbedtls_operation_t operation );
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | cipher.h | 321 mbedtls_operation_t operation; member 648 return ctx->operation; in mbedtls_cipher_get_operation() 670 const mbedtls_operation_t operation );
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | cipher.h | 321 mbedtls_operation_t operation; member 648 return ctx->operation; in mbedtls_cipher_get_operation() 670 const mbedtls_operation_t operation );
|
/optee_os/core/drivers/crypto/caam/acipher/ |
A D | caam_rsa.c | 52 uint32_t operation); 54 uint32_t operation); 1159 uint32_t operation) in do_caam_encrypt() argument 1225 caam_desc_add_word(desc, operation); in do_caam_encrypt() 1262 uint32_t operation) in do_caam_decrypt() argument 1305 if (operation == RSA_DECRYPT(PKCS_V1_5)) { in do_caam_decrypt() 1416 caam_desc_add_word(desc, operation | PROT_RSA_DEC_KEYFORM(key.format)); in do_caam_decrypt() 1418 if (operation == RSA_DECRYPT(PKCS_V1_5)) { in do_caam_decrypt() 1450 if (operation == RSA_DECRYPT(NO) && in do_caam_decrypt() 1454 if (operation == RSA_DECRYPT(PKCS_V1_5)) { in do_caam_decrypt()
|
/optee_os/core/include/drivers/ |
A D | ls_i2c.h | 169 struct i2c_operation *operation; member
|
/optee_os/ta/pkcs11/src/ |
A D | processing.c | 812 enum processing_func operation = PKCS11_FUNCTION_UNKNOWN; in entry_processing_key() local 838 operation = PKCS11_FUNCTION_DECRYPT; in entry_processing_key() 850 operation = PKCS11_FUNCTION_ENCRYPT; in entry_processing_key() 961 rc = init_symm_operation(session, operation, proc_params, in entry_processing_key()
|
/optee_os/core/lib/libfdt/ |
A D | README.license | 7 dtc does not incorporate or rely on libfdt for its operation, nor vice
|
/optee_os/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 59 performing a single private-key operation. Found and reported by 64 corresponding private-key operation. Found and reported by Leila Batina, 283 * Fix an incorrect error code if an RSA private operation glitched. 429 agreement and subsequent key derivation operation to be used as a key 775 operation. The overread only happens with cryptographically low 1628 non-blocking operation of the TLS server stack. 1774 * Add an option in the Makefile to support ar utilities where the operation 3289 * Speedup of ECP multiplication operation 4297 * Added AES-CFB mode of operation, contributed by chmike
|