Home
last modified time | relevance | path

Searched refs:outlen (Results 1 – 24 of 24) sorted by relevance

/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/src/
Dcbc_mode.c37 int tc_cbc_mode_encrypt(uint8_t *out, unsigned int outlen, const uint8_t *in, in tc_cbc_mode_encrypt() argument
49 outlen == 0 || in tc_cbc_mode_encrypt()
51 (outlen % TC_AES_BLOCK_SIZE) != 0 || in tc_cbc_mode_encrypt()
52 outlen != inlen + TC_AES_BLOCK_SIZE) { in tc_cbc_mode_encrypt()
76 int tc_cbc_mode_decrypt(uint8_t *out, unsigned int outlen, const uint8_t *in, in tc_cbc_mode_decrypt() argument
89 outlen == 0 || in tc_cbc_mode_decrypt()
91 (outlen % TC_AES_BLOCK_SIZE) != 0 || in tc_cbc_mode_decrypt()
92 outlen != inlen - TC_AES_BLOCK_SIZE) { in tc_cbc_mode_decrypt()
Dhmac_prng.c167 int tc_hmac_prng_generate(uint8_t *out, unsigned int outlen, TCHmacPrng_t prng) in tc_hmac_prng_generate() argument
172 outlen == 0 || in tc_hmac_prng_generate()
173 outlen > MAX_OUT) { in tc_hmac_prng_generate()
181 while (outlen != 0) { in tc_hmac_prng_generate()
186 unsigned int bufferlen = (TC_SHA256_DIGEST_SIZE > outlen) ? in tc_hmac_prng_generate()
187 outlen : TC_SHA256_DIGEST_SIZE; in tc_hmac_prng_generate()
190 outlen = (outlen > TC_SHA256_DIGEST_SIZE) ? in tc_hmac_prng_generate()
191 (outlen - TC_SHA256_DIGEST_SIZE) : 0; in tc_hmac_prng_generate()
Dctr_mode.c37 int tc_ctr_mode(uint8_t *out, unsigned int outlen, const uint8_t *in, in tc_ctr_mode() argument
51 outlen == 0 || in tc_ctr_mode()
52 outlen != inlen) { in tc_ctr_mode()
Dctr_prng.c205 unsigned int outlen) in tc_ctr_prng_generate() argument
213 if ((ctx != 0) && (out != 0) && (outlen < MAX_BYTES_PER_REQ)) { in tc_ctr_prng_generate()
236 while (len < outlen) { in tc_ctr_prng_generate()
237 unsigned int blocklen = outlen - len; in tc_ctr_prng_generate()
Dccm_mode.c93 static int ccm_ctr_mode(uint8_t *out, unsigned int outlen, const uint8_t *in, in ccm_ctr_mode() argument
107 outlen == 0 || in ccm_ctr_mode()
108 outlen != inlen) { in ccm_ctr_mode()
/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/include/tinycrypt/
Dcbc_mode.h110 int tc_cbc_mode_encrypt(uint8_t *out, unsigned int outlen, const uint8_t *in,
143 int tc_cbc_mode_decrypt(uint8_t *out, unsigned int outlen, const uint8_t *in,
Dctr_mode.h101 int tc_ctr_mode(uint8_t *out, unsigned int outlen, const uint8_t *in,
Dhmac_prng.h158 int tc_hmac_prng_generate(uint8_t *out, unsigned int outlen, TCHmacPrng_t prng);
Dctr_prng.h151 unsigned int outlen);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/
Dsha256.h25 u8 *out, size_t outlen);
28 u8 *out, size_t outlen);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
Dkapi_dispatch.c310 hi_log_chk_param_return(rsa_info->outlen > rsa_info->klen); in rsa_buf_chk_info_param()
558 rsa.out_len = rsa_info->outlen; in dispatch_rsa_encrypt()
568 ret = crypto_copy_to_user(addr_via(rsa_info->out), rsa_info->outlen, rsa.out, rsa.out_len); in dispatch_rsa_encrypt()
575 rsa_info->outlen = rsa.out_len; in dispatch_rsa_encrypt()
599 rsa.out_len = rsa_info->outlen; in dispatch_rsa_decrypt()
609 ret = crypto_copy_to_user(addr_via(rsa_info->out), rsa_info->outlen, rsa.out, rsa.out_len); in dispatch_rsa_decrypt()
616 rsa_info->outlen = rsa.out_len; in dispatch_rsa_decrypt()
640 rsa.out_len = rsa_info->outlen; in dispatch_rsa_sign_hash()
650 ret = crypto_copy_to_user(addr_via(rsa_info->out), rsa_info->outlen, rsa.out, rsa.out_len); in dispatch_rsa_sign_hash()
657 rsa_info->outlen = rsa.out_len; in dispatch_rsa_sign_hash()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/staging/blackbox/
Dblackbox_storage.c32 static int storage_log_by_memory(void *out, unsigned int outlen) in storage_log_by_memory() argument
40 lastlog_len = outlen; in storage_log_by_memory()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/modules/
Daac_decoder.h134 …oder_decode(void* aac_decoder, uint8_t* inbuf, uint32_t inlen, uint8_t** outbuf, uint32_t* outlen);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dbcmxtlv.c300 int *outlen) in bcm_pack_xtlv_buf() argument
335 if (outlen) { in bcm_pack_xtlv_buf()
336 *outlen = (int)(buf - startp); in bcm_pack_xtlv_buf()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dbcmxtlv.c448 int *outlen) in bcm_pack_xtlv_buf() argument
485 if (outlen) { in bcm_pack_xtlv_buf()
486 *outlen = (int)(buf - startp); in bcm_pack_xtlv_buf()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dbcmxtlv.c446 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen) in bcm_pack_xtlv_buf() argument
484 if (outlen) { in bcm_pack_xtlv_buf()
485 *outlen = (int)(buf - startp); in bcm_pack_xtlv_buf()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmxtlv.c466 int *outlen) in bcm_pack_xtlv_buf() argument
503 if (outlen) { in bcm_pack_xtlv_buf()
504 *outlen = (int)(buf - startp); in bcm_pack_xtlv_buf()
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/include/
Dlega_wlan_api.h472 int lega_wlan_nan_update_beacon(uint32_t outlen, uint8_t *output, uint8_t *mac_dst, uint8_t iftype);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/include/
Ddrv_symc.h168 hi_u32 outlen; member
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dbcmtlv.h304 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Dbcmtlv.h316 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dbcmtlv.h329 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/
Ddrv_cipher_kapi.h345 hi_u32 outlen; /* length of output data */ member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Dbcmutils.h872 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);