/reactos/dll/3rdparty/mbedtls/ |
H A D | cipher.c | 399 *olen = ilen; in mbedtls_cipher_update() 413 *olen = ilen; in mbedtls_cipher_update() 422 *olen = ilen; in mbedtls_cipher_update() 508 if( ilen ) in mbedtls_cipher_update() 533 *olen = ilen; in mbedtls_cipher_update() 548 *olen = ilen; in mbedtls_cipher_update() 564 *olen = ilen; in mbedtls_cipher_update() 585 *olen = ilen; in mbedtls_cipher_update() 600 *olen = ilen; in mbedtls_cipher_update() 1072 *olen = ilen; in mbedtls_cipher_auth_encrypt() [all …]
|
H A D | md_wrap.c | 105 size_t ilen ) in md2_update_wrap() argument 169 size_t ilen ) in md4_update_wrap() argument 231 size_t ilen ) in md5_update_wrap() argument 293 size_t ilen ) in ripemd160_update_wrap() argument 296 input, ilen ) ); in ripemd160_update_wrap() 358 size_t ilen ) in sha1_update_wrap() argument 361 input, ilen ) ); in sha1_update_wrap() 425 size_t ilen ) in sha224_update_wrap() argument 428 input, ilen ) ); in sha224_update_wrap() 522 size_t ilen ) in sha384_update_wrap() argument [all …]
|
H A D | md2.c | 199 size_t ilen ) in mbedtls_md2_update_ret() argument 204 while( ilen > 0 ) in mbedtls_md2_update_ret() 206 if( ilen > 16 - ctx->left ) in mbedtls_md2_update_ret() 209 fill = ilen; in mbedtls_md2_update_ret() 215 ilen -= fill; in mbedtls_md2_update_ret() 231 size_t ilen ) in mbedtls_md2_update() argument 233 mbedtls_md2_update_ret( ctx, input, ilen ); in mbedtls_md2_update() 278 size_t ilen, in mbedtls_md2_ret() argument 289 if( ( ret = mbedtls_md2_update_ret( &ctx, input, ilen ) ) != 0 ) in mbedtls_md2_ret() 303 size_t ilen, in mbedtls_md2() argument [all …]
|
H A D | sha512.c | 355 if( ilen == 0 ) in mbedtls_sha512_update_ret() 361 ctx->total[0] += (uint64_t) ilen; in mbedtls_sha512_update_ret() 363 if( ctx->total[0] < (uint64_t) ilen ) in mbedtls_sha512_update_ret() 366 if( left && ilen >= fill ) in mbedtls_sha512_update_ret() 374 ilen -= fill; in mbedtls_sha512_update_ret() 378 while( ilen >= 128 ) in mbedtls_sha512_update_ret() 384 ilen -= 128; in mbedtls_sha512_update_ret() 387 if( ilen > 0 ) in mbedtls_sha512_update_ret() 396 size_t ilen ) in mbedtls_sha512_update() argument 484 size_t ilen, in mbedtls_sha512_ret() argument [all …]
|
H A D | sha256.c | 337 if( ilen == 0 ) in mbedtls_sha256_update_ret() 343 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha256_update_ret() 346 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_sha256_update_ret() 349 if( left && ilen >= fill ) in mbedtls_sha256_update_ret() 357 ilen -= fill; in mbedtls_sha256_update_ret() 361 while( ilen >= 64 ) in mbedtls_sha256_update_ret() 367 ilen -= 64; in mbedtls_sha256_update_ret() 370 if( ilen > 0 ) in mbedtls_sha256_update_ret() 379 size_t ilen ) in mbedtls_sha256_update() argument 465 size_t ilen, in mbedtls_sha256_ret() argument [all …]
|
H A D | md5.c | 291 size_t ilen ) in mbedtls_md5_update_ret() argument 297 if( ilen == 0 ) in mbedtls_md5_update_ret() 303 ctx->total[0] += (uint32_t) ilen; in mbedtls_md5_update_ret() 309 if( left && ilen >= fill ) in mbedtls_md5_update_ret() 316 ilen -= fill; in mbedtls_md5_update_ret() 320 while( ilen >= 64 ) in mbedtls_md5_update_ret() 326 ilen -= 64; in mbedtls_md5_update_ret() 329 if( ilen > 0 ) in mbedtls_md5_update_ret() 340 size_t ilen ) in mbedtls_md5_update() argument 417 size_t ilen, in mbedtls_md5_ret() argument [all …]
|
H A D | md4.c | 291 if( ilen == 0 ) in mbedtls_md4_update_ret() 297 ctx->total[0] += (uint32_t) ilen; in mbedtls_md4_update_ret() 303 if( left && ilen >= fill ) in mbedtls_md4_update_ret() 312 ilen -= fill; in mbedtls_md4_update_ret() 316 while( ilen >= 64 ) in mbedtls_md4_update_ret() 322 ilen -= 64; in mbedtls_md4_update_ret() 325 if( ilen > 0 ) in mbedtls_md4_update_ret() 328 (void *) input, ilen ); in mbedtls_md4_update_ret() 337 size_t ilen ) in mbedtls_md4_update() argument 402 size_t ilen, in mbedtls_md4_ret() argument [all …]
|
H A D | sha1.c | 350 if( ilen == 0 ) in mbedtls_sha1_update_ret() 356 ctx->total[0] += (uint32_t) ilen; in mbedtls_sha1_update_ret() 359 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_sha1_update_ret() 362 if( left && ilen >= fill ) in mbedtls_sha1_update_ret() 370 ilen -= fill; in mbedtls_sha1_update_ret() 374 while( ilen >= 64 ) in mbedtls_sha1_update_ret() 380 ilen -= 64; in mbedtls_sha1_update_ret() 383 if( ilen > 0 ) in mbedtls_sha1_update_ret() 392 size_t ilen ) in mbedtls_sha1_update() argument 473 size_t ilen, in mbedtls_sha1_ret() argument [all …]
|
H A D | rsa.c | 1222 if( ilen + 2 * hlen + 2 < ilen || olen < ilen + 2 * hlen + 2 ) in mbedtls_rsa_rsaes_oaep_encrypt() 1241 memcpy( p, input, ilen ); in mbedtls_rsa_rsaes_oaep_encrypt() 1296 if( ilen + 11 < ilen || olen < ilen + 11 ) in mbedtls_rsa_rsaes_pkcs1_v15_encrypt() 1299 nb_pad = olen - 3 - ilen; in mbedtls_rsa_rsaes_pkcs1_v15_encrypt() 1333 memcpy( p, input, ilen ); in mbedtls_rsa_rsaes_pkcs1_v15_encrypt() 1391 size_t ilen, i, pad_len; in mbedtls_rsa_rsaes_oaep_decrypt() local 1413 ilen = ctx->len; in mbedtls_rsa_rsaes_oaep_decrypt() 1415 if( ilen < 16 || ilen > sizeof( buf ) ) in mbedtls_rsa_rsaes_oaep_decrypt() 1425 if( 2 * hlen + 2 > ilen ) in mbedtls_rsa_rsaes_oaep_decrypt() 1651 ilen = ctx->len; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt() [all …]
|
H A D | ripemd160.c | 360 if( ilen == 0 ) in mbedtls_ripemd160_update_ret() 366 ctx->total[0] += (uint32_t) ilen; in mbedtls_ripemd160_update_ret() 369 if( ctx->total[0] < (uint32_t) ilen ) in mbedtls_ripemd160_update_ret() 372 if( left && ilen >= fill ) in mbedtls_ripemd160_update_ret() 380 ilen -= fill; in mbedtls_ripemd160_update_ret() 384 while( ilen >= 64 ) in mbedtls_ripemd160_update_ret() 390 ilen -= 64; in mbedtls_ripemd160_update_ret() 393 if( ilen > 0 ) in mbedtls_ripemd160_update_ret() 404 size_t ilen ) in mbedtls_ripemd160_update() argument 470 size_t ilen, in mbedtls_ripemd160_ret() argument [all …]
|
H A D | cmac.c | 268 const unsigned char *input, size_t ilen ) in mbedtls_cipher_cmac_update() argument 286 ilen > block_size - cmac_ctx->unprocessed_len ) in mbedtls_cipher_cmac_update() 301 ilen -= block_size - cmac_ctx->unprocessed_len; in mbedtls_cipher_cmac_update() 306 n = ( ilen + block_size - 1 ) / block_size; in mbedtls_cipher_cmac_update() 318 ilen -= block_size; in mbedtls_cipher_cmac_update() 323 if( ilen > 0 ) in mbedtls_cipher_cmac_update() 327 ilen ); in mbedtls_cipher_cmac_update() 328 cmac_ctx->unprocessed_len += ilen; in mbedtls_cipher_cmac_update() 417 const unsigned char *input, size_t ilen, in mbedtls_cipher_cmac() argument 435 ret = mbedtls_cipher_cmac_update( &ctx, input, ilen ); in mbedtls_cipher_cmac()
|
H A D | md.c | 278 int mbedtls_md_update( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ) in mbedtls_md_update() argument 283 return( ctx->md_info->update_func( ctx->md_ctx, input, ilen ) ); in mbedtls_md_update() 294 int mbedtls_md( const mbedtls_md_info_t *md_info, const unsigned char *input, size_t ilen, in mbedtls_md() argument 300 return( md_info->digest_func( input, ilen, output ) ); in mbedtls_md() 391 int mbedtls_md_hmac_update( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ) in mbedtls_md_hmac_update() argument 396 return( ctx->md_info->update_func( ctx->md_ctx, input, ilen ) ); in mbedtls_md_hmac_update() 441 const unsigned char *input, size_t ilen, in mbedtls_md_hmac() argument 457 if( ( ret = mbedtls_md_hmac_update( &ctx, input, ilen ) ) != 0 ) in mbedtls_md_hmac()
|
H A D | poly1305.c | 356 size_t ilen ) in mbedtls_poly1305_update() argument 359 size_t remaining = ilen; in mbedtls_poly1305_update() 363 POLY1305_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_poly1305_update() 369 if( ilen < queue_free_len ) in mbedtls_poly1305_update() 376 ilen ); in mbedtls_poly1305_update() 378 ctx->queue_len += ilen; in mbedtls_poly1305_update() 447 size_t ilen, in mbedtls_poly1305_mac() argument 454 POLY1305_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_poly1305_mac() 462 ret = mbedtls_poly1305_update( &ctx, input, ilen ); in mbedtls_poly1305_mac()
|
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/polarssl/ |
H A D | md4.c | 197 if( ilen <= 0 ) in md4_update() 203 ctx->total[0] += ilen; in md4_update() 206 if( ctx->total[0] < (unsigned long) ilen ) in md4_update() 209 if( left && ilen >= fill ) in md4_update() 215 ilen -= fill; in md4_update() 219 while( ilen >= 64 ) in md4_update() 223 ilen -= 64; in md4_update() 226 if( ilen > 0 ) in md4_update() 229 input, ilen ); in md4_update() 272 void md4( unsigned char *input, int ilen, unsigned char output[16] ) in md4() argument [all …]
|
H A D | md5.c | 216 if( ilen <= 0 ) in md5_update() 222 ctx->total[0] += ilen; in md5_update() 225 if( ctx->total[0] < (unsigned long) ilen ) in md5_update() 228 if( left && ilen >= fill ) in md5_update() 234 ilen -= fill; in md5_update() 238 while( ilen >= 64 ) in md5_update() 242 ilen -= 64; in md5_update() 245 if( ilen > 0 ) in md5_update() 248 input, ilen ); in md5_update() 291 void md5( unsigned char *input, int ilen, unsigned char output[16] ) in md5() argument [all …]
|
H A D | sha1.c | 250 if( ilen <= 0 ) in sha1_update() 256 ctx->total[0] += ilen; in sha1_update() 259 if( ctx->total[0] < (unsigned long) ilen ) in sha1_update() 262 if( left && ilen >= fill ) in sha1_update() 268 ilen -= fill; in sha1_update() 272 while( ilen >= 64 ) in sha1_update() 276 ilen -= 64; in sha1_update() 279 if( ilen > 0 ) in sha1_update() 282 input, ilen ); in sha1_update() 326 void sha1( unsigned char *input, int ilen, unsigned char output[20] ) in sha1() argument [all …]
|
/reactos/sdk/include/reactos/libs/mbedtls/ |
H A D | md2.h | 165 size_t ilen ); 233 size_t ilen ); 281 size_t ilen, 305 size_t ilen,
|
H A D | md4.h | 164 size_t ilen ); 234 size_t ilen ); 286 size_t ilen, 310 size_t ilen,
|
H A D | md5.h | 164 size_t ilen ); 234 size_t ilen ); 286 size_t ilen, 310 size_t ilen,
|
H A D | ripemd160.h | 131 size_t ilen ); 183 size_t ilen ); 222 size_t ilen, 241 size_t ilen,
|
H A D | sha1.h | 176 size_t ilen ); 254 size_t ilen ); 318 size_t ilen, 350 size_t ilen,
|
H A D | sha256.h | 150 size_t ilen ); 215 size_t ilen ); 267 size_t ilen, 299 size_t ilen,
|
H A D | sha512.h | 151 size_t ilen ); 215 size_t ilen ); 271 size_t ilen, 303 size_t ilen,
|
H A D | md.h | 317 int mbedtls_md_update( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ); 357 int mbedtls_md( const mbedtls_md_info_t *md_info, const unsigned char *input, size_t ilen, 423 size_t ilen ); 485 const unsigned char *input, size_t ilen,
|
H A D | cipher.h | 327 int (*get_padding)( unsigned char *input, size_t ilen, size_t *data_len ); 710 size_t ilen, unsigned char *output, size_t *olen ); 809 const unsigned char *input, size_t ilen, 846 const unsigned char *input, size_t ilen, 888 const unsigned char *input, size_t ilen,
|