Lines Matching defs:algo
20 TEE_Result tee_alg_get_digest_size(uint32_t algo, size_t *size)
22 size_t digest_size = TEE_ALG_GET_DIGEST_SIZE(algo);
32 TEE_Result tee_hash_createdigest(uint32_t algo, const uint8_t *data,
39 res = crypto_hash_alloc_ctx(&ctx, algo);
60 TEE_Result tee_cipher_get_block_size(uint32_t algo, size_t *size)
62 switch (algo) {
99 TEE_Result tee_do_cipher_update(void *ctx, uint32_t algo,
113 res = tee_cipher_get_block_size(algo, &block_size);
117 if (!last_block && algo != TEE_ALG_AES_CTR)
120 switch (algo) {