Home
last modified time | relevance | path

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

/system/tpm/attestation/common/
Dtpm_utility_v1.cc710 int der_length = i2d_RSAPublicKey(rsa.get(), nullptr); in ConvertPublicKeyToDER() local
711 if (der_length < 0) { in ConvertPublicKeyToDER()
715 public_key_der->resize(der_length); in ConvertPublicKeyToDER()
718 der_length = i2d_RSAPublicKey(rsa.get(), &der_buffer); in ConvertPublicKeyToDER()
719 if (der_length < 0) { in ConvertPublicKeyToDER()
723 public_key_der->resize(der_length); in ConvertPublicKeyToDER()