/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/src/ |
D | cbc_mode.c | 37 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()
|
D | hmac_prng.c | 167 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()
|
D | ctr_mode.c | 37 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()
|
D | ctr_prng.c | 205 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()
|
D | ccm_mode.c | 93 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/ |
D | cbc_mode.h | 110 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,
|
D | ctr_mode.h | 101 int tc_ctr_mode(uint8_t *out, unsigned int outlen, const uint8_t *in,
|
D | hmac_prng.h | 158 int tc_hmac_prng_generate(uint8_t *out, unsigned int outlen, TCHmacPrng_t prng);
|
D | ctr_prng.h | 151 unsigned int outlen);
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/ |
D | sha256.h | 25 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/ |
D | kapi_dispatch.c | 310 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/ |
D | blackbox_storage.c | 32 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/ |
D | aac_decoder.h | 134 …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/ |
D | bcmxtlv.c | 300 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/ |
D | bcmxtlv.c | 448 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/ |
D | bcmxtlv.c | 446 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/ |
D | bcmxtlv.c | 466 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/ |
D | lega_wlan_api.h | 472 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/ |
D | drv_symc.h | 168 hi_u32 outlen; member
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
D | bcmtlv.h | 304 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/ |
D | bcmtlv.h | 316 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/ |
D | bcmtlv.h | 329 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/ |
D | drv_cipher_kapi.h | 345 hi_u32 outlen; /* length of output data */ member
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/ |
D | bcmutils.h | 872 bcm_pack_xtlv_pack_next_cbfn_t pack_next, int *outlen);
|