Lines Matching refs:md5_ctx
80 mbedtls_md5_context md5_ctx; in pem_pbkdf1() local
85 mbedtls_md5_init( &md5_ctx ); in pem_pbkdf1()
90 if( ( ret = mbedtls_md5_starts_ret( &md5_ctx ) ) != 0 ) in pem_pbkdf1()
92 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, pwd, pwdlen ) ) != 0 ) in pem_pbkdf1()
94 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, iv, 8 ) ) != 0 ) in pem_pbkdf1()
96 if( ( ret = mbedtls_md5_finish_ret( &md5_ctx, md5sum ) ) != 0 ) in pem_pbkdf1()
110 if( ( ret = mbedtls_md5_starts_ret( &md5_ctx ) ) != 0 ) in pem_pbkdf1()
112 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, md5sum, 16 ) ) != 0 ) in pem_pbkdf1()
114 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, pwd, pwdlen ) ) != 0 ) in pem_pbkdf1()
116 if( ( ret = mbedtls_md5_update_ret( &md5_ctx, iv, 8 ) ) != 0 ) in pem_pbkdf1()
118 if( ( ret = mbedtls_md5_finish_ret( &md5_ctx, md5sum ) ) != 0 ) in pem_pbkdf1()
128 mbedtls_md5_free( &md5_ctx ); in pem_pbkdf1()