/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/ |
H A D | crypto-aes-sym-encrypt-decrypt-gcm-by-segment.md | 82 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 D | crypto-sm4-sym-encrypt-decrypt-gcm-by-segment.md | 82 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 D | crypto-generate-message-digest.md | 86 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 D | crypto-compute-mac.md | 146 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 D | crypto-encrypt-decrypt-by-segment.md | 9 开发者可自定义单次传入的数据量(示例中的updateLength),多次调用update传入数据。
|
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/ |
H A D | crypto-sm4-sym-encrypt-decrypt-gcm-by-segment.md | 82 …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 D | crypto-aes-sym-encrypt-decrypt-gcm-by-segment.md | 82 …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 D | crypto-generate-message-digest.md | 86 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 D | crypto-compute-mac.md | 146 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 D | crypto-encrypt-decrypt-by-segment.md | 9 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.md | 25 | uint32_t [updateLength](image.md#updatelength) = 0 | 图像源更新数据缓冲区的更新数据长度 |
|
H A D | image.md | 219 | 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.md | 25 | uint32_t [updateLength](image.md#updatelength) = 0 | Defines the length of the update data in the…
|
H A D | image.md | 219 | 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 D | image-decoding-native.md | 234 firstData.updateLength = 2048; // 第一次加载了2048字节 242 secondData.updateLength = len - 2048; // 第二次加载剩余的数据
|
/ohos5.0/foundation/multimedia/image_framework/interfaces/kits/native/include/ |
H A D | image_source_mdk.h | 386 uint32_t updateLength = 0; member
|
/ohos5.0/docs/en/application-dev/media/image/ |
H A D | image-decoding-native.md | 234 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 D | image_source_mdk_kits.cpp | 735 uint32_t actSize = MathMin((data->bufferSize - data->offset), data->updateLength); in ImageSourceNapiUpdateData()
|