Searched refs:mp_to_unsigned_bin2 (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sm2-kep.c | 59 mp_to_unsigned_bin2(key->dp.A, buf, SM2_INT_SIZE_BYTES); in sm2_kep_compute_Z() 64 mp_to_unsigned_bin2(key->dp.B, buf, SM2_INT_SIZE_BYTES); in sm2_kep_compute_Z() 79 mp_to_unsigned_bin2(key->pubkey.x, buf, SM2_INT_SIZE_BYTES); in sm2_kep_compute_Z() 127 mp_to_unsigned_bin2(UV->x, buf, SM2_INT_SIZE_BYTES); in sm2_kep_compute_S() 138 mp_to_unsigned_bin2(initiator_eph_key->pubkey.x, buf, in sm2_kep_compute_S() 145 mp_to_unsigned_bin2(initiator_eph_key->pubkey.y, buf, in sm2_kep_compute_S() 152 mp_to_unsigned_bin2(responder_eph_key->pubkey.x, buf, in sm2_kep_compute_S() 159 mp_to_unsigned_bin2(responder_eph_key->pubkey.y, buf, in sm2_kep_compute_S() 181 mp_to_unsigned_bin2(UV->y, buf, SM2_INT_SIZE_BYTES); in sm2_kep_compute_S() 330 mp_to_unsigned_bin2(U->x, xUyUZAZB, SM2_INT_SIZE_BYTES); in sm2_kep_derive() [all …]
|
A D | sm2-pke.c | 214 mp_to_unsigned_bin2(x2y2p->x, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_decrypt() 215 mp_to_unsigned_bin2(x2y2p->y, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_decrypt() 319 mp_to_unsigned_bin2(p->x, buf + 1, SM2_INT_SIZE_BYTES); in sm2_point_to_bytes() 320 mp_to_unsigned_bin2(p->y, buf + 1 + SM2_INT_SIZE_BYTES, in sm2_point_to_bytes() 440 mp_to_unsigned_bin2(x2y2p->x, x2y2, SM2_INT_SIZE_BYTES); in sm2_ltc_pke_encrypt() 441 mp_to_unsigned_bin2(x2y2p->y, x2y2 + SM2_INT_SIZE_BYTES, in sm2_ltc_pke_encrypt()
|
A D | sm2-dsa.c | 127 mp_to_unsigned_bin2(r, sig, SM2_INT_SIZE_BYTES); in sm2_ltc_dsa_sign() 128 mp_to_unsigned_bin2(s, sig + SM2_INT_SIZE_BYTES, SM2_INT_SIZE_BYTES); in sm2_ltc_dsa_sign()
|
A D | acipher_helpers.h | 48 #define mp_to_unsigned_bin2(a, b, c) \ macro
|
Completed in 5 milliseconds