• Home
  • Raw
  • Download

Lines Matching refs:reason

34 static keymaster_error_t TranslateEvpError(int reason);
36 static keymaster_error_t TranslateASN1Error(int reason);
37 static keymaster_error_t TranslateCipherError(int reason);
38 static keymaster_error_t TranslatePKCS8Error(int reason);
39 static keymaster_error_t TranslateX509v3Error(int reason);
40 static keymaster_error_t TranslateRsaError(int reason);
50 int reason = ERR_GET_REASON(error); in TranslateLastOpenSslError() local
53 switch (reason) { in TranslateLastOpenSslError()
67 return static_cast<keymaster_error_t>(reason); in TranslateLastOpenSslError()
69 return TranslateEvpError(reason); in TranslateLastOpenSslError()
72 return TranslateASN1Error(reason); in TranslateLastOpenSslError()
74 return TranslateCipherError(reason); in TranslateLastOpenSslError()
76 return TranslatePKCS8Error(reason); in TranslateLastOpenSslError()
78 return TranslateX509v3Error(reason); in TranslateLastOpenSslError()
80 return TranslateRsaError(reason); in TranslateLastOpenSslError()
83 LOG_E("ASN.1 parsing error %d", reason); in TranslateLastOpenSslError()
88 LOG_E("Openssl error %d, %d", ERR_GET_LIB(error), reason); in TranslateLastOpenSslError()
94 keymaster_error_t TranslatePKCS8Error(int reason) { in TranslatePKCS8Error() argument
95 switch (reason) { in TranslatePKCS8Error()
112 keymaster_error_t TranslateCipherError(int reason) { in TranslateCipherError() argument
113 switch (reason) { in TranslateCipherError()
133 keymaster_error_t TranslateASN1Error(int reason) { in TranslateASN1Error() argument
134 switch (reason) { in TranslateASN1Error()
151 keymaster_error_t TranslateX509v3Error(int reason) { in TranslateX509v3Error() argument
152 switch (reason) { in TranslateX509v3Error()
161 keymaster_error_t TranslateRsaError(int reason) { in TranslateRsaError() argument
162 switch (reason) { in TranslateRsaError()
179 keymaster_error_t TranslateEvpError(int reason) { in TranslateEvpError() argument
180 switch (reason) { in TranslateEvpError()