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.cc663 int der_length = i2d_RSAPublicKey(rsa.get(), nullptr); in ConvertPublicKeyToDER() local
664 if (der_length < 0) { in ConvertPublicKeyToDER()
668 public_key_der->resize(der_length); in ConvertPublicKeyToDER()
671 der_length = i2d_RSAPublicKey(rsa.get(), &der_buffer); in ConvertPublicKeyToDER()
672 if (der_length < 0) { in ConvertPublicKeyToDER()
676 public_key_der->resize(der_length); in ConvertPublicKeyToDER()