| /netbsd-src/sys/crypto/aes/arch/arm/ |
| H A D | aes_armv8.c | 126 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesarmv8_cbc_enc_impl() argument 130 KASSERT(nbytes % 16 == 0); in aesarmv8_cbc_enc_impl() 133 aesarmv8_cbc_enc(enc, in, out, nbytes, iv, nrounds); in aesarmv8_cbc_enc_impl() 139 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesarmv8_cbc_dec_impl() argument 143 KASSERT(nbytes % 16 == 0); in aesarmv8_cbc_dec_impl() 147 if (nbytes % 128) { in aesarmv8_cbc_dec_impl() 148 aesarmv8_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds); in aesarmv8_cbc_dec_impl() 149 in += nbytes % 128; in aesarmv8_cbc_dec_impl() 150 out += nbytes % 128; in aesarmv8_cbc_dec_impl() 151 nbytes -= nbytes % 128; in aesarmv8_cbc_dec_impl() [all …]
|
| H A D | aes_neon_subr.c | 83 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_neon_cbc_enc() argument 88 KASSERT(nbytes); in aes_neon_cbc_enc() 91 for (; nbytes; nbytes -= 16, in += 16, out += 16) { in aes_neon_cbc_enc() 101 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_neon_cbc_dec() argument 106 KASSERT(nbytes); in aes_neon_cbc_dec() 107 KASSERT(nbytes % 16 == 0); in aes_neon_cbc_dec() 110 cv = loadblock(in + nbytes - 16); in aes_neon_cbc_dec() 113 if (nbytes % 32) { in aes_neon_cbc_dec() 114 KASSERT(nbytes % 32 == 16); in aes_neon_cbc_dec() 116 if ((nbytes -= 16) == 0) in aes_neon_cbc_dec() [all …]
|
| H A D | aes_neon_impl.c | 97 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_neon_cbc_enc_impl() argument 101 if (nbytes == 0) in aes_neon_cbc_enc_impl() 104 aes_neon_cbc_enc(enc, in, out, nbytes, iv, nrounds); in aes_neon_cbc_enc_impl() 110 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_neon_cbc_dec_impl() argument 114 if (nbytes == 0) in aes_neon_cbc_dec_impl() 117 aes_neon_cbc_dec(dec, in, out, nbytes, iv, nrounds); in aes_neon_cbc_dec_impl() 123 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_neon_xts_enc_impl() argument 127 if (nbytes == 0) in aes_neon_xts_enc_impl() 130 aes_neon_xts_enc(enc, in, out, nbytes, iv, nrounds); in aes_neon_xts_enc_impl() 136 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_neon_xts_dec_impl() argument [all …]
|
| /netbsd-src/sys/crypto/aes/arch/x86/ |
| H A D | aes_ni.c | 124 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesni_cbc_enc_impl() argument 128 KASSERT(nbytes % 16 == 0); in aesni_cbc_enc_impl() 131 aesni_cbc_enc(enc, in, out, nbytes, iv, nrounds); in aesni_cbc_enc_impl() 137 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesni_cbc_dec_impl() argument 141 KASSERT(nbytes % 16 == 0); in aesni_cbc_dec_impl() 145 if (nbytes % 128) { in aesni_cbc_dec_impl() 146 aesni_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds); in aesni_cbc_dec_impl() 147 in += nbytes % 128; in aesni_cbc_dec_impl() 148 out += nbytes % 128; in aesni_cbc_dec_impl() 149 nbytes -= nbytes % 128; in aesni_cbc_dec_impl() [all …]
|
| H A D | aes_sse2_subr.c | 128 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_sse2_cbc_enc() argument 135 KASSERT(nbytes); in aes_sse2_cbc_enc() 136 KASSERT(nbytes % 16 == 0); in aes_sse2_cbc_enc() 144 for (; nbytes; nbytes -= 16, in += 16, out += 16) { in aes_sse2_cbc_enc() 168 uint8_t out[static 16], size_t nbytes, uint8_t ivp[static 16], in aes_sse2_cbc_dec() argument 175 KASSERT(nbytes); in aes_sse2_cbc_dec() 176 KASSERT(nbytes % 16 == 0); in aes_sse2_cbc_dec() 185 cv = _mm_loadu_epi8(in + nbytes - 16); in aes_sse2_cbc_dec() 191 if (nbytes % (4*16)) { in aes_sse2_cbc_dec() 192 unsigned n = (nbytes/16) % 4; in aes_sse2_cbc_dec() [all …]
|
| H A D | aes_ssse3_subr.c | 80 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_ssse3_cbc_enc() argument 85 KASSERT(nbytes); in aes_ssse3_cbc_enc() 88 for (; nbytes; nbytes -= 16, in += 16, out += 16) { in aes_ssse3_cbc_enc() 98 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_ssse3_cbc_dec() argument 103 KASSERT(nbytes); in aes_ssse3_cbc_dec() 104 KASSERT(nbytes % 16 == 0); in aes_ssse3_cbc_dec() 107 cv = loadblock(in + nbytes - 16); in aes_ssse3_cbc_dec() 112 if ((nbytes -= 16) == 0) in aes_ssse3_cbc_dec() 114 cv = loadblock(in + nbytes - 16); in aes_ssse3_cbc_dec() 115 storeblock(out + nbytes, b ^ cv); in aes_ssse3_cbc_dec() [all …]
|
| H A D | aes_ssse3_impl.c | 89 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_ssse3_cbc_enc_impl() argument 93 if (nbytes == 0) in aes_ssse3_cbc_enc_impl() 96 aes_ssse3_cbc_enc(enc, in, out, nbytes, iv, nrounds); in aes_ssse3_cbc_enc_impl() 102 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_ssse3_cbc_dec_impl() argument 106 if (nbytes == 0) in aes_ssse3_cbc_dec_impl() 109 aes_ssse3_cbc_dec(dec, in, out, nbytes, iv, nrounds); in aes_ssse3_cbc_dec_impl() 115 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_ssse3_xts_enc_impl() argument 119 if (nbytes == 0) in aes_ssse3_xts_enc_impl() 122 aes_ssse3_xts_enc(enc, in, out, nbytes, iv, nrounds); in aes_ssse3_xts_enc_impl() 128 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_ssse3_xts_dec_impl() argument [all …]
|
| H A D | aes_sse2_impl.c | 96 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_sse2_cbc_enc_impl() argument 100 if (nbytes == 0) in aes_sse2_cbc_enc_impl() 103 aes_sse2_cbc_enc(enc, in, out, nbytes, iv, nrounds); in aes_sse2_cbc_enc_impl() 109 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_sse2_cbc_dec_impl() argument 113 if (nbytes == 0) in aes_sse2_cbc_dec_impl() 116 aes_sse2_cbc_dec(dec, in, out, nbytes, iv, nrounds); in aes_sse2_cbc_dec_impl() 122 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16], in aes_sse2_xts_enc_impl() argument 126 if (nbytes == 0) in aes_sse2_xts_enc_impl() 129 aes_sse2_xts_enc(enc, in, out, nbytes, tweak, nrounds); in aes_sse2_xts_enc_impl() 135 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16], in aes_sse2_xts_dec_impl() argument [all …]
|
| H A D | aes_via.c | 359 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesvia_cbc_enc() argument 364 KASSERT(nbytes % 16 == 0); in aesvia_cbc_enc() 365 if (nbytes == 0) in aesvia_cbc_enc() 373 aesvia_cbc_encN(enc, in, out, nbytes/16, &ivp, cw0); in aesvia_cbc_enc() 381 for (; nbytes; nbytes -= 16, in += 16, out += 16) { in aesvia_cbc_enc() 401 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesvia_cbc_dec() argument 406 KASSERT(nbytes % 16 == 0); in aesvia_cbc_dec() 407 if (nbytes == 0) in aesvia_cbc_dec() 414 aesvia_cbc_decN(dec, in, out, nbytes/16, iv, cw0); in aesvia_cbc_dec() 422 memcpy(cv, in + nbytes - 16, 16); in aesvia_cbc_dec() [all …]
|
| /netbsd-src/usr.bin/bdes/ |
| H A D | bdes.c | 713 register int nbytes; /* number of bytes to read */ in cfbenc() local 721 nbytes = fbbits / 8; in cfbenc() 725 for (bn = 1; (n = READ(ibuf, nbytes)) == nbytes; bn++) { in cfbenc() 728 for (n = 0; n < 8 - nbytes; n++) in cfbenc() 729 UCHAR(ivec, n) = UCHAR(ivec, n+nbytes); in cfbenc() 730 for (n = 0; n < nbytes; n++) in cfbenc() 731 UCHAR(ivec, 8-nbytes+n) = ibuf[n] ^ UCHAR(msgbuf, n); in cfbenc() 732 WRITE(&CHAR(ivec, 8-nbytes), nbytes); in cfbenc() 739 MEMZERO(&ibuf[n], nbytes - n); in cfbenc() 740 ibuf[nbytes - 1] = n; in cfbenc() [all …]
|
| /netbsd-src/sys/crypto/aes/ |
| H A D | aes_bear.c | 157 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesbear_cbc_enc() argument 164 KASSERT(nbytes % 16 == 0); in aesbear_cbc_enc() 167 if (nbytes == 0) in aesbear_cbc_enc() 182 for (; nbytes; nbytes -= 16, in += 16, out += 16) { in aesbear_cbc_enc() 218 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aesbear_cbc_dec() argument 225 KASSERT(nbytes % 16 == 0); in aesbear_cbc_dec() 228 if (nbytes == 0) in aesbear_cbc_dec() 241 cv0 = le32dec(in + nbytes - 16 + 4*0); in aesbear_cbc_dec() 242 cv1 = le32dec(in + nbytes - 16 + 4*1); in aesbear_cbc_dec() 243 cv2 = le32dec(in + nbytes - 16 + 4*2); in aesbear_cbc_dec() [all …]
|
| H A D | aes_ccm.c | 184 aes_ccm_enc(struct aes_ccm *C, const void *in, void *out, size_t nbytes) in aes_ccm_enc() argument 193 KASSERTMSG(nbytes <= C->mleft, in aes_ccm_enc() 195 C->mlen, C->mlen - C->mleft + nbytes); in aes_ccm_enc() 196 C->mleft -= nbytes; in aes_ccm_enc() 200 unsigned m = MIN(16 - C->i, nbytes); in aes_ccm_enc() 207 nbytes -= m; in aes_ccm_enc() 215 KASSERT(nbytes == 0); in aes_ccm_enc() 221 if (nbytes - (nbytes % 16)) { in aes_ccm_enc() 222 aes_ccm_enc1(C->enc, p, q, nbytes - (nbytes % 16), auth, in aes_ccm_enc() 224 p += nbytes - (nbytes % 16); in aes_ccm_enc() [all …]
|
| H A D | aes_impl.c | 263 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_cbc_enc() argument 268 aes_impl->ai_cbc_enc(enc, in, out, nbytes, iv, nrounds); in aes_cbc_enc() 273 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], in aes_cbc_dec() argument 278 aes_impl->ai_cbc_dec(dec, in, out, nbytes, iv, nrounds); in aes_cbc_dec() 283 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16], in aes_xts_enc() argument 288 aes_impl->ai_xts_enc(enc, in, out, nbytes, tweak, nrounds); in aes_xts_enc() 293 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16], in aes_xts_dec() argument 298 aes_impl->ai_xts_dec(dec, in, out, nbytes, tweak, nrounds); in aes_xts_dec() 303 size_t nbytes, uint8_t auth[static 16], uint32_t nrounds) in aes_cbcmac_update1() argument 306 KASSERT(nbytes); in aes_cbcmac_update1() [all …]
|
| /netbsd-src/sbin/nvmectl/ |
| H A D | humanize_bignum.c | 107 BIGNUM *nbytes = NULL, *max = NULL; in humanize_bignum() local 113 if ((nbytes = BN_dup(bytes)) == NULL) in humanize_bignum() 149 if (BN_is_negative(nbytes)) { in humanize_bignum() 152 BN_set_negative(nbytes, 0); in humanize_bignum() 159 BN_mul(t1, nbytes, BN_value_100(), NULL); in humanize_bignum() 160 BN_swap(nbytes, t1); in humanize_bignum() 195 for (i = 0; BN_cmp(nbytes, max) >= 0 && i < maxscale; i++) { in humanize_bignum() 196 if (BN_div(t1, t2, nbytes, divisor, NULL) == 0) in humanize_bignum() 198 BN_swap(nbytes, t1); in humanize_bignum() 209 if (BN_div(t1, t2, nbytes, divisor, NULL) == 0) in humanize_bignum() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/include/linux/ |
| H A D | kfifo.h | 75 _init_kfifo(struct kfifo_meta *meta, size_t nbytes) in _init_kfifo() argument 81 meta->kfm_nbytes = nbytes; in _init_kfifo() 97 _kfifo_alloc(struct kfifo_meta *meta, void *bufp, size_t nbytes, gfp_t gfp) in _kfifo_alloc() argument 101 buf = kmalloc(nbytes, gfp); in _kfifo_alloc() 108 _init_kfifo(meta, nbytes); in _kfifo_alloc() 139 const size_t nbytes = meta->kfm_nbytes; in _kfifo_len() local 141 return (head <= tail ? tail - head : nbytes + tail - head); in _kfifo_len() 157 const size_t nbytes = meta->kfm_nbytes; in _kfifo_out_peek() local 164 if (size <= nbytes - head) { in _kfifo_out_peek() 167 } else if (size <= nbytes + tail - head) { in _kfifo_out_peek() [all …]
|
| /netbsd-src/usr.bin/hexdump/ |
| H A D | odsyntax.c | 60 int nbytes; member 224 int nbytes = 0; in posixtypes() local 232 nbytes = 1; in posixtypes() 238 nbytes = sizeof(float); in posixtypes() 241 nbytes = sizeof(double); in posixtypes() 244 nbytes = sizeof(long double); in posixtypes() 253 nbytes = strtol(type_string, &tmp, 10); in posixtypes() 256 nbytes = 8; in posixtypes() 265 nbytes = sizeof(char); in posixtypes() 268 nbytes = sizeof(short); in posixtypes() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/ |
| H A D | outbuffer.c | 24 void OutBuffer::reserve(size_t nbytes) in reserve() argument 27 if (size - offset < nbytes) in reserve() 29 size = (offset + nbytes) * 2; in reserve() 45 void OutBuffer::write(const void *data, size_t nbytes) in write() argument 60 reserve(nbytes); in write() 61 memcpy(this->data + offset, data, nbytes); in write() 62 offset += nbytes; in write() 271 void OutBuffer::fill0(size_t nbytes) in fill0() argument 273 reserve(nbytes); in fill0() 274 memset(data + offset,0,nbytes); in fill0() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/engines/ |
| H A D | e_padlock.c | 299 const unsigned char *in_arg, size_t nbytes) in padlock_ecb_cipher() argument 302 ALIGNED_CIPHER_DATA(ctx), nbytes); in padlock_ecb_cipher() 307 const unsigned char *in_arg, size_t nbytes) in padlock_cbc_cipher() argument 313 if ((ret = padlock_cbc_encrypt(out_arg, in_arg, cdata, nbytes))) in padlock_cbc_cipher() 320 const unsigned char *in_arg, size_t nbytes) in padlock_cfb_cipher() argument 332 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher() 334 chunk++, nbytes--; in padlock_cfb_cipher() 336 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher() 339 ivp[chunk++] = c, nbytes--; in padlock_cfb_cipher() 345 if (nbytes == 0) in padlock_cfb_cipher() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/liblutil/ |
| H A D | entropy.c | 54 int lutil_entropy( unsigned char *buf, ber_len_t nbytes ) in lutil_entropy() argument 56 if( nbytes == 0 ) return 0; in lutil_entropy() 69 rc = read( fd, buf, nbytes ); in lutil_entropy() 73 nbytes-=rc; in lutil_entropy() 76 } while( nbytes > 0 ); in lutil_entropy() 79 return nbytes > 0 ? -1 : 0; in lutil_entropy() 92 if(!CryptGenRandom(hProv, (DWORD) nbytes, (BYTE *) buf)) { in lutil_entropy() 143 for( n = 0; n < nbytes; n += 16 ) { in lutil_entropy() 163 lutil_MD5Update( &ctx, buf, nbytes ); in lutil_entropy() 168 nbytes - n >= 16 ? 16 : nbytes - n ); in lutil_entropy()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/ |
| H A D | os.d | 78 void *os_mem_map(size_t nbytes) nothrow in os_mem_map() argument 80 return VirtualAlloc(null, nbytes, MEM_RESERVE | MEM_COMMIT, in os_mem_map() 91 int os_mem_unmap(void *base, size_t nbytes) nothrow in os_mem_unmap() argument 98 void *os_mem_map(size_t nbytes) nothrow in os_mem_map() argument 101 p = mmap(null, nbytes, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in os_mem_map() 106 int os_mem_unmap(void *base, size_t nbytes) nothrow in os_mem_unmap() argument 108 return munmap(base, nbytes); in os_mem_unmap() 113 void *os_mem_map(size_t nbytes) nothrow in os_mem_map() argument 115 return valloc(nbytes); in os_mem_map() 119 int os_mem_unmap(void *base, size_t nbytes) nothrow in os_mem_unmap() argument [all …]
|
| /netbsd-src/external/bsd/file/dist/src/ |
| H A D | encoding.c | 86 size_t nbytes = b->flen; in file_encoding() local 102 if (nbytes > ms->encoding_max) in file_encoding() 103 nbytes = ms->encoding_max; in file_encoding() 105 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding() 111 if (looks_ascii(buf, nbytes, *ubuf, ulen)) { in file_encoding() 112 if (looks_utf7(buf, nbytes, *ubuf, ulen) > 0) { in file_encoding() 121 } else if (looks_utf8_with_BOM(buf, nbytes, *ubuf, ulen) > 0) { in file_encoding() 125 } else if (file_looks_utf8(buf, nbytes, *ubuf, ulen) > 1) { in file_encoding() 129 } else if ((ucs_type = looks_ucs32(buf, nbytes, *ubuf, ulen)) != 0) { in file_encoding() 138 } else if ((ucs_type = looks_ucs16(buf, nbytes, *ubuf, ulen)) != 0) { in file_encoding() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/engines/ |
| H A D | e_padlock.c | 314 const unsigned char *in_arg, size_t nbytes) in padlock_ecb_cipher() argument 317 ALIGNED_CIPHER_DATA(ctx), nbytes); in padlock_ecb_cipher() 322 const unsigned char *in_arg, size_t nbytes) in padlock_cbc_cipher() argument 328 if ((ret = padlock_cbc_encrypt(out_arg, in_arg, cdata, nbytes))) in padlock_cbc_cipher() 335 const unsigned char *in_arg, size_t nbytes) in padlock_cfb_cipher() argument 347 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher() 349 chunk++, nbytes--; in padlock_cfb_cipher() 351 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher() 354 ivp[chunk++] = c, nbytes--; in padlock_cfb_cipher() 360 if (nbytes == 0) in padlock_cfb_cipher() [all …]
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | dns64.c | 60 unsigned int nbytes = 16; in dns_dns64_create() local 72 nbytes = prefixlen / 8 + 4; in dns_dns64_create() 75 nbytes++; in dns_dns64_create() 77 REQUIRE(memcmp(suffix->type.in6.s6_addr, zeros, nbytes) == 0); in dns_dns64_create() 84 memmove(dns64->bits + nbytes, suffix->type.in6.s6_addr + nbytes, in dns_dns64_create() 85 16 - nbytes); in dns_dns64_create() 135 unsigned int nbytes, i; in dns_dns64_aaaafroma() local 178 nbytes = dns64->prefixlen / 8; in dns_dns64_aaaafroma() 179 INSIST(nbytes <= 12); in dns_dns64_aaaafroma() 181 memmove(aaaa, dns64->bits, nbytes); in dns_dns64_aaaafroma() [all …]
|
| /netbsd-src/lib/libc/db/btree/ |
| H A D | bt_split.c | 92 uint32_t n, nbytes, nksize = 0; /* pacify gcc */ in __bt_split() local 182 nbytes = NBINTERNAL(bi->ksize); in __bt_split() 186 nbytes = NBINTERNAL(bl->ksize); in __bt_split() 199 if (n < nbytes) { in __bt_split() 201 bt_pfxsaved += nbytes - n; in __bt_split() 203 nbytes = n; in __bt_split() 211 nbytes = NRINTERNAL; in __bt_split() 218 if ((uint32_t)h->upper - (uint32_t)h->lower < nbytes + sizeof(indx_t)) { in __bt_split() 221 bt_root(t, h, &l, &r, &skip, nbytes) : in __bt_split() 222 bt_page(t, h, &l, &r, &skip, nbytes); in __bt_split() [all …]
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| H A D | rsa.c | 69 int nbytes; in lowlevel_rsa_private_encrypt() local 78 nbytes = PGPV_BN_num_bytes(rsa->n); in lowlevel_rsa_private_encrypt() 79 decbuf = netpgp_allocate(1, nbytes); in lowlevel_rsa_private_encrypt() 82 PGPV_BN_bin2bn(decbuf, nbytes, decbn); in lowlevel_rsa_private_encrypt() 92 signc = PGPV_BN_bn2bin(signedbn, &encbuf[nbytes - signedbytes]); in lowlevel_rsa_private_encrypt() 93 memset(encbuf, 0x0, nbytes - signc); in lowlevel_rsa_private_encrypt() 94 r = nbytes; in lowlevel_rsa_private_encrypt() 96 netpgp_deallocate(decbuf, nbytes); in lowlevel_rsa_private_encrypt() 108 int nbytes; in lowlevel_rsa_public_encrypt() local 116 nbytes = PGPV_BN_num_bytes(rsa->n); in lowlevel_rsa_public_encrypt() [all …]
|