Home
last modified time | relevance | path

Searched refs:key_usage (Results 1 – 6 of 6) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dx509_csr.h214 int mbedtls_x509write_csr_set_key_usage( mbedtls_x509write_csr *ctx, unsigned char key_usage );
A Dx509_crt.h86 unsigned int key_usage; /**< Optional key usage extension value: See the values in x509.h */ member
1023 unsigned int key_usage );
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509write_csr.c92 int mbedtls_x509write_csr_set_key_usage( mbedtls_x509write_csr *ctx, unsigned char key_usage ) in mbedtls_x509write_csr_set_key_usage() argument
100 ret = mbedtls_asn1_write_named_bitstring( &c, buf, &key_usage, 8 ); in mbedtls_x509write_csr_set_key_usage()
A Dx509write_crt.c234 unsigned int key_usage ) in mbedtls_x509write_crt_set_key_usage() argument
250 if( ( key_usage & ~allowed_bits ) != 0 ) in mbedtls_x509write_crt_set_key_usage()
254 MBEDTLS_PUT_UINT16_LE( key_usage, ku, 0 ); in mbedtls_x509write_crt_set_key_usage()
A Dx509_crt.c550 unsigned int *key_usage) in x509_get_key_usage() argument
564 *key_usage = 0; in x509_get_key_usage()
567 *key_usage |= (unsigned int) bs.p[i] << (8*i); in x509_get_key_usage()
990 &crt->key_usage ) ) != 0 ) in x509_get_crt_ext()
1965 if( key_usage & (code) ) \
1969 unsigned int key_usage ) in x509_info_key_usage() argument
2168 if( ( ret = x509_info_key_usage( &p, &n, crt->key_usage ) ) != 0 ) in mbedtls_x509_crt_info()
2268 if( ( ( crt->key_usage & ~may_mask ) & usage_must ) != usage_must ) in mbedtls_x509_crt_check_key_usage()
2273 if( ( ( crt->key_usage & may_mask ) | usage_may ) != usage_may ) in mbedtls_x509_crt_check_key_usage()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog2992 * x509_crt.key_usage changed from unsigned char to unsigned int.
3597 * Certificate Request (CSR) generation with extensions (key_usage,

Completed in 17 milliseconds