Home
last modified time | relevance | path

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

/system/security/keystore2/src/crypto/
Dcrypto.cpp252 CBS cbs; in ECKEYParsePrivateKey() local
253 CBS_init(&cbs, buf, len); in ECKEYParsePrivateKey()
255 auto result = EC_KEY_parse_private_key(&cbs, group); in ECKEYParsePrivateKey()
257 if (result != nullptr && CBS_len(&cbs) != 0) { in ECKEYParsePrivateKey()
/system/security/keystore2/src/crypto/tests/
Dcertificate_utils_test.cpp248 CBS cbs; in TEST_P() local
251 CBS_init(&cbs, rsa_key_2k, rsa_key_2k_len); in TEST_P()
254 CBS_init(&cbs, rsa_key_4k, rsa_key_4k_len); in TEST_P()
259 EVP_PKEY_Ptr pkey(EVP_parse_private_key(&cbs)); in TEST_P()
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp976 CBS cbs; in makeCert() local
977 CBS_init(&cbs, key.data(), key.size()); in makeCert()
978 auto pkey = EVP_parse_public_key(&cbs); in makeCert()