Home
last modified time | relevance | path

Searched refs:ex_kusage (Results 1 – 5 of 5) sorted by relevance

/openssl/crypto/x509/
H A Dv3_purp.c387 (((x)->ex_flags & EXFLAG_KUSAGE) != 0 && ((x)->ex_kusage & (usage)) == 0)
475 x->ex_kusage = 0; in ossl_x509v3_cache_extensions()
477 x->ex_kusage = usage->data[0]; in ossl_x509v3_cache_extensions()
479 x->ex_kusage |= usage->data[1] << 8; in ossl_x509v3_cache_extensions()
484 if (x->ex_kusage == 0) { in ossl_x509v3_cache_extensions()
864 && ((x->ex_kusage & ~(KU_NON_REPUDIATION | KU_DIGITAL_SIGNATURE)) || in check_purpose_timestamp_sign()
865 !(x->ex_kusage & (KU_NON_REPUDIATION | KU_DIGITAL_SIGNATURE)))) in check_purpose_timestamp_sign()
907 if ((x->ex_kusage & KU_DIGITAL_SIGNATURE) == 0) in check_purpose_code_sign()
909 if ((x->ex_kusage & (KU_KEY_CERT_SIGN | KU_CRL_SIGN)) != 0) in check_purpose_code_sign()
1052 return (x->ex_flags & EXFLAG_KUSAGE) != 0 ? x->ex_kusage : UINT32_MAX; in X509_get_key_usage()
H A Dx_x509.c62 ret->ex_kusage = 0; in x509_cb()
H A Dx509_vfy.c620 CB_FAIL_IF((x->ex_kusage & KU_KEY_CERT_SIGN) == 0, ctx, in check_extensions()
632 CB_FAIL_IF((x->ex_kusage & KU_KEY_CERT_SIGN) != 0, ctx, x, i, in check_extensions()
640 || (x->ex_kusage & KU_CRL_SIGN) != 0 in check_extensions()
1659 (issuer->ex_kusage & KU_CRL_SIGN) == 0 && in check_crl()
/openssl/include/crypto/
H A Dx509.h185 uint32_t ex_kusage; member
/openssl/ssl/
H A Dssl_lib.c4561 uint32_t ex_kusage; in ssl_set_masks() local
4562 ex_kusage = X509_get_key_usage(c->pkeys[SSL_PKEY_ECC].x509); in ssl_set_masks()
4563 ecdsa_ok = ex_kusage & X509v3_KU_DIGITAL_SIGNATURE; in ssl_set_masks()

Completed in 49 milliseconds