/optee_os/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 | 105 if (mode != TEE_MODE_ENCRYPT && mode != TEE_MODE_DECRYPT) in tee_do_cipher_update()
|
/optee_os/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()
|
/optee_os/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/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 | 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-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()
|
/optee_os/core/lib/libtomcrypt/ |
A D | ccm.c | 130 if (mode == TEE_MODE_ENCRYPT) { in crypto_aes_ccm_update_payload() 157 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 | xts.c | 57 if (mode == TEE_MODE_ENCRYPT) in ltc_xts_init()
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | cipher.c | 22 mode = TEE_MODE_ENCRYPT; in do_init()
|
/optee_os/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/out/arm/export-ta_arm32/host_include/ |
A D | tee_api_types.h | 121 TEE_MODE_ENCRYPT = 0, enumerator
|
/optee_os/out/arm/export-ta_arm64/host_include/ |
A D | tee_api_types.h | 121 TEE_MODE_ENCRYPT = 0, enumerator
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | tee_api_types.h | 121 TEE_MODE_ENCRYPT = 0, enumerator
|
/optee_os/lib/libutee/include/ |
A D | tee_api_types.h | 121 TEE_MODE_ENCRYPT = 0, enumerator
|
/optee_os/out/arm/export-ta_arm32/include/ |
A D | tee_api_types.h | 121 TEE_MODE_ENCRYPT = 0, enumerator
|
/optee_os/ta/trusted_keys/ |
A D | entry.c | 184 if (mode == TEE_MODE_ENCRYPT) { in huk_crypt() 238 res = huk_crypt(TEE_MODE_ENCRYPT, in, in_sz, out, &out_sz); in seal_trusted_key()
|