Searched refs:ku_reject (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/x509v3/ |
D | v3_purp.c | 535 #define ku_reject(x, usage) \ macro 545 if(ku_reject(x, KU_KEY_CERT_SIGN)) return 0; in check_ca() 589 if(ku_reject(x,KU_DIGITAL_SIGNATURE|KU_KEY_AGREEMENT)) return 0; in check_purpose_ssl_client() 607 if(ku_reject(x, KU_TLS)) return 0; in check_purpose_ssl_server() 619 if(ku_reject(x, KU_KEY_ENCIPHERMENT)) return 0; in check_purpose_ns_ssl_server() 649 if(ku_reject(x, KU_DIGITAL_SIGNATURE|KU_NON_REPUDIATION)) return 0; in check_purpose_smime_sign() 658 if(ku_reject(x, KU_KEY_ENCIPHERMENT)) return 0; in check_purpose_smime_encrypt() 669 if(ku_reject(x, KU_CRL_SIGN)) return 0; in check_purpose_crl_sign() 755 if(ku_reject(issuer, KU_DIGITAL_SIGNATURE)) in X509_check_issued() 758 else if(ku_reject(issuer, KU_KEY_CERT_SIGN)) in X509_check_issued()
|
/external/boringssl/src/ssl/ |
D | ssl_lib.c | 1898 #define ku_reject(x, usage) \ macro 1914 if (ku_reject(x, X509v3_KU_DIGITAL_SIGNATURE)) { in ssl_check_srvr_ecc_cert_and_alg()
|