Lines Matching refs:end
61 const unsigned char *end = params->p + params->len; in pkcs5_parse_pbkdf2_params() local
75 if( ( ret = mbedtls_asn1_get_tag( &p, end, &salt->len, MBEDTLS_ASN1_OCTET_STRING ) ) != 0 ) in pkcs5_parse_pbkdf2_params()
81 if( ( ret = mbedtls_asn1_get_int( &p, end, iterations ) ) != 0 ) in pkcs5_parse_pbkdf2_params()
84 if( p == end ) in pkcs5_parse_pbkdf2_params()
87 if( ( ret = mbedtls_asn1_get_int( &p, end, keylen ) ) != 0 ) in pkcs5_parse_pbkdf2_params()
93 if( p == end ) in pkcs5_parse_pbkdf2_params()
96 if( ( ret = mbedtls_asn1_get_alg_null( &p, end, &prf_alg_oid ) ) != 0 ) in pkcs5_parse_pbkdf2_params()
104 if( p != end ) in pkcs5_parse_pbkdf2_params()
117 unsigned char *p, *end; in mbedtls_pkcs5_pbes2() local
130 end = p + pbe_params->len; in mbedtls_pkcs5_pbes2()
142 if( ( ret = mbedtls_asn1_get_alg( &p, end, &kdf_alg_oid, &kdf_alg_params ) ) != 0 ) in mbedtls_pkcs5_pbes2()
161 if( ( ret = mbedtls_asn1_get_alg( &p, end, &enc_scheme_oid, in mbedtls_pkcs5_pbes2()