Home
last modified time | relevance | path

Searched refs:add_len (Results 1 – 20 of 20) sorted by relevance

/AliOS-Things-master/components/mbedtls/library/
A Dccm.c176 if( add_len > 0xFF00 ) in ccm_auth_crypt()
194 b[0] |= ( add_len > 0 ) << 6; in ccm_auth_crypt()
215 if( add_len > 0 ) in ccm_auth_crypt()
218 len_left = add_len; in ccm_auth_crypt()
222 b[0] = (unsigned char)( ( add_len >> 8 ) & 0xFF ); in ccm_auth_crypt()
326 CCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_ccm_star_encrypt_and_tag()
342 CCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_ccm_encrypt_and_tag()
350 add_len, input, output, tag, tag_len ) ); in mbedtls_ccm_encrypt_and_tag()
369 CCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_ccm_star_auth_decrypt()
402 CCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_ccm_auth_decrypt()
[all …]
A Dgcm.c280 size_t add_len ) in mbedtls_gcm_starts() argument
296 ( (uint64_t) add_len ) >> 61 != 0 ) in mbedtls_gcm_starts()
306 ctx->add_len = 0; in mbedtls_gcm_starts()
344 ctx->add_len = add_len; in mbedtls_gcm_starts()
346 while( add_len > 0 ) in mbedtls_gcm_starts()
348 use_len = ( add_len < 16 ) ? add_len : 16; in mbedtls_gcm_starts()
355 add_len -= use_len; in mbedtls_gcm_starts()
438 orig_add_len = ctx->add_len * 8; in mbedtls_gcm_finish()
472 size_t add_len, in mbedtls_gcm_crypt_and_tag() argument
504 size_t add_len, in mbedtls_gcm_auth_decrypt() argument
[all …]
A Dhmac_drbg.c71 size_t add_len ) in mbedtls_hmac_drbg_update_ret() argument
74 unsigned char rounds = ( additional != NULL && add_len != 0 ) ? 2 : 1; in mbedtls_hmac_drbg_update_ret()
93 additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_update_ret()
117 size_t add_len ) in mbedtls_hmac_drbg_update() argument
119 (void) mbedtls_hmac_drbg_update_ret( ctx, additional, add_len ); in mbedtls_hmac_drbg_update()
285 const unsigned char *additional, size_t add_len ) in mbedtls_hmac_drbg_random_with_add() argument
298 if( add_len > MBEDTLS_HMAC_DRBG_MAX_INPUT ) in mbedtls_hmac_drbg_random_with_add()
309 add_len = 0; /* VII.4 */ in mbedtls_hmac_drbg_random_with_add()
313 if( additional != NULL && add_len != 0 ) in mbedtls_hmac_drbg_random_with_add()
316 additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_random_with_add()
[all …]
A Dctr_drbg.c336 size_t add_len ) in mbedtls_ctr_drbg_update_ret() argument
341 if( add_len == 0 ) in mbedtls_ctr_drbg_update_ret()
344 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_update_ret()
357 size_t add_len ) in mbedtls_ctr_drbg_update() argument
361 if( add_len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT ) in mbedtls_ctr_drbg_update()
362 add_len = MBEDTLS_CTR_DRBG_MAX_SEED_INPUT; in mbedtls_ctr_drbg_update()
363 (void) mbedtls_ctr_drbg_update_ret( ctx, additional, add_len ); in mbedtls_ctr_drbg_update()
464 if( add_len > MBEDTLS_CTR_DRBG_MAX_INPUT ) in mbedtls_ctr_drbg_random_with_add()
476 add_len = 0; in mbedtls_ctr_drbg_random_with_add()
479 if( add_len > 0 ) in mbedtls_ctr_drbg_random_with_add()
[all …]
A Dpem.c444 size_t len = 0, use_len, add_len = 0; in mbedtls_pem_write_buffer() local
447 add_len = strlen( header ) + strlen( footer ) + ( use_len / 64 ) + 1; in mbedtls_pem_write_buffer()
449 if( use_len + add_len > buf_len ) in mbedtls_pem_write_buffer()
451 *olen = use_len + add_len; in mbedtls_pem_write_buffer()
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dccm.h156 const unsigned char *add, size_t add_len,
204 const unsigned char *add, size_t add_len,
241 const unsigned char *add, size_t add_len,
286 const unsigned char *add, size_t add_len,
A Dgcm.h65 uint64_t add_len; /*!< The total length of the additional data. */ member
170 size_t add_len,
214 size_t add_len,
242 size_t add_len );
A Dhmac_drbg.h205 const unsigned char *additional, size_t add_len );
239 size_t add_len );
284 const unsigned char *additional, size_t add_len );
A Dctr_drbg.h255 size_t add_len );
276 const unsigned char *additional, size_t add_len );
320 size_t add_len );
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/utils/
A Dwpabuf.h29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
/AliOS-Things-master/components/SDL2/
A Dlibtool5323 int add_len = strlen (add);
5324 new_value = XMALLOC (char, add_len + orig_value_len + 1);
5333 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/SDL2/src/image/
A Dlibtool4381 int add_len = strlen (add);
4382 new_value = XMALLOC (char, add_len + orig_value_len + 1);
4391 strcpy (new_value + add_len, orig_value);
A Dltmain.sh3888 int add_len = strlen (add);
3889 new_value = XMALLOC (char, add_len + orig_value_len + 1);
3898 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/SDL2/build-scripts/
A Dltmain.sh4884 int add_len = strlen (add);
4885 new_value = XMALLOC (char, add_len + orig_value_len + 1);
4894 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/SDL2/src/gfx/
A Dltmain.sh4884 int add_len = strlen (add);
4885 new_value = XMALLOC (char, add_len + orig_value_len + 1);
4894 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A Dltmain.sh4884 int add_len = strlen (add);
4885 new_value = XMALLOC (char, add_len + orig_value_len + 1);
4894 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dltmain.sh6262 size_t add_len = strlen (add);
6263 new_value = XMALLOC (char, add_len + orig_value_len + 1);
6272 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dltmain.sh6262 size_t add_len = strlen (add);
6263 new_value = XMALLOC (char, add_len + orig_value_len + 1);
6272 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/config/
A Dltmain.sh6262 size_t add_len = strlen (add);
6263 new_value = XMALLOC (char, add_len + orig_value_len + 1);
6272 strcpy (new_value + add_len, orig_value);
/AliOS-Things-master/components/mbedtls/
A DChangeLog1734 add_len (found by Jean-Philippe Aumasson) (not triggerable remotely).
2239 add_len (found by Jean-Philippe Aumasson) (not triggerable remotely).

Completed in 83 milliseconds