Home
last modified time | relevance | path

Searched refs:enc_len (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/crypto/
A Dcrypto_adapter.c27 uint16_t enc_len; in crypto_adapter_encrypt_cbc() local
38 enc_len = inlen+fill; in crypto_adapter_encrypt_cbc()
39 encrypt_buff = (uint8_t *)aos_malloc(enc_len + TC_AES_BLOCK_SIZE); in crypto_adapter_encrypt_cbc()
48 …ret = utils_tc_cbc_mode_encrypt(encrypt_buff, enc_len + TC_AES_BLOCK_SIZE, fill_buff, enc_len, aes… in crypto_adapter_encrypt_cbc()
56 memcpy(out, encrypt_buff + TC_AES_BLOCK_SIZE, enc_len); in crypto_adapter_encrypt_cbc()
60 *outlen = enc_len; in crypto_adapter_encrypt_cbc()
/AliOS-Things-master/components/uvoice/codec/
A Dopus_encoder.c48 int enc_len = 0; in opus_encode_process() local
90 len = opus_encode(opus->handler, opus->in + enc_len, in opus_encode_process()
91 (nbytes - enc_len) / sizeof(short), opus->out, nbytes); in opus_encode_process()
97 enc_len += opus_packet_get_samples_per_frame(opus->out, opus->rate) * in opus_encode_process()
99 if (enc_len == 0) { in opus_encode_process()
117 if (enc_len >= nbytes / sizeof(short)) in opus_encode_process()
/AliOS-Things-master/components/mbedtls/library/
A Dssl_ticket.c392 size_t enc_len, clear_len; in mbedtls_ssl_ticket_parse() local
409 enc_len = ( enc_len_p[0] << 8 ) | enc_len_p[1]; in mbedtls_ssl_ticket_parse()
410 tag = ticket + enc_len; in mbedtls_ssl_ticket_parse()
412 if( len != 4 + 12 + 2 + enc_len + 16 ) in mbedtls_ssl_ticket_parse()
429 key_name, 4 + 12 + 2, ticket, enc_len, in mbedtls_ssl_ticket_parse()
437 if( clear_len != enc_len ) in mbedtls_ssl_ticket_parse()
/AliOS-Things-master/components/ble_host/bt_host/port/core/settings/src/
A Dsettings_line.c40 size_t enc_len = 0; in settings_line_write() local
103 if (enc_len) { in settings_line_write()
104 add = MIN(enc_len, sizeof(w_buf) - w_size); in settings_line_write()
106 enc_len -= add; in settings_line_write()
114 rc = base64_encode(enc_buf, sizeof(enc_buf), &enc_len, value, add); in settings_line_write()

Completed in 7 milliseconds