/net-tools-latest/tinydtls-0.8.2/ |
D | ccm.c | 149 encrypt(rijndael_ctx *ctx, size_t L, unsigned long counter, in encrypt() argument 156 SET_COUNTER(A, L, counter, counter_tmp); in encrypt() 182 unsigned long counter = 1; /* \bug does not work correctly on ia32 when in dtls_ccm_encrypt_message() local 205 encrypt(ctx, L, counter, msg, DTLS_CCM_BLOCKSIZE, A, S); in dtls_ccm_encrypt_message() 210 counter++; in dtls_ccm_encrypt_message() 223 encrypt(ctx, L, counter, msg, lm, A, S); in dtls_ccm_encrypt_message() 247 unsigned long counter = 1; /* \bug does not work correctly on ia32 when in dtls_ccm_decrypt_message() local 272 encrypt(ctx, L, counter, msg, DTLS_CCM_BLOCKSIZE, A, S); in dtls_ccm_decrypt_message() 280 counter++; in dtls_ccm_decrypt_message() 285 encrypt(ctx, L, counter, msg, lm, A, S); in dtls_ccm_decrypt_message()
|
/net-tools-latest/libcoap/include/coap/ |
D | utlist.h | 419 #define LL_COUNT(head,el,counter) \ argument 420 LL_COUNT2(head,el,counter,next) \ 422 #define LL_COUNT2(head,el,counter,next) \ argument 424 counter = 0; \ 425 LL_FOREACH2(head,el,next){ ++counter; } \ 575 #define DL_COUNT(head,el,counter) \ argument 576 DL_COUNT2(head,el,counter,next) \ 578 #define DL_COUNT2(head,el,counter,next) \ argument 580 counter = 0; \ 581 DL_FOREACH2(head,el,next){ ++counter; } \ [all …]
|
/net-tools-latest/mbedtls-2.4.0/library/ |
D | pkcs5.c | 229 unsigned char counter[4]; in mbedtls_pkcs5_pbkdf2_hmac() local 231 memset( counter, 0, 4 ); in mbedtls_pkcs5_pbkdf2_hmac() 232 counter[3] = 1; in mbedtls_pkcs5_pbkdf2_hmac() 247 if( ( ret = mbedtls_md_hmac_update( ctx, counter, 4 ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac() 281 if( ++counter[i - 1] != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
|
D | ctr_drbg.c | 247 if( ++ctx->counter[i - 1] != 0 ) in ctr_drbg_update_internal() 253 mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, ctx->counter, p ); in ctr_drbg_update_internal() 265 memcpy( ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, MBEDTLS_CTR_DRBG_BLOCKSIZE ); in ctr_drbg_update_internal() 373 if( ++ctx->counter[i - 1] != 0 ) in mbedtls_ctr_drbg_random_with_add() 379 mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, ctx->counter, tmp ); in mbedtls_ctr_drbg_random_with_add()
|
D | rsa.c | 468 unsigned char counter[4]; in mgf_mask() local 474 memset( counter, 0, 4 ); in mgf_mask() 489 mbedtls_md_update( md_ctx, counter, 4 ); in mgf_mask() 495 counter[3]++; in mgf_mask()
|
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/ |
D | ctr_drbg.h | 89 unsigned char counter[16]; /*!< counter (V) */ member
|
/net-tools-latest/mbedtls-2.4.0/tests/suites/ |
D | test_suite_entropy.function | 46 * Just resetting the counter. New sources will overwrite existing ones.
|
/net-tools-latest/mbedtls-2.4.0/ |
D | ChangeLog | 1104 * RSA blinding on CRT operations to counter timing attacks 1286 * RSA blinding on CRT operations to counter timing attacks 1340 * Corrected GCM counter incrementation to use only 32-bits instead of
|