Home
last modified time | relevance | path

Searched refs:vdata (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/misc/ssh/
A Dssh_encode_sequence_multi.c33 void *vdata; in ssh_encode_sequence_multi() local
67 vdata = va_arg(args, void*); in ssh_encode_sequence_multi()
70 if (mp_iszero(vdata) != LTC_MP_YES) { in ssh_encode_sequence_multi()
71 size += mp_unsigned_bin_size(vdata); in ssh_encode_sequence_multi()
72 if ((mp_count_bits(vdata) & 7) == 0) size++; /* Zero padding if high bit set */ in ssh_encode_sequence_multi()
130 vdata = va_arg(args, void*); in ssh_encode_sequence_multi()
131 if (mp_iszero(vdata) == LTC_MP_YES) { in ssh_encode_sequence_multi()
135 size = mp_unsigned_bin_size(vdata); in ssh_encode_sequence_multi()
136 if ((mp_count_bits(vdata) & 7) == 0) { in ssh_encode_sequence_multi()
145 if ((err = mp_to_unsigned_bin(vdata, out)) != CRYPT_OK) { in ssh_encode_sequence_multi()
A Dssh_decode_sequence_multi.c32 void *vdata; in ssh_decode_sequence_multi() local
134 vdata = va_arg(args, void*); in ssh_decode_sequence_multi()
136 …if ((err = mp_set(vdata, 0)) != CRYPT_OK) { goto er… in ssh_decode_sequence_multi()
142 …if ((err = mp_read_unsigned_bin(vdata, (unsigned char *)in, size)) != CRYPT_OK) { goto er… in ssh_decode_sequence_multi()

Completed in 2 milliseconds