Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 236) sorted by relevance

12345678910

/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dcheck_config.h37 #error "mbed TLS requires a platform with 8-bit chars"
42 #error "MBEDTLS_PLATFORM_C is required on Windows"
72 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
80 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
89 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
98 #error "MBEDTLS_ECDH_C defined, but not all prerequisites"
185 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
190 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
714 #error "Illegal protocol selection"
719 #error "Illegal protocol selection"
[all …]
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dcheck_config.h37 #error "mbed TLS requires a platform with 8-bit chars"
42 #error "MBEDTLS_PLATFORM_C is required on Windows"
72 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
80 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
89 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
98 #error "MBEDTLS_ECDH_C defined, but not all prerequisites"
185 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
190 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
714 #error "Illegal protocol selection"
719 #error "Illegal protocol selection"
[all …]
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dcheck_config.h37 #error "mbed TLS requires a platform with 8-bit chars"
42 #error "MBEDTLS_PLATFORM_C is required on Windows"
72 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
80 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
89 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
98 #error "MBEDTLS_ECDH_C defined, but not all prerequisites"
185 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
190 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
714 #error "Illegal protocol selection"
719 #error "Illegal protocol selection"
[all …]
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dcheck_config.h37 #error "mbed TLS requires a platform with 8-bit chars"
42 #error "MBEDTLS_PLATFORM_C is required on Windows"
72 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
80 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
89 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
98 #error "MBEDTLS_ECDH_C defined, but not all prerequisites"
185 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
190 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
714 #error "Illegal protocol selection"
719 #error "Illegal protocol selection"
[all …]
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dcheck_config.h37 #error "mbed TLS requires a platform with 8-bit chars"
42 #error "MBEDTLS_PLATFORM_C is required on Windows"
72 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
80 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
89 #error "MBEDTLS_CMAC_C defined, but not all prerequisites"
98 #error "MBEDTLS_ECDH_C defined, but not all prerequisites"
185 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
190 #error "MBEDTLS_CTR_DRBG_ENTROPY_LEN value too high"
714 #error "Illegal protocol selection"
719 #error "Illegal protocol selection"
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_decode_sequence_flexi.c61 goto error; in der_decode_sequence_flexi()
69 goto error; in der_decode_sequence_flexi()
74 goto error; in der_decode_sequence_flexi()
90 goto error; in der_decode_sequence_flexi()
96 goto error; in der_decode_sequence_flexi()
134 goto error; in der_decode_sequence_flexi()
142 goto error; in der_decode_sequence_flexi()
146 goto error; in der_decode_sequence_flexi()
176 goto error; in der_decode_sequence_flexi()
184 goto error; in der_decode_sequence_flexi()
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_recover_key.c65 goto error; in ecc_recover_key()
74 goto error; in ecc_recover_key()
89 goto error; in ecc_recover_key()
98 err = CRYPT_ERROR; goto error; in ecc_recover_key()
102 goto error; in ecc_recover_key()
109 goto error; in ecc_recover_key()
132 goto error; in ecc_recover_key()
139 goto error; in ecc_recover_key()
145 goto error; in ecc_recover_key()
152 goto error; in ecc_recover_key()
[all …]
A Decc_verify_hash.c60 goto error; in ecc_verify_hash_ex()
68 goto error; in ecc_verify_hash_ex()
76 … LTC_ASN1_EOL, 0UL, NULL)) != CRYPT_OK) { goto error; } in ecc_verify_hash_ex()
83 goto error; in ecc_verify_hash_ex()
85 …read_unsigned_bin(r, (unsigned char *)sig, i)) != CRYPT_OK) { goto error; } in ecc_verify_hash_ex()
92 err = CRYPT_ERROR; goto error; in ecc_verify_hash_ex()
96 goto error; in ecc_verify_hash_ex()
118 goto error; in ecc_verify_hash_ex()
125 goto error; in ecc_verify_hash_ex()
132 goto error; in ecc_verify_hash_ex()
[all …]
A Decc_set_key.c31 goto error; in ecc_set_key()
35 goto error; in ecc_set_key()
38 …p.ecc_ptmul(key->k, &key->dp.base, &key->pubkey, a, prime, 1)) != CRYPT_OK) { goto error; } in ecc_set_key()
42 …cc_import_point(in, inlen, prime, a, b, key->pubkey.x, key->pubkey.y)) != CRYPT_OK) { goto error; } in ecc_set_key()
43 …t(key->pubkey.z, 1)) != CRYPT_OK) { goto error; } in ecc_set_key()
47 goto error; in ecc_set_key()
52 goto error; in ecc_set_key()
58 error: in ecc_set_key()
A Decc_export_openssl.c53 …n_a > sizeof(bin_a)) { err = CRYPT_BUFFER_OVERFLOW; goto error; } in ecc_export_openssl()
54 if ((err = mp_to_unsigned_bin(a, bin_a)) != CRYPT_OK) { goto error; } in ecc_export_openssl()
59 …n_b > sizeof(bin_b)) { err = CRYPT_BUFFER_OVERFLOW; goto error; } in ecc_export_openssl()
60 if ((err = mp_to_unsigned_bin(b, bin_b)) != CRYPT_OK) { goto error; } in ecc_export_openssl()
66 if (err != CRYPT_OK) { goto error; } in ecc_export_openssl()
71 if (err != CRYPT_OK) { goto error; } in ecc_export_openssl()
77 if ((err = pk_get_oid(PKA_EC_PRIMEF, &OID)) != CRYPT_OK) { goto error; } in ecc_export_openssl()
85 … if (key->dp.oidlen == 0) { err = CRYPT_INVALID_ARG; goto error; } in ecc_export_openssl()
109 goto error; in ecc_export_openssl()
145 if ((err = mp_to_unsigned_bin(key->k, bin_k)) != CRYPT_OK) { goto error; } in ecc_export_openssl()
[all …]
A Decc_set_curve_internal.c62 if ((err = mp_copy(srckey->dp.prime, key->dp.prime )) != CRYPT_OK) { goto error; } in ecc_copy_curve()
63 if ((err = mp_copy(srckey->dp.order, key->dp.order )) != CRYPT_OK) { goto error; } in ecc_copy_curve()
81 error: in ecc_copy_curve()
106 if ((err = mp_copy(prime, key->dp.prime )) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
107 if ((err = mp_copy(order, key->dp.order )) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
108 if ((err = mp_copy(a, key->dp.A )) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
109 if ((err = mp_copy(b, key->dp.B )) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
110 if ((err = mp_copy(gx, key->dp.base.x)) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
111 if ((err = mp_copy(gy, key->dp.base.y)) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
112 if ((err = mp_set(key->dp.base.z, 1)) != CRYPT_OK) { goto error; } in ecc_set_curve_from_mpis()
[all …]
A Decc_set_curve.c30 if ((err = mp_read_radix(key->dp.prime, cu->prime, 16)) != CRYPT_OK) { goto error; } in ecc_set_curve()
31 if ((err = mp_read_radix(key->dp.order, cu->order, 16)) != CRYPT_OK) { goto error; } in ecc_set_curve()
32 if ((err = mp_read_radix(key->dp.A, cu->A, 16)) != CRYPT_OK) { goto error; } in ecc_set_curve()
33 if ((err = mp_read_radix(key->dp.B, cu->B, 16)) != CRYPT_OK) { goto error; } in ecc_set_curve()
34 if ((err = mp_read_radix(key->dp.base.x, cu->Gx, 16)) != CRYPT_OK) { goto error; } in ecc_set_curve()
35 if ((err = mp_read_radix(key->dp.base.y, cu->Gy, 16)) != CRYPT_OK) { goto error; } in ecc_set_curve()
36 if ((err = mp_set(key->dp.base.z, 1)) != CRYPT_OK) { goto error; } in ecc_set_curve()
42 if ((err = pk_oid_str_to_num(cu->OID, key->dp.oid, &key->dp.oidlen)) != CRYPT_OK) { goto error; } in ecc_set_curve()
46 error: in ecc_set_curve()
A Decc_sign_hash.c86 if ((err = mp_mod(pubkey.pubkey.x, p, r)) != CRYPT_OK) { goto error; } in ecc_sign_hash_ex()
91 if (mp_copy(pubkey.pubkey.x, s) != CRYPT_OK) { goto error; } in ecc_sign_hash_ex()
95 if ((err = mp_sub(s, p, s)) != CRYPT_OK) { goto error; } in ecc_sign_hash_ex()
105 … if ((err = mp_mulmod(pubkey.k, b, p, pubkey.k)) != CRYPT_OK) { goto error; } /* k = kb */ in ecc_sign_hash_ex()
106 … if ((err = mp_invmod(pubkey.k, p, pubkey.k)) != CRYPT_OK) { goto error; } /* k = 1/kb */ in ecc_sign_hash_ex()
107 … if ((err = mp_mulmod(key->k, r, p, s)) != CRYPT_OK) { goto error; } /* s = xr */ in ecc_sign_hash_ex()
108 … if ((err = mp_mulmod(pubkey.k, s, p, s)) != CRYPT_OK) { goto error; } /* s = xr/kb */ in ecc_sign_hash_ex()
109 … if ((err = mp_mulmod(pubkey.k, e, p, e)) != CRYPT_OK) { goto error; } /* e = e/kb */ in ecc_sign_hash_ex()
110 …if ((err = mp_add(e, s, s)) != CRYPT_OK) { goto error; } /* s = e/kb + xr… in ecc_sign_hash_ex()
177 goto error; in ecc_sign_hash_ex()
[all …]
A Decc_import_x509.c30 if ((err = pk_oid_num_to_str(curveoid, len_oid, OID, &len)) != CRYPT_OK) { goto error; } in _ecc_import_x509_with_oid()
31 if ((err = ecc_find_curve(OID, &curve)) != CRYPT_OK) { goto error; } in _ecc_import_x509_with_oid()
32 if ((err = ecc_set_curve(curve, key)) != CRYPT_OK) { goto error; } in _ecc_import_x509_with_oid()
36 error: in _ecc_import_x509_with_oid()
80 …err = mp_read_unsigned_bin(a, bin_a, len_a)) != CRYPT_OK) { goto error; } in _ecc_import_x509_with_curve()
81 …err = mp_read_unsigned_bin(b, bin_b, len_b)) != CRYPT_OK) { goto error; } in _ecc_import_x509_with_curve()
82 …err = ltc_ecc_import_point(bin_g, len_g, prime, a, b, gx, gy)) != CRYPT_OK) { goto error; } in _ecc_import_x509_with_curve()
84 … = ecc_set_curve_from_mpis(a, b, prime, order, gx, gy, cofactor, key)) != CRYPT_OK) { goto error; } in _ecc_import_x509_with_curve()
88 error: in _ecc_import_x509_with_curve()
A Decc_import_openssl.c39 … if ((err = pk_oid_num_to_str(curveoid, custom[0].size, OID, &len)) != CRYPT_OK) { goto error; } in _ecc_import_private_with_oid()
40 … if ((err = ecc_find_curve(OID, &curve)) != CRYPT_OK) { goto error; } in _ecc_import_private_with_oid()
41 … if ((err = ecc_set_curve(curve, key)) != CRYPT_OK) { goto error; } in _ecc_import_private_with_oid()
45 error: in _ecc_import_private_with_oid()
96 …err = mp_read_unsigned_bin(a, bin_a, len_a)) != CRYPT_OK) { goto error; } in _ecc_import_private_with_curve()
97 …err = mp_read_unsigned_bin(b, bin_b, len_b)) != CRYPT_OK) { goto error; } in _ecc_import_private_with_curve()
98 …err = ltc_ecc_import_point(bin_g, len_g, prime, a, b, gx, gy)) != CRYPT_OK) { goto error; } in _ecc_import_private_with_curve()
100 … = ecc_set_curve_from_mpis(a, b, prime, order, gx, gy, cofactor, key)) != CRYPT_OK) { goto error; } in _ecc_import_private_with_curve()
104 error: in _ecc_import_private_with_curve()
/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_exptmod.c64 { goto error; } in rsa_exptmod()
70 goto error; in rsa_exptmod()
79 goto error; in rsa_exptmod()
85 goto error; in rsa_exptmod()
91 goto error; in rsa_exptmod()
97 goto error; in rsa_exptmod()
112 …r = mp_exptmod(tmp, key->d, key->N, tmp)) != CRYPT_OK) { goto error; } in rsa_exptmod()
133 goto error; in rsa_exptmod()
154 goto error; in rsa_exptmod()
160 goto error; in rsa_exptmod()
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
A Dcheck_crypto_config.h34 #error "PSA_WANT_ALG_CCM defined, but not all prerequisites"
41 #error "PSA_WANT_ALG_CMAC defined, but not all prerequisites"
47 #error "PSA_WANT_ALG_DETERMINISTIC_ECDSA defined, but not all prerequisites"
53 #error "PSA_WANT_ALG_ECDSA defined, but not all prerequisites"
59 #error "PSA_WANT_ALG_GCM defined, but not all prerequisites"
65 #error "PSA_WANT_ALG_RSA_PKCS1V15_CRYPT defined, but not all prerequisites"
71 #error "PSA_WANT_ALG_RSA_PKCS1V15_SIGN defined, but not all prerequisites"
77 #error "PSA_WANT_ALG_RSA_OAEP defined, but not all prerequisites"
83 #error "PSA_WANT_ALG_RSA_PSS defined, but not all prerequisites"
88 #error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR defined, but not all prerequisites"
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_key.c79 goto error; in dsa_int_validate_pqg()
88 goto error; in dsa_int_validate_pqg()
93 error: in dsa_int_validate_pqg()
154 goto error; in dsa_int_validate_xy()
158 goto error; in dsa_int_validate_xy()
165 goto error; in dsa_int_validate_xy()
169 goto error; in dsa_int_validate_xy()
173 goto error; in dsa_int_validate_xy()
181 goto error; in dsa_int_validate_xy()
185 goto error; in dsa_int_validate_xy()
[all …]
A Ddsa_sign_hash.c68 … if ((err = rand_bn_bits(k, qbits, prng, wprng)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
74 … if ((err = mp_gcd(k, key->q, tmp)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
78 …if ((err = mp_invmod(k, key->q, kinv)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
81 …if ((err = mp_exptmod(key->g, k, key->p, r)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
82 …if ((err = mp_mod(r, key->q, r)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
90 …if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, inlen)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
91 …if ((err = mp_mul(key->x, r, s)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
92 …if ((err = mp_add(s, tmp, s)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
98 error: in dsa_sign_hash_raw()
136 goto error; in dsa_sign_hash()
[all …]
A Ddsa_verify_hash.c53 goto error; in dsa_verify_hash_raw()
60 …((err = mp_invmod(s, key->q, w)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
63 …((err = mp_read_unsigned_bin(u1, (unsigned char *)hash, hashlen)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
64 …((err = mp_mulmod(u1, w, key->q, u1)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
67 …((err = mp_mulmod(r, w, key->q, u2)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
70 …((err = mp_exptmod(key->g, u1, key->p, u1)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
71 …((err = mp_exptmod(key->y, u2, key->p, u2)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
72 …((err = mp_mulmod(u1, u2, key->p, v)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
73 …((err = mp_mod(v, key->q, v)) != CRYPT_OK) { goto error; } in dsa_verify_hash_raw()
81 error: in dsa_verify_hash_raw()
/optee_os/core/lib/libtomcrypt/src/misc/ssh/
A Dssh_decode_sequence_multi.c53 goto error; in ssh_decode_sequence_multi()
82 goto error; in ssh_decode_sequence_multi()
88 goto error; in ssh_decode_sequence_multi()
123 goto error; in ssh_decode_sequence_multi()
136 …err = mp_set(vdata, 0)) != CRYPT_OK) { goto error; } in ssh_decode_sequence_multi()
140 goto error; in ssh_decode_sequence_multi()
142 …err = mp_read_unsigned_bin(vdata, (unsigned char *)in, size)) != CRYPT_OK) { goto error; } in ssh_decode_sequence_multi()
151 goto error; in ssh_decode_sequence_multi()
156 error: in ssh_decode_sequence_multi()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_import.c42 goto error; in dh_import()
55 goto error; in dh_import()
59 goto error; in dh_import()
71 goto error; in dh_import()
76 goto error; in dh_import()
81 goto error; in dh_import()
86 goto error; in dh_import()
91 error: in dh_import()
A Ddh_make_key.c100 goto error; in dh_make_key()
106 goto error; in dh_make_key()
113 goto error; in dh_make_key()
121 goto error; in dh_make_key()
124 goto error; in dh_make_key()
129 goto error; in dh_make_key()
134 error: in dh_make_key()
/optee_os/core/arch/arm/plat-hikey/
A Dplatform_config.h27 #error Unknown console UART
39 #error Unknown console UART
43 #error Unknown HiKey PLATFORM_FLAVOR
119 #error Unknown DRAM size
141 #error Unknown DRAM size
146 #error 32-bit TEE with CFG_CORE_DYN_SHM and without CFG_LARGE_PHYS_ADDR \
151 #error Unknown HiKey PLATFORM_FLAVOR
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_custom.h586 #error Pelican-MAC requires LTC_RIJNDAEL
590 #error LTC_EAX_MODE requires CTR and LTC_OMAC mode
598 #error ASN.1 DER requires MPI functionality
610 #error LTC_CHACHA20_PRNG requires LTC_CHACHA
614 #error LTC_XSALSA20 requires LTC_SALSA20
618 #error LTC_RC4 requires LTC_RC4_STREAM
622 #error LTC_SOBER128 requires LTC_SOBER128_STREAM
626 #error LTC_BLAKE2SMAC requires LTC_BLAKE2S
630 #error LTC_BLAKE2BMAC requires LTC_BLAKE2B
634 #error LTC_SPRNG requires LTC_RNG_GET_BYTES
[all …]

Completed in 47 milliseconds

12345678910