Searched refs:mp_to_unsigned_bin (Results 1 – 20 of 20) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_export_point.c | 27 if ((err = mp_to_unsigned_bin(x, buf + (size - xsize))) != CRYPT_OK) return err; in ltc_ecc_export_point() 41 if ((err = mp_to_unsigned_bin(x, buf + (size - xsize))) != CRYPT_OK) return err; in ltc_ecc_export_point() 45 if ((err = mp_to_unsigned_bin(y, buf + (size - ysize))) != CRYPT_OK) return err; in ltc_ecc_export_point()
|
A D | ecc_sign_hash.c | 130 if ((err = mp_to_unsigned_bin(r, out + (pbytes - i))) != CRYPT_OK) { goto errnokey; } in ecc_sign_hash_ex() 132 if ((err = mp_to_unsigned_bin(s, out + (2*pbytes - i))) != CRYPT_OK) { goto errnokey; } in ecc_sign_hash_ex() 145 if ((err = mp_to_unsigned_bin(r, out + 32 - i)) != CRYPT_OK) { goto errnokey; } in ecc_sign_hash_ex() 147 if ((err = mp_to_unsigned_bin(s, out + 64 - i)) != CRYPT_OK) { goto errnokey; } in ecc_sign_hash_ex()
|
A D | ecc_export_openssl.c | 58 if ((err = mp_to_unsigned_bin(a, bin_a)) != CRYPT_OK) { goto error; } in ecc_export_openssl() 64 if ((err = mp_to_unsigned_bin(b, bin_b)) != CRYPT_OK) { goto error; } in ecc_export_openssl() 139 if ((err = mp_to_unsigned_bin(key->k, bin_k)) != CRYPT_OK) { goto error; } in ecc_export_openssl()
|
A D | ecc_get_key.c | 40 if ((err = mp_to_unsigned_bin(key->k, out + (size - ksize))) != CRYPT_OK) return err; in ecc_get_key()
|
A D | ecc_shared_secret.c | 57 …if ((err = mp_to_unsigned_bin(result->x, out + (x - mp_unsigned_bin_size(result->x)))) != CRYPT_… in ecc_shared_secret()
|
A D | ltc_ecc_mul2add.c | 69 mp_to_unsigned_bin(kA, (len - lenA) + tA); in ltc_ecc_mul2add() 72 mp_to_unsigned_bin(kB, (len - lenB) + tB); in ltc_ecc_mul2add()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/integer/ |
A D | der_encode_integer.c | 74 if ((err = mp_to_unsigned_bin(num, out)) != CRYPT_OK) { in der_encode_integer() 93 if ((err = mp_to_unsigned_bin(tmp, out)) != CRYPT_OK) { in der_encode_integer()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_i2osp.c | 35 return mp_to_unsigned_bin(n, out+(modulus_len-size)); in pkcs_1_i2osp()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_export_key.c | 34 return mp_to_unsigned_bin(k, out); in dh_export_key()
|
A D | dh_shared_secret.c | 59 if ((err = mp_to_unsigned_bin(tmp, out)) != CRYPT_OK) { in dh_shared_secret()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | radix_to_bin.c | 47 if ((err = mp_to_unsigned_bin(mpi, out)) != CRYPT_OK) goto LBL_ERR; in radix_to_bin()
|
A D | ltm_desc.c | 220 return mpi_to_ltc_error(mp_to_unsigned_bin(a, b)); in unsigned_write()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_shared_secret.c | 51 …if ((err = mp_to_unsigned_bin(res, out + (x - mp_unsigned_bin_size(res)))) != CRYPT_OK) … in dsa_shared_secret()
|
A D | dsa_generate_pqg.c | 145 if ((err = mp_to_unsigned_bin(seedinc, sbuf + seedbytes-i)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | dsa.c | 149 mp_to_unsigned_bin(r, (uint8_t *)sig + *sig_len/2 - in crypto_acipher_dsa_sign() 151 mp_to_unsigned_bin(s, (uint8_t *)sig + *sig_len - in crypto_acipher_dsa_sign()
|
A D | acipher_helpers.h | 51 mp_to_unsigned_bin(_a, (b) + (c) - mp_unsigned_bin_size(_a)); \
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/ssh/ |
A D | ssh_encode_sequence_multi.c | 138 if ((err = mp_to_unsigned_bin(vdata, out)) != CRYPT_OK) { in ssh_encode_sequence_multi()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_exptmod.c | 159 …if ((err = mp_to_unsigned_bin(tmp, out+(x-mp_unsigned_bin_size(tmp)))) != CRYPT_OK) … in rsa_exptmod()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 835 if ((err = mp_to_unsigned_bin(tk, kb)) != CRYPT_OK) { in s_accel_fp_mul() 1001 if ((err = mp_to_unsigned_bin(tka, kb[0])) != CRYPT_OK) { in ss_accel_fp_mul2add() 1023 if ((err = mp_to_unsigned_bin(tkb, kb[1])) != CRYPT_OK) { in ss_accel_fp_mul2add()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 192 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro
|
Completed in 31 milliseconds