Home
last modified time | relevance | path

Searched refs:LTC_ASN1_INTEGER (Results 1 – 25 of 38) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_export.c41 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 Ddsa_import.c44 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 Ddsa_set_pqg_dsaparam.c32 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 Ddsa_verify_hash.c105 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 Ddsa_sign_hash.c133 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 Drsa_export.c42 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 Drsa_import.c37 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 Drsa_import_x509.c16 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 Ddh_export.c32 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 Ddh_import.c44 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 Ddh_set_pg_dhparam.c31 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 Decc_export.c44 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 Decc_import.c64 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 Decc_import_pkcs8.c71 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 Decc_import_x509.c52 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 Decc_export_openssl.c100 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 Decc_import_openssl.c70 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 Decc_sign_hash.c121 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 Dder_encode_sequence_multi.c50 case LTC_ASN1_INTEGER: in der_encode_sequence_multi()
104 case LTC_ASN1_INTEGER: in der_encode_sequence_multi()
A Dder_decode_sequence_multi.c49 case LTC_ASN1_INTEGER: in s_der_decode_sequence_va()
99 case LTC_ASN1_INTEGER: in s_der_decode_sequence_va()
A Dder_sequence_free.c42 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 Dpbes2.c122 !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 Dpbes1.c99 !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 Dder_asn1_maps.c119 LTC_ASN1_INTEGER, /* Integer type */
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/fp/
A Dltc_ecc_fp_mulmod.c1449 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 …]

Completed in 19 milliseconds

12