/optee_os-3.20.0/core/tee/ |
A D | tee_fs_key_manager.c | 166 return tee_fs_fek_crypt(uuid, TEE_MODE_ENCRYPT, buf, in tee_fs_generate_fek() 188 res = crypto_cipher_init(ctx, TEE_MODE_ENCRYPT, key, in aes_ecb() 193 res = crypto_cipher_update(ctx, TEE_MODE_ENCRYPT, true, in, in aes_ecb() 240 DMSG("%scrypt block #%u", (mode == TEE_MODE_ENCRYPT) ? "En" : "De", in tee_fs_crypt_block()
|
A D | tee_cryp_utl.c | 106 if (mode != TEE_MODE_ENCRYPT && mode != TEE_MODE_DECRYPT) in tee_do_cipher_update()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | des3_ecb.c | 49 if (mode == TEE_MODE_ENCRYPT) in mbed_des3_ecb_init() 54 if (mode == TEE_MODE_ENCRYPT) in mbed_des3_ecb_init()
|
A D | des_ecb.c | 47 if (mode == TEE_MODE_ENCRYPT) in mbed_des_ecb_init()
|
A D | des_cbc.c | 52 if (mode == TEE_MODE_ENCRYPT) { in mbed_des_cbc_init()
|
A D | aes_ecb.c | 49 if (mode == TEE_MODE_ENCRYPT) { in mbed_aes_ecb_init()
|
A D | des3_cbc.c | 53 if (mode == TEE_MODE_ENCRYPT) { in mbed_des3_cbc_init()
|
A D | aes_cbc.c | 53 if (mode == TEE_MODE_ENCRYPT) { in mbed_aes_cbc_init()
|
/optee_os-3.20.0/core/arch/arm/crypto/ |
A D | aes-gcm-ce.c | 143 if (mode == TEE_MODE_ENCRYPT) { in update_payload_2block() 197 if (mode == TEE_MODE_ENCRYPT) in internal_aes_gcm_update_payload_blocks() 223 if (mode == TEE_MODE_ENCRYPT) in internal_aes_gcm_update_payload_blocks()
|
/optee_os-3.20.0/core/crypto/ |
A D | cbc-mac.c | 53 return crypto_cipher_init(mc->cbc_ctx, TEE_MODE_ENCRYPT, key, len, in crypto_cbc_mac_init() 74 res = crypto_cipher_update(mc->cbc_ctx, TEE_MODE_ENCRYPT, in crypto_cbc_mac_update() 101 res = crypto_cipher_update(mc->cbc_ctx, TEE_MODE_ENCRYPT, in crypto_cbc_mac_update()
|
A D | aes-gcm.c | 98 if (mode == TEE_MODE_ENCRYPT) { in __gcm_init() 221 if (mode == TEE_MODE_ENCRYPT) in __gcm_update_payload() 239 if (mode == TEE_MODE_ENCRYPT) in __gcm_update_payload() 300 res = operation_final(state, enc_key, TEE_MODE_ENCRYPT, src, len, dst); in __gcm_enc_final() 379 res = __gcm_init(&state, enc_key, TEE_MODE_ENCRYPT, nonce, nonce_len, in internal_aes_gcm_enc()
|
A D | sm4-ecb.c | 42 if (mode == TEE_MODE_ENCRYPT) in sm4_ecb_init()
|
A D | sm4-cbc.c | 43 if (mode == TEE_MODE_ENCRYPT) in sm4_cbc_init()
|
A D | rng_fortuna.c | 112 return crypto_cipher_init(ctx, TEE_MODE_ENCRYPT, in cipher_init() 322 TEE_MODE_ENCRYPT, false, in generate_blocks() 467 res = crypto_cipher_init(state.ctx, TEE_MODE_ENCRYPT, in maybe_reseed()
|
A D | sm4-xts.c | 47 if (mode == TEE_MODE_ENCRYPT) in sm4_xts_init()
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | cipher.c | 22 mode = TEE_MODE_ENCRYPT; in do_init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | ccm.c | 135 if (mode == TEE_MODE_ENCRYPT) { in crypto_aes_ccm_update_payload() 162 res = crypto_aes_ccm_update_payload(aectx, TEE_MODE_ENCRYPT, src_data, in crypto_aes_ccm_enc_final()
|
A D | gcm.c | 116 if (mode == TEE_MODE_ENCRYPT) { in crypto_aes_gcm_update_payload() 151 res = crypto_aes_gcm_update_payload(aectx, TEE_MODE_ENCRYPT, src_data, in crypto_aes_gcm_enc_final()
|
A D | ctr.c | 43 if (mode == TEE_MODE_ENCRYPT) in ltc_ctr_init()
|
A D | cbc.c | 48 if (mode == TEE_MODE_ENCRYPT) in ltc_cbc_init()
|
A D | ecb.c | 46 if (mode == TEE_MODE_ENCRYPT) in ltc_ecb_init()
|
A D | xts.c | 57 if (mode == TEE_MODE_ENCRYPT) in ltc_xts_init()
|
/optee_os-3.20.0/lib/libutee/include/ |
A D | tee_api_types.h | 121 TEE_MODE_ENCRYPT = 0, enumerator
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/authenc/ |
A D | authenc.c | 94 .encrypt = (mode == TEE_MODE_ENCRYPT), in authenc_init() 172 .encrypt = (mode == TEE_MODE_ENCRYPT), in authenc_update_payload()
|
/optee_os-3.20.0/core/drivers/ |
A D | stm32mp15_huk.c | 105 ret = crypto_authenc_init(ctx, TEE_MODE_ENCRYPT, key, key_len, nonce, in aes_gcm_encrypt_uid()
|