Home
last modified time | relevance | path

Searched refs:osize (Results 1 – 6 of 6) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpk_wrap.h64 unsigned char *output, size_t *olen, size_t osize,
70 unsigned char *output, size_t *olen, size_t osize,
H A Dpk_wrap.c281 unsigned char *output, size_t *olen, size_t osize, in rsa_decrypt_wrap() argument
327 output, osize, olen); in rsa_decrypt_wrap()
347 unsigned char *output, size_t *olen, size_t osize, in rsa_decrypt_wrap() argument
357 olen, input, output, osize); in rsa_decrypt_wrap()
364 unsigned char *output, size_t *olen, size_t osize, in rsa_encrypt_wrap() argument
380 if (mbedtls_rsa_get_len(rsa) > osize) { in rsa_encrypt_wrap()
410 output, osize, olen); in rsa_encrypt_wrap()
429 unsigned char *output, size_t *olen, size_t osize, in rsa_encrypt_wrap() argument
435 if (*olen > osize) { in rsa_encrypt_wrap()
1318 unsigned char *output, size_t *olen, size_t osize, in rsa_alt_decrypt_wrap() argument
[all …]
H A Dpk.c1376 unsigned char *output, size_t *olen, size_t osize, in mbedtls_pk_decrypt() argument
1388 output, olen, osize, f_rng, p_rng); in mbedtls_pk_decrypt()
1396 unsigned char *output, size_t *olen, size_t osize, in mbedtls_pk_encrypt() argument
1408 output, olen, osize, f_rng, p_rng); in mbedtls_pk_encrypt()
/optee_os/lib/libutils/isoc/
H A Dbget.c933 bufsize osize; /* Old size of buffer */ local
943 osize = -b->bsize;
945 if (osize == 0) {
950 osize = bd->tsize - sizeof(struct bdhead) - bd->offs;
953 osize -= sizeof(struct bhead);
954 assert(osize > 0);
956 (MemSize) ((size < osize) ? size : osize));
959 if (size > osize)
960 V memset_unchecked((char *) nbuf + osize, 0, size - osize);
H A Dbget_malloc.c194 bufsize osize; /* Old size of buffer */ in bget_buf_size() local
198 osize = -b->bsize; in bget_buf_size()
200 if (osize == 0) { in bget_buf_size()
205 osize = bd->tsize - sizeof(struct bdhead) - bd->offs; in bget_buf_size()
208 osize -= sizeof(struct bhead); in bget_buf_size()
209 assert(osize > 0); in bget_buf_size()
210 return osize; in bget_buf_size()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dpk.h949 unsigned char *output, size_t *olen, size_t osize,
975 unsigned char *output, size_t *olen, size_t osize,