Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/km_openssl/
Dcertificate_utils.h31 keymaster_error_t make_name_from_str(const char name[], X509_NAME_Ptr* name_out);
33 keymaster_error_t make_name_from_der(const keymaster_blob_t& name, X509_NAME_Ptr* name_out);
35 keymaster_error_t get_common_name(X509_NAME* name, UniquePtr<const char[]>* name_out);
/system/keymaster/km_openssl/
Dcertificate_utils.cpp65 keymaster_error_t make_name_from_str(const char name[], X509_NAME_Ptr* name_out) { in make_name_from_str() argument
66 if (name_out == nullptr) return KM_ERROR_UNEXPECTED_NULL_POINTER; in make_name_from_str()
79 *name_out = move(x509_name); in make_name_from_str()
83 keymaster_error_t make_name_from_der(const keymaster_blob_t& name, X509_NAME_Ptr* name_out) { in make_name_from_der() argument
84 if (!name_out || !name.data) return KM_ERROR_UNEXPECTED_NULL_POINTER; in make_name_from_der()
92 *name_out = move(x509_name); in make_name_from_der()
96 keymaster_error_t get_common_name(X509_NAME* name, UniquePtr<const char[]>* name_out) { in get_common_name() argument
97 if (name == nullptr || name_out == nullptr) return KM_ERROR_UNEXPECTED_NULL_POINTER; in get_common_name()
104 *name_out = UniquePtr<const char[]>{name_ptr.release()}; in get_common_name()