Home
last modified time | relevance | path

Searched refs:pk_end (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-a-latest/drivers/auth/mbedtls/
Dmbedtls_x509_parser.c194 unsigned char *p, *end, *crt_end, *pk_end; in cert_parse() local
314 pk_end = p + len; in cert_parse()
315 pk.len = pk_end - pk.p; in cert_parse()
318 ret = mbedtls_asn1_get_tag(&p, pk_end, &len, MBEDTLS_ASN1_CONSTRUCTED | in cert_parse()
326 ret = mbedtls_asn1_get_bitstring_null(&p, pk_end, &len); in cert_parse()
327 if ((ret != 0) || (p + len != pk_end)) { in cert_parse()
330 p = pk_end; in cert_parse()
Dmbedtls_psa_crypto.c187 unsigned char *pk_end; in get_ecdsa_pkinfo_from_asn1() local
192 pk_end = pk_ptr + *pk_len; in get_ecdsa_pkinfo_from_asn1()
193 rc = mbedtls_asn1_get_tag(&pk_ptr, pk_end, &len, in get_ecdsa_pkinfo_from_asn1()
200 pk_end = pk_ptr + len; in get_ecdsa_pkinfo_from_asn1()
201 rc = mbedtls_asn1_get_alg(&pk_ptr, pk_end, &alg_oid, &alg_params); in get_ecdsa_pkinfo_from_asn1()
216 pk_end = pk_ptr + len - (alg_oid.len + alg_params.len + in get_ecdsa_pkinfo_from_asn1()
218 rc = mbedtls_asn1_get_bitstring_null(&pk_ptr, pk_end, &len); in get_ecdsa_pkinfo_from_asn1()