Lines Matching refs:p
60 parse_pubkey(mbedtls_rsa_context *ctx, uint8_t **p, uint8_t *end) in parse_pubkey() argument
65 if ((rc = mbedtls_asn1_get_tag(p, end, &len, in parse_pubkey()
70 if (*p + len != end) { in parse_pubkey()
74 if ((rc = mbedtls_asn1_get_tag(p, end, &len, in parse_pubkey()
79 *p += len; in parse_pubkey()
81 if ((rc = mbedtls_asn1_get_tag(p, end, &len, MBEDTLS_ASN1_BIT_STRING)) != 0) { in parse_pubkey()
85 if (**p != MBEDTLS_ASN1_PRIMITIVE) { in parse_pubkey()
89 *p += 1; in parse_pubkey()
91 if ((rc = mbedtls_asn1_get_tag(p, end, &len, in parse_pubkey()
96 if (mbedtls_asn1_get_mpi(p, end, &ctx->MBEDTLS_CONTEXT_MEMBER(N)) != 0) { in parse_pubkey()
100 if (mbedtls_asn1_get_mpi(p, end, &ctx->MBEDTLS_CONTEXT_MEMBER(E)) != 0) { in parse_pubkey()
106 if (*p != end) { in parse_pubkey()