Home
last modified time | relevance | path

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

/system/security/keystore2/test_utils/
Dffi_test_utils.cpp334 int asn1_data_len = i2d_TEST_KEY_DESCRIPTION(key_description.get(), nullptr); in buildAsn1DerEncodedWrappedKeyDescription() local
335 if (asn1_data_len < 0) { in buildAsn1DerEncodedWrappedKeyDescription()
339 std::vector<uint8_t> asn1_data(asn1_data_len, 0); in buildAsn1DerEncodedWrappedKeyDescription()
347 asn1_data_len = i2d_TEST_KEY_DESCRIPTION(key_description.get(), &p); in buildAsn1DerEncodedWrappedKeyDescription()
348 if (asn1_data_len < 0) { in buildAsn1DerEncodedWrappedKeyDescription()
451 int asn1_data_len = i2d_TEST_SECURE_KEY_WRAPPER(sec_key_wrapper.get(), nullptr); in createWrappedKey() local
452 if (asn1_data_len < 0) { in createWrappedKey()
458 std::vector<uint8_t> asn1_data(asn1_data_len, 0); in createWrappedKey()
467 asn1_data_len = i2d_TEST_SECURE_KEY_WRAPPER(sec_key_wrapper.get(), &p); in createWrappedKey()
468 if (asn1_data_len < 0) { in createWrappedKey()