Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/x509/
A Dx509_encode_subject_public_key_info.c39 ltc_asn1_list alg_id[2]; in x509_encode_subject_public_key_info() local
55 LTC_SET_ASN1(alg_id, 0, LTC_ASN1_OBJECT_IDENTIFIER, oid, oidlen); in x509_encode_subject_public_key_info()
56 LTC_SET_ASN1(alg_id, 1, parameters_type, parameters, parameters_len); in x509_encode_subject_public_key_info()
59 LTC_ASN1_SEQUENCE, (unsigned long)sizeof(alg_id)/sizeof(alg_id[0]), alg_id, in x509_encode_subject_public_key_info()
A Dx509_decode_subject_public_key_info.c44 ltc_asn1_list alg_id[2]; in x509_decode_subject_public_key_info() local
73 LTC_SET_ASN1(alg_id, 0, LTC_ASN1_OBJECT_IDENTIFIER, tmpoid, sizeof(tmpoid)/sizeof(tmpoid[0])); in x509_decode_subject_public_key_info()
77 LTC_SET_ASN1(alg_id, 1, parameters_type, parameters, *_parameters_len); in x509_decode_subject_public_key_info()
84 LTC_SET_ASN1(subject_pubkey, 0, LTC_ASN1_SEQUENCE, alg_id, alg_id_num); in x509_decode_subject_public_key_info()
92 *_parameters_len = alg_id[1].size; in x509_decode_subject_public_key_info()
95 if ((err = pk_oid_cmp_with_asn1(oid, &alg_id[0])) != CRYPT_OK) { in x509_decode_subject_public_key_info()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/
A Dec25519_import_pkcs8.c29 ltc_asn1_list alg_id[1]; in ec25519_import_pkcs8() local
40 … LTC_SET_ASN1(alg_id, 0, LTC_ASN1_OBJECT_IDENTIFIER, tmpoid, sizeof(tmpoid) / sizeof(tmpoid[0])); in ec25519_import_pkcs8()
45 LTC_ASN1_SEQUENCE, 1uL, alg_id, in ec25519_import_pkcs8()
63 if ((err = pk_oid_cmp_with_asn1(oid, &alg_id[0])) != CRYPT_OK) { in ec25519_import_pkcs8()
A Dec25519_export.c27 ltc_asn1_list alg_id[1]; in ec25519_export() local
50 LTC_SET_ASN1(alg_id, 0, LTC_ASN1_OBJECT_IDENTIFIER, oid, oidlen); in ec25519_export()
60 LTC_ASN1_SEQUENCE, 1uL, alg_id, in ec25519_export()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509.c211 mbedtls_x509_buf alg_id, alg_params; in mbedtls_x509_get_rsassa_pss_params() local
238 if( ( ret = mbedtls_x509_get_alg_null( &p, end2, &alg_id ) ) != 0 ) in mbedtls_x509_get_rsassa_pss_params()
241 if( ( ret = mbedtls_oid_get_md_alg( &alg_id, md_alg ) ) != 0 ) in mbedtls_x509_get_rsassa_pss_params()
263 if( ( ret = mbedtls_x509_get_alg( &p, end2, &alg_id, &alg_params ) ) != 0 ) in mbedtls_x509_get_rsassa_pss_params()
267 if( MBEDTLS_OID_CMP( MBEDTLS_OID_MGF1, &alg_id ) != 0 ) in mbedtls_x509_get_rsassa_pss_params()

Completed in 6 milliseconds