Home
last modified time | relevance | path

Searched refs:ciphertext_len (Results 1 – 3 of 3) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dchachapoly.c57 uint32_t partial_block_len = (uint32_t) (ctx->ciphertext_len % 16U); in chachapoly_pad_ciphertext()
75 ctx->ciphertext_len = 0U; in mbedtls_chachapoly_init()
89 ctx->ciphertext_len = 0U; in mbedtls_chachapoly_free()
133 ctx->ciphertext_len = 0U; in mbedtls_chachapoly_starts()
177 ctx->ciphertext_len += len; in mbedtls_chachapoly_update()
232 MBEDTLS_PUT_UINT64_LE(ctx->ciphertext_len, len_block, 8); in mbedtls_chachapoly_finish()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Decc.c357 size_t ciphertext_len = 0; in ecc_sm2_encrypt() local
371 ciphertext_len = 2 * size_bytes + src_len + TEE_SM3_HASH_SIZE; in ecc_sm2_encrypt()
378 cdata.ciphertext.length = ciphertext_len; in ecc_sm2_encrypt()
419 size_t ciphertext_len = 0; in ecc_sm2_decrypt() local
442 ciphertext_len = src_len - 1; in ecc_sm2_decrypt()
452 if (SUB_OVERFLOW(ciphertext_len, 2 * size_bytes + TEE_SM3_HASH_SIZE, in ecc_sm2_decrypt()
459 cdata.ciphertext.length = ciphertext_len; in ecc_sm2_decrypt()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dchachapoly.h52 …uint64_t MBEDTLS_PRIVATE(ciphertext_len); /**< The length (bytes) of the ciphertext…