Home
last modified time | relevance | path

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

/openssl/engines/
H A De_padlock.c360 if (nbytes == 0) in padlock_cfb_cipher()
368 nbytes -= chunk; in padlock_cfb_cipher()
371 if (nbytes) { in padlock_cfb_cipher()
383 while (nbytes) { in padlock_cfb_cipher()
392 while (nbytes) { in padlock_cfb_cipher()
422 chunk++, nbytes--; in padlock_ofb_cipher()
428 if (nbytes == 0) in padlock_ofb_cipher()
436 nbytes -= chunk; in padlock_ofb_cipher()
439 if (nbytes) { in padlock_ofb_cipher()
448 while (nbytes) { in padlock_ofb_cipher()
[all …]
/openssl/crypto/bio/
H A Dbss_dgram_pair.c35 static int ring_buf_init(struct ring_buf *r, size_t nbytes) in ring_buf_init() argument
37 r->start = OPENSSL_malloc(nbytes); in ring_buf_init()
41 r->len = nbytes; in ring_buf_init()
120 static int ring_buf_resize(struct ring_buf *r, size_t nbytes) in ring_buf_resize() argument
125 return ring_buf_init(r, nbytes); in ring_buf_resize()
127 if (nbytes == r->len) in ring_buf_resize()
130 if (r->count > 0 && nbytes < r->len) in ring_buf_resize()
134 new_start = OPENSSL_realloc(r->start, nbytes); in ring_buf_resize()
141 size_t offset = nbytes - r->len; in ring_buf_resize()
153 r->len = nbytes; in ring_buf_resize()
/openssl/crypto/ec/curve448/
H A Df_generic.c72 const unsigned nbytes = with_hibit ? X_SER_BYTES : SER_BYTES; in gf_deserialize() local
77 while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < nbytes) { in gf_deserialize()
81 if (j == nbytes - 1) in gf_deserialize()
H A Dscalar.c140 size_t nbytes) in scalar_decode_short() argument
147 for (j = 0; j < sizeof(c448_word_t) && k < nbytes; j++, k++) in scalar_decode_short()
/openssl/test/
H A Dasn1_encode_test.c484 static int do_decode(unsigned char *bytes, long nbytes, in do_decode() argument
493 enctst = package->d2i(NULL, &bytes, nbytes); in do_decode()
502 if (start + nbytes == bytes in do_decode()
549 static int do_enc_dec(EXPECTED *bytes, long nbytes, in do_enc_dec() argument
561 ret = do_decode(data, len, bytes, nbytes, package); in do_enc_dec()
H A Dsslapitest.c2728 size_t nbytes; in test_extra_tickets() local
2765 || !TEST_size_t_eq(1, nbytes) in test_extra_tickets()
2769 || !TEST_int_eq(sizeof(buf), nbytes) in test_extra_tickets()
2779 || !TEST_size_t_eq(sizeof(c), nbytes) in test_extra_tickets()
2783 || !TEST_size_t_eq(sizeof(buf), nbytes) in test_extra_tickets()
2793 || !TEST_size_t_eq(0, nbytes) in test_extra_tickets()
2825 || !TEST_size_t_eq(nbytes, 0)) in test_extra_tickets()
2842 || !TEST_size_t_eq(1, nbytes) in test_extra_tickets()
2846 || !TEST_int_eq(sizeof(buf), nbytes) in test_extra_tickets()
2857 || !TEST_size_t_eq(1, nbytes) in test_extra_tickets()
[all …]

Completed in 45 milliseconds