Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c81 CBB spki, algorithm, oid, null, key_bitstring; in rsa_pub_encode() local
87 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in rsa_pub_encode()
88 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in rsa_pub_encode()
89 !RSA_marshal_public_key(&key_bitstring, key->pkey.rsa) || in rsa_pub_encode()
Dp_ed25519_asn1.c80 CBB spki, algorithm, oid, key_bitstring; in ed25519_pub_encode() local
85 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in ed25519_pub_encode()
86 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in ed25519_pub_encode()
87 !CBB_add_bytes(&key_bitstring, key->key.pub.value, 32) || in ed25519_pub_encode()
Dp_ec_asn1.c74 CBB spki, algorithm, oid, key_bitstring; in eckey_pub_encode() local
80 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in eckey_pub_encode()
81 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in eckey_pub_encode()
82 !EC_POINT_point2cbb(&key_bitstring, group, public_key, in eckey_pub_encode()
Dp_dsa_asn1.c109 CBB spki, algorithm, oid, key_bitstring; in dsa_pub_encode() local
116 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in dsa_pub_encode()
117 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in dsa_pub_encode()
118 !BN_marshal_asn1(&key_bitstring, dsa->pub_key) || in dsa_pub_encode()