Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c76 CBS ec_private_key, private_key; in EC_KEY_parse_private_key() local
78 if (!CBS_get_asn1(cbs, &ec_private_key, CBS_ASN1_SEQUENCE) || in EC_KEY_parse_private_key()
79 !CBS_get_asn1_uint64(&ec_private_key, &version) || in EC_KEY_parse_private_key()
81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) { in EC_KEY_parse_private_key()
90 if (CBS_peek_asn1_tag(&ec_private_key, kParametersTag)) { in EC_KEY_parse_private_key()
96 if (!CBS_get_asn1(&ec_private_key, &child, kParametersTag)) { in EC_KEY_parse_private_key()
137 if (CBS_peek_asn1_tag(&ec_private_key, kPublicKeyTag)) { in EC_KEY_parse_private_key()
140 if (!CBS_get_asn1(&ec_private_key, &child, kPublicKeyTag) || in EC_KEY_parse_private_key()
171 if (CBS_len(&ec_private_key) != 0) { in EC_KEY_parse_private_key()
199 CBB ec_private_key, private_key; in EC_KEY_marshal_private_key() local
[all …]