Searched refs:ku_reject (Results 1 – 2 of 2) sorted by relevance
/external/openssl/crypto/x509v3/ |
D | v3_purp.c | 501 #define ku_reject(x, usage) \ macro 511 if(ku_reject(x, KU_KEY_CERT_SIGN)) return 0; in check_ca() 557 if(ku_reject(x,KU_DIGITAL_SIGNATURE)) return 0; in check_purpose_ssl_client() 570 if(ku_reject(x, KU_DIGITAL_SIGNATURE|KU_KEY_ENCIPHERMENT)) return 0; in check_purpose_ssl_server() 582 if(ku_reject(x, KU_KEY_ENCIPHERMENT)) return 0; in check_purpose_ns_ssl_server() 612 if(ku_reject(x, KU_DIGITAL_SIGNATURE|KU_NON_REPUDIATION)) return 0; in check_purpose_smime_sign() 621 if(ku_reject(x, KU_KEY_ENCIPHERMENT)) return 0; in check_purpose_smime_encrypt() 632 if(ku_reject(x, KU_CRL_SIGN)) return 0; in check_purpose_crl_sign() 718 if(ku_reject(issuer, KU_DIGITAL_SIGNATURE)) in X509_check_issued() 721 else if(ku_reject(issuer, KU_KEY_CERT_SIGN)) in X509_check_issued()
|
/external/openssl/ssl/ |
D | ssl_lib.c | 2240 #define ku_reject(x, usage) \ macro 2276 if (ku_reject(x, X509v3_KU_KEY_AGREEMENT)) in ssl_check_srvr_ecc_cert_and_alg() 2304 if (ku_reject(x, X509v3_KU_DIGITAL_SIGNATURE)) in ssl_check_srvr_ecc_cert_and_alg()
|