Searched refs:cbb (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/km_openssl/ |
D | openssl_utils.cpp | 124 CBB cbb; in EvpKeyToKeyMaterial() local 125 if (!CBB_init(&cbb, 0) || !EVP_marshal_private_key(&cbb, pkey) || in EvpKeyToKeyMaterial() 126 !CBB_finish(&cbb, &data, &data_len)) { in EvpKeyToKeyMaterial() 127 CBB_cleanup(&cbb); in EvpKeyToKeyMaterial()
|
/system/security/keystore2/src/crypto/ |
D | crypto.cpp | 240 CBB cbb; in ECKEYMarshalPrivateKey() local 242 if (!CBB_init_fixed(&cbb, buf, len) || in ECKEYMarshalPrivateKey() 243 !EC_KEY_marshal_private_key(&cbb, priv_key, EC_PKEY_NO_PARAMETERS | EC_PKEY_NO_PUBKEY) || in ECKEYMarshalPrivateKey() 244 !CBB_finish(&cbb, nullptr, &out_len)) { in ECKEYMarshalPrivateKey()
|