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.c71 CBB spki, algorithm, oid, null, key_bitstring; in rsa_pub_encode() local
77 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in rsa_pub_encode()
78 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in rsa_pub_encode()
79 !RSA_marshal_public_key(&key_bitstring, key->pkey.rsa) || in rsa_pub_encode()
Dp_ed25519_asn1.c76 CBB spki, algorithm, oid, key_bitstring; in ed25519_pub_encode() local
81 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in ed25519_pub_encode()
82 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in ed25519_pub_encode()
83 !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()