Home
last modified time | relevance | path

Searched refs:last_block (Results 1 – 25 of 26) sorted by relevance

12

/optee_os/core/crypto/
A Daes-cts.c94 TEE_OperationMode mode, bool last_block, in cbc_cts_update() argument
104 if (!last_block) in cbc_cts_update()
106 mode, last_block, data, len, dst); in cbc_cts_update()
189 static TEE_Result cts_update(struct crypto_cipher_ctx *ctx, bool last_block, in cts_update() argument
194 return cbc_cts_update(c->cbc, c->ecb, c->mode, last_block, data, len, in cts_update()
A Dsm4-ecb.c51 bool last_block __unused, in sm4_ecb_update()
A Dsm4-ctr.c51 bool last_block __unused, in sm4_ctr_update()
A Dsm4-cbc.c54 bool last_block __unused, in sm4_cbc_update()
A Dcrypto.c190 bool last_block, const uint8_t *data, in crypto_cipher_update() argument
193 return cipher_ops(ctx)->update(ctx, last_block, data, len, dst); in crypto_cipher_update()
/optee_os/core/tee/
A Dtee_cryp_utl.c99 TEE_OperationMode mode, bool last_block, in tee_do_cipher_update() argument
116 if (!last_block && algo != TEE_ALG_AES_CTR) in tee_do_cipher_update()
151 return crypto_cipher_update(ctx, mode, last_block, data, len, dst); in tee_do_cipher_update()
/optee_os/lib/libmbedtls/mbedtls/library/
A Dcmac.c169 const unsigned char *last_block, in cmac_pad() argument
177 padded_block[j] = last_block[j]; in cmac_pad()
306 unsigned char *state, *last_block; in mbedtls_cipher_cmac_finish() local
325 last_block = cmac_ctx->unprocessed_block; in mbedtls_cipher_cmac_finish()
330 cmac_pad( M_last, block_size, last_block, cmac_ctx->unprocessed_len ); in mbedtls_cipher_cmac_finish()
336 cmac_xor_block( M_last, last_block, K1, block_size ); in mbedtls_cipher_cmac_finish()
/optee_os/core/drivers/crypto/crypto_api/cipher/
A Dcipher.c118 static TEE_Result cipher_update(struct crypto_cipher_ctx *ctx, bool last_block, in cipher_update() argument
137 .last = last_block, in cipher_update()
/optee_os/core/include/tee/
A Dtee_cryp_utl.h18 TEE_OperationMode mode, bool last_block,
/optee_os/core/drivers/crypto/stm32/
A Dstm32_cryp.h60 TEE_Result stm32_cryp_update(struct stm32_cryp_context *ctx, bool last_block,
A Dstm32_cryp.c1104 TEE_Result stm32_cryp_update(struct stm32_cryp_context *ctx, bool last_block, in stm32_cryp_update() argument
1120 if (last_block && algo_mode_is_ecb_cbc(ctx->cr) && in stm32_cryp_update()
1230 if (!last_block) in stm32_cryp_update()
1235 if (last_block || res) in stm32_cryp_update()
/optee_os/lib/libmbedtls/core/
A Ddes_ecb.c59 bool last_block __unused, in mbed_des_ecb_update()
A Ddes3_ecb.c67 bool last_block __unused, in mbed_des3_ecb_update()
A Ddes_cbc.c67 bool last_block __unused, in mbed_des_cbc_update()
A Daes_ecb.c66 bool last_block __unused, in mbed_aes_ecb_update()
A Ddes3_cbc.c74 bool last_block __unused, in mbed_des3_cbc_update()
A Daes_cbc.c70 bool last_block __unused, in mbed_aes_cbc_update()
A Daes_ctr.c61 bool last_block __unused, in mbed_aes_ctr_update()
/optee_os/core/lib/libtomcrypt/
A Dctr.c56 bool last_block __unused, in ltc_ctr_update()
A Dxts.c71 bool last_block __unused, in ltc_xts_update()
A Dcbc.c63 bool last_block __unused, in ltc_cbc_update()
A Decb.c61 bool last_block __unused, in ltc_ecb_update()
/optee_os/core/drivers/crypto/se050/core/
A Dctr.c82 bool last_block __unused, in se050_aes_ctr_update()
/optee_os/core/include/crypto/
A Dcrypto.h44 bool last_block, const uint8_t *data,
A Dcrypto_impl.h159 TEE_Result (*update)(struct crypto_cipher_ctx *ctx, bool last_block,

Completed in 28 milliseconds

12