Home
last modified time | relevance | path

Searched refs:oid_len (Results 1 – 25 of 30) sorted by relevance

12

/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpsa_util.h165 char const **oid, size_t *oid_len ) in mbedtls_psa_get_ecc_oid_from_id() argument
175 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192R1 ); in mbedtls_psa_get_ecc_oid_from_id()
181 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP224R1 ); in mbedtls_psa_get_ecc_oid_from_id()
187 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
193 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
199 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP521R1 ); in mbedtls_psa_get_ecc_oid_from_id()
210 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192K1 ); in mbedtls_psa_get_ecc_oid_from_id()
233 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
239 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
245 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP512R1 ); in mbedtls_psa_get_ecc_oid_from_id()
[all …]
A Dasn1write.h139 const char *oid, size_t oid_len );
158 const char *oid, size_t oid_len,
362 const char *oid, size_t oid_len,
A Dx509.h335 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
343 const char *oid, size_t oid_len,
A Dx509_csr.h242 const char *oid, size_t oid_len,
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dpsa_util.h165 char const **oid, size_t *oid_len ) in mbedtls_psa_get_ecc_oid_from_id() argument
175 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192R1 ); in mbedtls_psa_get_ecc_oid_from_id()
181 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP224R1 ); in mbedtls_psa_get_ecc_oid_from_id()
187 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
193 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
199 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP521R1 ); in mbedtls_psa_get_ecc_oid_from_id()
210 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192K1 ); in mbedtls_psa_get_ecc_oid_from_id()
233 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
239 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
245 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP512R1 ); in mbedtls_psa_get_ecc_oid_from_id()
[all …]
A Dasn1write.h139 const char *oid, size_t oid_len );
158 const char *oid, size_t oid_len,
362 const char *oid, size_t oid_len,
A Dx509.h335 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
343 const char *oid, size_t oid_len,
A Dx509_csr.h242 const char *oid, size_t oid_len,
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dpsa_util.h165 char const **oid, size_t *oid_len ) in mbedtls_psa_get_ecc_oid_from_id() argument
175 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192R1 ); in mbedtls_psa_get_ecc_oid_from_id()
181 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP224R1 ); in mbedtls_psa_get_ecc_oid_from_id()
187 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
193 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
199 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP521R1 ); in mbedtls_psa_get_ecc_oid_from_id()
210 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192K1 ); in mbedtls_psa_get_ecc_oid_from_id()
233 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
239 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
245 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP512R1 ); in mbedtls_psa_get_ecc_oid_from_id()
[all …]
A Dasn1write.h139 const char *oid, size_t oid_len );
158 const char *oid, size_t oid_len,
362 const char *oid, size_t oid_len,
A Dx509.h335 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
343 const char *oid, size_t oid_len,
A Dx509_csr.h242 const char *oid, size_t oid_len,
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dpsa_util.h165 char const **oid, size_t *oid_len ) in mbedtls_psa_get_ecc_oid_from_id() argument
175 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192R1 ); in mbedtls_psa_get_ecc_oid_from_id()
181 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP224R1 ); in mbedtls_psa_get_ecc_oid_from_id()
187 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
193 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
199 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP521R1 ); in mbedtls_psa_get_ecc_oid_from_id()
210 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192K1 ); in mbedtls_psa_get_ecc_oid_from_id()
233 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
239 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
245 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP512R1 ); in mbedtls_psa_get_ecc_oid_from_id()
[all …]
A Dasn1write.h139 const char *oid, size_t oid_len );
158 const char *oid, size_t oid_len,
362 const char *oid, size_t oid_len,
A Dx509.h335 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
343 const char *oid, size_t oid_len,
A Dx509_csr.h242 const char *oid, size_t oid_len,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dpsa_util.h165 char const **oid, size_t *oid_len ) in mbedtls_psa_get_ecc_oid_from_id() argument
175 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192R1 ); in mbedtls_psa_get_ecc_oid_from_id()
181 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP224R1 ); in mbedtls_psa_get_ecc_oid_from_id()
187 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
193 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
199 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP521R1 ); in mbedtls_psa_get_ecc_oid_from_id()
210 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_SECP192K1 ); in mbedtls_psa_get_ecc_oid_from_id()
233 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP256R1 ); in mbedtls_psa_get_ecc_oid_from_id()
239 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP384R1 ); in mbedtls_psa_get_ecc_oid_from_id()
245 *oid_len = MBEDTLS_OID_SIZE( MBEDTLS_OID_EC_GRP_BP512R1 ); in mbedtls_psa_get_ecc_oid_from_id()
[all …]
A Dasn1write.h139 const char *oid, size_t oid_len );
158 const char *oid, size_t oid_len,
362 const char *oid, size_t oid_len,
A Dx509.h335 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
343 const char *oid, size_t oid_len,
A Dx509_csr.h242 const char *oid, size_t oid_len,
/optee_os/lib/libmbedtls/mbedtls/library/
A Dasn1write.c178 const char *oid, size_t oid_len ) in mbedtls_asn1_write_oid() argument
184 (const unsigned char *) oid, oid_len ) ); in mbedtls_asn1_write_oid()
192 const char *oid, size_t oid_len, in mbedtls_asn1_write_algorithm_identifier() argument
203 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in mbedtls_asn1_write_algorithm_identifier()
414 const char *oid, size_t oid_len, in mbedtls_asn1_store_named_data() argument
420 if( ( cur = asn1_find_named_data( *head, oid, oid_len ) ) == NULL ) in mbedtls_asn1_store_named_data()
429 cur->oid.len = oid_len; in mbedtls_asn1_store_named_data()
430 cur->oid.p = mbedtls_calloc( 1, oid_len ); in mbedtls_asn1_store_named_data()
437 memcpy( cur->oid.p, oid, oid_len ); in mbedtls_asn1_store_named_data()
A Dx509_create.c208 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument
213 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension()
242 size_t oid_len = cur_name->oid.len; in x509_write_name() local
254 oid_len ) ); in x509_write_name()
290 const char *oid, size_t oid_len, in mbedtls_x509_write_sig() argument
315 oid_len, 0 ) ); in mbedtls_x509_write_sig()
A Dpkwrite.c145 size_t oid_len; in pk_write_ec_param() local
147 if( ( ret = mbedtls_oid_get_oid_by_ec_grp( ec->grp.id, &oid, &oid_len ) ) != 0 ) in pk_write_ec_param()
150 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, oid_len ) ); in pk_write_ec_param()
229 size_t len = 0, par_len = 0, oid_len; in mbedtls_pk_write_pubkey_der() local
283 ret = mbedtls_psa_get_ecc_oid_from_id( curve, bits, &oid, &oid_len ); in mbedtls_pk_write_pubkey_der()
290 oid, oid_len ) ); in mbedtls_pk_write_pubkey_der()
298 &oid_len ) ) != 0 ) in mbedtls_pk_write_pubkey_der()
303 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_algorithm_identifier( &c, buf, oid, oid_len, in mbedtls_pk_write_pubkey_der()
A Dx509write_csr.c85 const char *oid, size_t oid_len, in mbedtls_x509write_csr_set_extension() argument
88 return mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_csr_set_extension()
A Dx509write_crt.c127 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension() argument
131 return( mbedtls_x509_set_extension( &ctx->extensions, oid, oid_len, in mbedtls_x509write_crt_set_extension()

Completed in 42 milliseconds

12