Home
last modified time | relevance | path

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

/third_party/lwip/src/netif/ppp/
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()
106 lwip_md5_update(&md5_ctx, (u_char *)magic_randpool, sizeof(magic_randpool)); in magic_churnrand()
108 lwip_md5_update(&md5_ctx, (u_char *)rand_data, rand_len); in magic_churnrand()
123 lwip_md5_update(&md5_ctx, (u_char *)&sys_data, sizeof(sys_data)); 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()
[all …]
Dpppol2tp.c491 lwip_md5_context md5_ctx; in pppol2tp_dispatch_control_packet() local
620 lwip_md5_init(&md5_ctx); in pppol2tp_dispatch_control_packet()
621 lwip_md5_starts(&md5_ctx); in pppol2tp_dispatch_control_packet()
623 lwip_md5_update(&md5_ctx, &challenge_id, 1); in pppol2tp_dispatch_control_packet()
624 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet()
625 lwip_md5_update(&md5_ctx, inp, avplen); in pppol2tp_dispatch_control_packet()
626 lwip_md5_finish(&md5_ctx, l2tp->challenge_hash); in pppol2tp_dispatch_control_packet()
627 lwip_md5_free(&md5_ctx); in pppol2tp_dispatch_control_packet()
636 lwip_md5_init(&md5_ctx); in pppol2tp_dispatch_control_packet()
637 lwip_md5_starts(&md5_ctx); in pppol2tp_dispatch_control_packet()
[all …]
/third_party/mbedtls/library/
Dpem.c80 mbedtls_md5_context md5_ctx; in pem_pbkdf1() local
85 mbedtls_md5_init( &md5_ctx ); in pem_pbkdf1()
90 if( ( ret = mbedtls_md5_starts( &md5_ctx ) ) != 0 ) in pem_pbkdf1()
92 if( ( ret = mbedtls_md5_update( &md5_ctx, pwd, pwdlen ) ) != 0 ) in pem_pbkdf1()
94 if( ( ret = mbedtls_md5_update( &md5_ctx, iv, 8 ) ) != 0 ) in pem_pbkdf1()
96 if( ( ret = mbedtls_md5_finish( &md5_ctx, md5sum ) ) != 0 ) in pem_pbkdf1()
110 if( ( ret = mbedtls_md5_starts( &md5_ctx ) ) != 0 ) in pem_pbkdf1()
112 if( ( ret = mbedtls_md5_update( &md5_ctx, md5sum, 16 ) ) != 0 ) in pem_pbkdf1()
114 if( ( ret = mbedtls_md5_update( &md5_ctx, pwd, pwdlen ) ) != 0 ) in pem_pbkdf1()
116 if( ( ret = mbedtls_md5_update( &md5_ctx, iv, 8 ) ) != 0 ) in pem_pbkdf1()
[all …]
/third_party/curl/lib/
Dmd5.c48 typedef struct md5_ctx MD5_CTX;
157 struct md5_ctx { struct
161 typedef struct md5_ctx MD5_CTX; argument
240 struct md5_ctx { struct
246 typedef struct md5_ctx MD5_CTX; argument
/third_party/ffmpeg/libavcodec/
Dhevcdec.h496 struct AVMD5 *md5_ctx; member
Dhevcdec.c3242 av_md5_init(s->md5_ctx); in verify_md5()
3252 av_md5_update(s->md5_ctx, src, w << pixel_shift); in verify_md5()
3254 av_md5_final(s->md5_ctx, md5); in verify_md5()
3412 av_freep(&s->md5_ctx); in hevc_decode_free()
3482 s->md5_ctx = av_md5_alloc(); in hevc_init_context()
3483 if (!s->md5_ctx) in hevc_init_context()