Home
last modified time | relevance | path

Searched refs:updateLength (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-aes-sym-encrypt-decrypt-gcm-by-segment.md82 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
84 for (let i = 0; i < plainText.data.length; i += updateLength) {
85 let updateMessage = plainText.data.subarray(i, i + updateLength);
104 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
106 for (let i = 0; i < cipherText.data.length; i += updateLength) {
107 let updateMessage = cipherText.data.subarray(i, i + updateLength);
182 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
184 for (let i = 0; i < plainText.data.length; i += updateLength) {
185 let updateMessage = plainText.data.subarray(i, i + updateLength);
204 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
[all …]
H A Dcrypto-sm4-sym-encrypt-decrypt-gcm-by-segment.md82 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
84 for (let i = 0; i < plainText.data.length; i += updateLength) {
85 let updateMessage = plainText.data.subarray(i, i + updateLength);
104 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
106 for (let i = 0; i < cipherText.data.length; i += updateLength) {
107 let updateMessage = cipherText.data.subarray(i, i + updateLength);
182 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
184 for (let i = 0; i < plainText.data.length; i += updateLength) {
185 let updateMessage = plainText.data.subarray(i, i + updateLength);
204 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
[all …]
H A Dcrypto-generate-message-digest.md86 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
87 for (let i = 0; i < messageData.length; i += updateLength) {
88 let updateMessage = messageData.subarray(i, i + updateLength);
111 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
112 for (let i = 0; i < messageData.length; i += updateLength) {
113 let updateMessage = messageData.subarray(i, i + updateLength);
H A Dcrypto-compute-mac.md146 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
148 for (let i = 0; i < messageData.length; i += updateLength) {
149 let updateMessage = messageData.subarray(i, i + updateLength);
182 let updateLength = 20; // 假设以20字节为单位进行分段update,实际并无要求
184 for (let i = 0; i < messageData.length; i += updateLength) {
185 let updateMessage = messageData.subarray(i, i + updateLength);
H A Dcrypto-encrypt-decrypt-by-segment.md9 开发者可自定义单次传入的数据量(示例中的updateLength),多次调用update传入数据。
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-sm4-sym-encrypt-decrypt-gcm-by-segment.md82 …let updateLength = 20; // Set the length of the data to be passed in each time to 20 bytes. You ca…
84 for (let i = 0; i < plainText.data.length; i += updateLength) {
85 let updateMessage = plainText.data.subarray(i, i + updateLength);
104 …let updateLength = 20; // Set the length of the data to be passed in each time to 20 bytes. You ca…
106 for (let i = 0; i < cipherText.data.length; i += updateLength) {
107 let updateMessage = cipherText.data.subarray(i, i + updateLength);
182 …let updateLength = 20; // Set the length of the data to be passed in each time to 20 bytes. You ca…
184 for (let i = 0; i < plainText.data.length; i += updateLength) {
185 let updateMessage = plainText.data.subarray(i, i + updateLength);
206 for (let i = 0; i < cipherText.data.length; i += updateLength) {
[all …]
H A Dcrypto-aes-sym-encrypt-decrypt-gcm-by-segment.md82 …let updateLength = 20; // Set the data length to be passed in each time to 20 bytes. You can set t…
84 for (let i = 0; i < plainText.data.length; i += updateLength) {
85 let updateMessage = plainText.data.subarray(i, i + updateLength);
104 …let updateLength = 20; // Set the data length to be passed in each time to 20 bytes. You can set t…
106 for (let i = 0; i < cipherText.data.length; i += updateLength) {
107 let updateMessage = cipherText.data.subarray(i, i + updateLength);
182 …let updateLength = 20; // Set the data length to be passed in each time to 20 bytes. You can set t…
184 for (let i = 0; i < plainText.data.length; i += updateLength) {
185 let updateMessage = plainText.data.subarray(i, i + updateLength);
206 for (let i = 0; i < cipherText.data.length; i += updateLength) {
[all …]
H A Dcrypto-generate-message-digest.md86 let updateLength = 20; // Pass in 20 bytes each time. You can set this parameter as required.
87 for (let i = 0; i < messageData.length; i += updateLength) {
88 let updateMessage = messageData.subarray(i, i + updateLength);
111 let updateLength = 20; // Pass in 20 bytes each time. You can set this parameter as required.
112 for (let i = 0; i < messageData.length; i += updateLength) {
113 let updateMessage = messageData.subarray(i, i + updateLength);
H A Dcrypto-compute-mac.md146 let updateLength = 20; // In this example, pass in 20 bytes each time.
148 for (let i = 0; i < messageData.length; i += updateLength) {
149 let updateMessage = messageData.subarray(i, i + updateLength);
182 let updateLength = 20; // In this example, pass in 20 bytes each time.
184 for (let i = 0; i < messageData.length; i += updateLength) {
185 let updateMessage = messageData.subarray(i, i + updateLength);
H A Dcrypto-encrypt-decrypt-by-segment.md9 You can set the amount of the data to be passed in each time (**updateLength** in the example) and …
/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/
H A D_ohos_image_source_update_data.md25 | uint32_t [updateLength](image.md#updatelength) = 0 | 图像源更新数据缓冲区的更新数据长度 |
H A Dimage.md219 | uint32_t [OhosImageSourceUpdateData::updateLength](#updatelength) = 0 | 图像源更新数据缓冲区的更新数据长度。 |
3994 ### updateLength subsection
3997 uint32_t OhosImageSourceUpdateData::updateLength = 0
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/
H A D_ohos_image_source_update_data.md25 | uint32_t [updateLength](image.md#updatelength) = 0 | Defines the length of the update data in the…
H A Dimage.md219 | uint32_t [OhosImageSourceUpdateData::updateLength](#updatelength) = 0 | Defines the length of the…
4270 ### updateLength subsection
4273 uint32_t OhosImageSourceUpdateData::updateLength = 0
/ohos5.0/docs/zh-cn/application-dev/media/image/
H A Dimage-decoding-native.md234 firstData.updateLength = 2048; // 第一次加载了2048字节
242 secondData.updateLength = len - 2048; // 第二次加载剩余的数据
/ohos5.0/foundation/multimedia/image_framework/interfaces/kits/native/include/
H A Dimage_source_mdk.h386 uint32_t updateLength = 0; member
/ohos5.0/docs/en/application-dev/media/image/
H A Dimage-decoding-native.md234 firstData.updateLength = 2048; // 2048 bytes are loaded for the first time.
242 secondData.updateLength = len - 2048; // Load the remaining data for the second time.
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_source_mdk_kits.cpp735 uint32_t actSize = MathMin((data->bufferSize - data->offset), data->updateLength); in ImageSourceNapiUpdateData()