Home
last modified time | relevance | path

Searched refs:md5_ctx (Results 1 – 5 of 5) sorted by relevance

/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H A Dmagic.c101 lwip_md5_context md5_ctx; in magic_churnrand() local
104 lwip_md5_init(&md5_ctx); in magic_churnrand()
105 lwip_md5_starts(&md5_ctx); in magic_churnrand()
108 lwip_md5_update(&md5_ctx, (u_char *)rand_data, rand_len); in magic_churnrand()
125 lwip_md5_finish(&md5_ctx, (u_char *)magic_randpool); in magic_churnrand()
126 lwip_md5_free(&md5_ctx); in magic_churnrand()
163 lwip_md5_context md5_ctx; in magic_random_bytes() local
168 lwip_md5_init(&md5_ctx); in magic_random_bytes()
169 lwip_md5_starts(&md5_ctx); in magic_random_bytes()
172 lwip_md5_finish(&md5_ctx, tmp); in magic_random_bytes()
[all …]
H A Dpppol2tp.c502 lwip_md5_context md5_ctx; in pppol2tp_dispatch_control_packet() local
636 lwip_md5_init(&md5_ctx); in pppol2tp_dispatch_control_packet()
637 lwip_md5_starts(&md5_ctx); in pppol2tp_dispatch_control_packet()
639 lwip_md5_update(&md5_ctx, &challenge_id, 1); in pppol2tp_dispatch_control_packet()
641 lwip_md5_update(&md5_ctx, inp, avplen); in pppol2tp_dispatch_control_packet()
643 lwip_md5_free(&md5_ctx); in pppol2tp_dispatch_control_packet()
652 lwip_md5_init(&md5_ctx); in pppol2tp_dispatch_control_packet()
653 lwip_md5_starts(&md5_ctx); in pppol2tp_dispatch_control_packet()
655 lwip_md5_update(&md5_ctx, &challenge_id, 1); in pppol2tp_dispatch_control_packet()
658 lwip_md5_finish(&md5_ctx, md5_hash); in pppol2tp_dispatch_control_packet()
[all …]
/reactos/dll/3rdparty/mbedtls/
H A Dpem.c110 mbedtls_md5_context md5_ctx; in pem_pbkdf1() local
115 mbedtls_md5_init( &md5_ctx ); in pem_pbkdf1()
120 if( ( ret = mbedtls_md5_starts_ret( &md5_ctx ) ) != 0 ) in pem_pbkdf1()
122 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, pwd, pwdlen ) ) != 0 ) in pem_pbkdf1()
124 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, iv, 8 ) ) != 0 ) in pem_pbkdf1()
126 if( ( ret = mbedtls_md5_finish_ret( &md5_ctx, md5sum ) ) != 0 ) in pem_pbkdf1()
140 if( ( ret = mbedtls_md5_starts_ret( &md5_ctx ) ) != 0 ) in pem_pbkdf1()
142 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, md5sum, 16 ) ) != 0 ) in pem_pbkdf1()
146 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, iv, 8 ) ) != 0 ) in pem_pbkdf1()
148 if( ( ret = mbedtls_md5_finish_ret( &md5_ctx, md5sum ) ) != 0 ) in pem_pbkdf1()
[all …]
/reactos/dll/win32/bcrypt/
H A Dbcrypt_main.c410 CC_MD5_CTX md5_ctx; member
423 CC_MD5_Init( &hash->u.md5_ctx ); in hash_init()
489 CC_MD5_Update( &hash->u.md5_ctx, input, size ); in hash_update()
526 CC_MD5_Final( output, &hash->u.md5_ctx ); in hash_finish()
674 mbedtls_md5_context md5_ctx; member
690 mbedtls_md5_init(&hash->u.md5_ctx); in hash_init()
691 mbedtls_md5_starts(&hash->u.md5_ctx); in hash_init()
778 mbedtls_md5_update(&hash->u.md5_ctx, input, size); in hash_update()
820 mbedtls_md5_finish(&hash->u.md5_ctx, output); in hash_finish()
821 mbedtls_md5_free(&hash->u.md5_ctx); in hash_finish()
/reactos/dll/win32/msi/
H A Dmsi.c4006 struct md5_ctx struct
4014 extern void WINAPI MD5Init( struct md5_ctx * ); argument
4015 extern void WINAPI MD5Update( struct md5_ctx *, const unsigned char *, unsigned int );
4016 extern void WINAPI MD5Final( struct md5_ctx * );
4040 struct md5_ctx ctx; in msi_get_filehash()