Home
last modified time | relevance | path

Searched refs:req_ctx (Results 1 – 2 of 2) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/ce/
A Dce_common.c250 …task = ce_aes_config(req_ctx->dir, CE_METHOD_AES, req_ctx->mode, req_ctx->key, req_ctx->key_length… in ce_aes_start()
376 if (req_ctx->src_length > req_ctx->dst_length) { in ce_aes_check_ctx_vaild()
517 hal_ce_method_set(req_ctx->dir, req_ctx->type, task); in ce_hash_start()
570 memcpy(req_ctx->md, req_ctx->dst_buffer, req_ctx->dst_length); in ce_hash_start()
571 req_ctx->md_size = req_ctx->dst_length; in ce_hash_start()
795 ce_rsa_sw_padding(req_ctx->dst_buffer, p_dst, req_ctx->dst_length, req_ctx->dst_length); in ce_rsa_start()
835 if ((req_ctx->n_len > req_ctx->bitwidth / 8) in ce_rsa_check_ctx_valid()
836 || (req_ctx->e_len > req_ctx->bitwidth / 8) in ce_rsa_check_ctx_valid()
837 || (req_ctx->d_len > req_ctx->bitwidth / 8) in ce_rsa_check_ctx_valid()
917 if (req_ctx->key && (req_ctx->key_len == 24)) { in do_rng_gen()
[all …]
/bsp/allwinner/libraries/sunxi-hal/include/hal/
A Dsunxi_hal_ce.h95 int do_aes_crypto(crypto_aes_req_ctx_t *req_ctx);
98 int do_hash_crypto(crypto_hash_req_ctx_t *req_ctx);
99 int do_rsa_crypto(crypto_rsa_req_ctx_t *req_ctx);
100 int do_rsa_crypto_new(crypto_rsa_req_ctx_t *req_ctx);
101 int do_rng_gen(crypto_rng_req_ctx_t *req_ctx);

Completed in 11 milliseconds