/net-tools-latest/mbedtls-2.4.0/library/ |
D | asn1write.c | 179 const char *oid, size_t oid_len ) in mbedtls_asn1_write_oid() argument 185 (const unsigned char *) oid, oid_len ) ); in mbedtls_asn1_write_oid() 193 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier() argument 204 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in mbedtls_asn1_write_algorithm_identifier() 332 const char *oid, size_t oid_len, in mbedtls_asn1_store_named_data() argument 338 if( ( cur = mbedtls_asn1_find_named_data( *head, oid, oid_len ) ) == NULL ) in mbedtls_asn1_store_named_data() 347 cur->oid.len = oid_len; in mbedtls_asn1_store_named_data() 348 cur->oid.p = mbedtls_calloc( 1, oid_len ); in mbedtls_asn1_store_named_data() 355 memcpy( cur->oid.p, oid, oid_len ); in mbedtls_asn1_store_named_data()
|
D | x509_create.c | 166 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument 171 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension() 196 const char *oid, size_t oid_len, in x509_write_name() argument 204 if( MBEDTLS_OID_SIZE( MBEDTLS_OID_PKCS9_EMAIL ) == oid_len && in x509_write_name() 205 memcmp( oid, MBEDTLS_OID_PKCS9_EMAIL, oid_len ) == 0 ) in x509_write_name() 220 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in x509_write_name() 256 const char *oid, size_t oid_len, in mbedtls_x509_write_sig() argument 281 oid_len, 0 ) ); in mbedtls_x509_write_sig()
|
D | pkwrite.c | 119 size_t oid_len; in pk_write_ec_param() local 121 if( ( ret = mbedtls_oid_get_oid_by_ec_grp( ec->grp.id, &oid, &oid_len ) ) != 0 ) in pk_write_ec_param() 124 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in pk_write_ec_param() 155 size_t len = 0, par_len = 0, oid_len; in mbedtls_pk_write_pubkey_der() local 177 &oid, &oid_len ) ) != 0 ) in mbedtls_pk_write_pubkey_der() 189 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_algorithm_identifier( &c, buf, oid, oid_len, in mbedtls_pk_write_pubkey_der()
|
D | x509write_csr.c | 81 const char *oid, size_t oid_len, in mbedtls_x509write_csr_set_extension() argument 84 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_csr_set_extension()
|
D | x509write_crt.c | 130 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension() argument 134 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_crt_set_extension()
|
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/ |
D | asn1write.h | 111 const char *oid, size_t oid_len ); 127 const char *oid, size_t oid_len, 231 const char *oid, size_t oid_len,
|
D | x509.h | 307 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, 315 const char *oid, size_t oid_len,
|
D | x509_csr.h | 235 const char *oid, size_t oid_len,
|
D | x509_crt.h | 530 const char *oid, size_t oid_len,
|