/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_export.c | 41 LTC_ASN1_INTEGER, 1UL, key->p, in dsa_export() 42 LTC_ASN1_INTEGER, 1UL, key->q, in dsa_export() 43 LTC_ASN1_INTEGER, 1UL, key->g, in dsa_export() 44 LTC_ASN1_INTEGER, 1UL, key->y, in dsa_export() 74 LTC_SET_ASN1(int_list, 0, LTC_ASN1_INTEGER, key->p, 1UL); in dsa_export() 75 LTC_SET_ASN1(int_list, 1, LTC_ASN1_INTEGER, key->q, 1UL); in dsa_export() 76 LTC_SET_ASN1(int_list, 2, LTC_ASN1_INTEGER, key->g, 1UL); in dsa_export() 89 LTC_ASN1_INTEGER, 1UL, key->g, in dsa_export() 90 LTC_ASN1_INTEGER, 1UL, key->p, in dsa_export() 91 LTC_ASN1_INTEGER, 1UL, key->q, in dsa_export() [all …]
|
A D | dsa_import.c | 44 LTC_ASN1_INTEGER, 1UL, key->g, in dsa_import() 45 LTC_ASN1_INTEGER, 1UL, key->p, in dsa_import() 46 LTC_ASN1_INTEGER, 1UL, key->q, in dsa_import() 77 LTC_ASN1_INTEGER, 1UL, key->p, in dsa_import() 78 LTC_ASN1_INTEGER, 1UL, key->q, in dsa_import() 79 LTC_ASN1_INTEGER, 1UL, key->g, in dsa_import() 80 LTC_ASN1_INTEGER, 1UL, key->y, in dsa_import() 81 LTC_ASN1_INTEGER, 1UL, key->x, in dsa_import() 89 LTC_SET_ASN1(params, 0, LTC_ASN1_INTEGER, key->p, 1UL); in dsa_import() 90 LTC_SET_ASN1(params, 1, LTC_ASN1_INTEGER, key->q, 1UL); in dsa_import() [all …]
|
A D | dsa_set_pqg_dsaparam.c | 32 LTC_ASN1_INTEGER, 1UL, key->p, in dsa_set_pqg_dsaparam() 33 LTC_ASN1_INTEGER, 1UL, key->q, in dsa_set_pqg_dsaparam() 34 LTC_ASN1_INTEGER, 1UL, key->g, in dsa_set_pqg_dsaparam()
|
A D | dsa_verify_hash.c | 105 LTC_SET_ASN1(sig_seq, 0, LTC_ASN1_INTEGER, r, 1UL); in dsa_verify_hash() 106 LTC_SET_ASN1(sig_seq, 1, LTC_ASN1_INTEGER, s, 1UL); in dsa_verify_hash()
|
A D | dsa_sign_hash.c | 133 LTC_ASN1_INTEGER, 1UL, r, in dsa_sign_hash() 134 LTC_ASN1_INTEGER, 1UL, s, in dsa_sign_hash()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_export.c | 42 LTC_ASN1_INTEGER, 1UL, key->N, in rsa_export() 43 LTC_ASN1_INTEGER, 1UL, key->e, in rsa_export() 44 LTC_ASN1_INTEGER, 1UL, key->d, in rsa_export() 45 LTC_ASN1_INTEGER, 1UL, key->p, in rsa_export() 46 LTC_ASN1_INTEGER, 1UL, key->q, in rsa_export() 47 LTC_ASN1_INTEGER, 1UL, key->dP, in rsa_export() 48 LTC_ASN1_INTEGER, 1UL, key->dQ, in rsa_export() 49 LTC_ASN1_INTEGER, 1UL, key->qP, in rsa_export() 72 LTC_ASN1_INTEGER, 1UL, key->N, in rsa_export() 73 LTC_ASN1_INTEGER, 1UL, key->e, in rsa_export()
|
A D | rsa_import.c | 37 LTC_ASN1_INTEGER, 1UL, key->N, in rsa_import_pkcs1() 38 LTC_ASN1_INTEGER, 1UL, key->e, in rsa_import_pkcs1() 52 LTC_ASN1_INTEGER, 1UL, key->N, in rsa_import_pkcs1() 53 LTC_ASN1_INTEGER, 1UL, key->e, in rsa_import_pkcs1() 54 LTC_ASN1_INTEGER, 1UL, key->d, in rsa_import_pkcs1() 55 LTC_ASN1_INTEGER, 1UL, key->p, in rsa_import_pkcs1() 56 LTC_ASN1_INTEGER, 1UL, key->q, in rsa_import_pkcs1() 57 LTC_ASN1_INTEGER, 1UL, key->dP, in rsa_import_pkcs1() 58 LTC_ASN1_INTEGER, 1UL, key->dQ, in rsa_import_pkcs1() 59 LTC_ASN1_INTEGER, 1UL, key->qP, in rsa_import_pkcs1() [all …]
|
A D | rsa_import_x509.c | 16 LTC_ASN1_INTEGER, 1UL, key->N, in s_rsa_decode() 17 LTC_ASN1_INTEGER, 1UL, key->e, in s_rsa_decode()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_export.c | 32 LTC_ASN1_INTEGER, 1UL, key->prime, in dh_export() 33 LTC_ASN1_INTEGER, 1UL, key->base, in dh_export() 34 LTC_ASN1_INTEGER, 1UL, key->x, in dh_export() 43 LTC_ASN1_INTEGER, 1UL, key->prime, in dh_export() 44 LTC_ASN1_INTEGER, 1UL, key->base, in dh_export() 45 LTC_ASN1_INTEGER, 1UL, key->y, in dh_export()
|
A D | dh_import.c | 44 LTC_ASN1_INTEGER, 1UL, key->prime, in dh_import() 45 LTC_ASN1_INTEGER, 1UL, key->base, in dh_import() 46 LTC_ASN1_INTEGER, 1UL, key->x, in dh_import() 60 LTC_ASN1_INTEGER, 1UL, key->prime, in dh_import() 61 LTC_ASN1_INTEGER, 1UL, key->base, in dh_import() 62 LTC_ASN1_INTEGER, 1UL, key->y, in dh_import()
|
A D | dh_set_pg_dhparam.c | 31 LTC_ASN1_INTEGER, 1UL, key->prime, in dh_set_pg_dhparam() 32 LTC_ASN1_INTEGER, 1UL, key->base, in dh_set_pg_dhparam()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_export.c | 44 LTC_ASN1_INTEGER, 1UL, key->pubkey.x, in ecc_export() 45 LTC_ASN1_INTEGER, 1UL, key->pubkey.y, in ecc_export() 46 LTC_ASN1_INTEGER, 1UL, key->k, in ecc_export() 53 LTC_ASN1_INTEGER, 1UL, key->pubkey.x, in ecc_export() 54 LTC_ASN1_INTEGER, 1UL, key->pubkey.y, in ecc_export()
|
A D | ecc_import.c | 64 LTC_ASN1_INTEGER, 1UL, key->pubkey.x, in ecc_import_ex() 65 LTC_ASN1_INTEGER, 1UL, key->pubkey.y, in ecc_import_ex() 66 LTC_ASN1_INTEGER, 1UL, key->k, in ecc_import_ex() 76 LTC_ASN1_INTEGER, 1UL, key->pubkey.x, in ecc_import_ex() 77 LTC_ASN1_INTEGER, 1UL, key->pubkey.y, in ecc_import_ex()
|
A D | ecc_import_pkcs8.c | 71 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_INTEGER, NULL); in ecc_import_pkcs8() 82 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_INTEGER, &version); in ecc_import_pkcs8() 86 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_INTEGER, &order); in ecc_import_pkcs8() 87 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_INTEGER, &p_cofactor); in ecc_import_pkcs8() 131 LTC_ASN1_IS_TYPE(field->child->next, LTC_ASN1_INTEGER) && in ecc_import_pkcs8() 159 LTC_ASN1_IS_TYPE(p->child, LTC_ASN1_INTEGER) && in ecc_import_pkcs8()
|
A D | ecc_import_x509.c | 52 LTC_SET_ASN1(seq_ecparams, 4, LTC_ASN1_INTEGER, order, 1UL); in s_ecc_import_x509_with_curve() 57 LTC_SET_ASN1(seq_fieldid, 1, LTC_ASN1_INTEGER, prime, 1UL); in s_ecc_import_x509_with_curve()
|
A D | ecc_export_openssl.c | 100 LTC_SET_ASN1(seq_fieldid, 1, LTC_ASN1_INTEGER, prime, 1UL); in ecc_export_openssl() 111 LTC_SET_ASN1(seq_ecparams, 4, LTC_ASN1_INTEGER, order, 1UL); in ecc_export_openssl()
|
A D | ecc_import_openssl.c | 70 LTC_SET_ASN1(seq_ecparams, 4, LTC_ASN1_INTEGER, order, 1UL); in s_ecc_import_private_with_curve() 75 LTC_SET_ASN1(seq_fieldid, 1, LTC_ASN1_INTEGER, prime, 1UL); in s_ecc_import_private_with_curve()
|
A D | ecc_sign_hash.c | 121 LTC_ASN1_INTEGER, 1UL, r, in ecc_sign_hash_ex() 122 LTC_ASN1_INTEGER, 1UL, s, in ecc_sign_hash_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
A D | der_encode_sequence_multi.c | 50 case LTC_ASN1_INTEGER: in der_encode_sequence_multi() 104 case LTC_ASN1_INTEGER: in der_encode_sequence_multi()
|
A D | der_decode_sequence_multi.c | 49 case LTC_ASN1_INTEGER: in s_der_decode_sequence_va() 99 case LTC_ASN1_INTEGER: in s_der_decode_sequence_va()
|
A D | der_sequence_free.c | 42 case LTC_ASN1_INTEGER : if (in->data != NULL) { mp_clear(in->data); } break; in der_sequence_free()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/ |
A D | pbes2.c | 122 !LTC_ASN1_IS_TYPE(lkdf->next->child->next, LTC_ASN1_INTEGER)) { in pbes2_extract() 133 if(LTC_ASN1_IS_TYPE(loptseq, LTC_ASN1_INTEGER)) { in pbes2_extract() 155 if (LTC_ASN1_IS_TYPE(lenc->next->child, LTC_ASN1_INTEGER) && in pbes2_extract()
|
A D | pbes1.c | 99 !LTC_ASN1_IS_TYPE(s->next->child->next, LTC_ASN1_INTEGER)) { in pbes1_extract()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/general/ |
A D | der_asn1_maps.c | 119 LTC_ASN1_INTEGER, /* Integer type */
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 1449 LTC_SET_ASN1(cache_entry, j++, LTC_ASN1_INTEGER, fp_cache[i].g->x, 1); in ltc_ecc_fp_save_state() 1450 LTC_SET_ASN1(cache_entry, j++, LTC_ASN1_INTEGER, fp_cache[i].g->y, 1); in ltc_ecc_fp_save_state() 1451 LTC_SET_ASN1(cache_entry, j++, LTC_ASN1_INTEGER, fp_cache[i].g->z, 1); in ltc_ecc_fp_save_state() 1453 LTC_SET_ASN1(cache_entry, j++, LTC_ASN1_INTEGER, fp_cache[i].LUT[k]->x, 1); in ltc_ecc_fp_save_state() 1456 LTC_SET_ASN1(cache_entry, j++, LTC_ASN1_INTEGER, fp_cache[i].mu, 1); in ltc_ecc_fp_save_state() 1536 LTC_SET_ASN1(asn1_list, j++, LTC_ASN1_INTEGER, fp_cache[i].g->x, 1); in ltc_ecc_fp_restore_state() 1537 LTC_SET_ASN1(asn1_list, j++, LTC_ASN1_INTEGER, fp_cache[i].g->y, 1); in ltc_ecc_fp_restore_state() 1538 LTC_SET_ASN1(asn1_list, j++, LTC_ASN1_INTEGER, fp_cache[i].g->z, 1); in ltc_ecc_fp_restore_state() 1553 LTC_SET_ASN1(asn1_list, j++, LTC_ASN1_INTEGER, p->x, 1); in ltc_ecc_fp_restore_state() 1554 LTC_SET_ASN1(asn1_list, j++, LTC_ASN1_INTEGER, p->y, 1); in ltc_ecc_fp_restore_state() [all …]
|