| /freebsd-12.1/crypto/openssl/crypto/evp/ |
| H A D | evp_enc.c | 324 *outl = 0; in evp_EncryptDecryptUpdate() 360 *outl = 0; in evp_EncryptDecryptUpdate() 418 *outl = 0; in EVP_EncryptFinal_ex() 428 *outl = 0; in EVP_EncryptFinal_ex() 438 *outl = b; in EVP_EncryptFinal_ex() 476 *outl = 0; in EVP_DecryptUpdate() 506 *outl -= b; in EVP_DecryptUpdate() 536 *outl = 0; in EVP_DecryptFinal_ex() 554 *outl = 0; in EVP_DecryptFinal_ex() 582 *outl = n; in EVP_DecryptFinal_ex() [all …]
|
| H A D | encode.c | 162 int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_EncodeUpdate() argument 168 *outl = 0; in EVP_EncodeUpdate() 206 *outl = 0; in EVP_EncodeUpdate() 212 *outl = total; in EVP_EncodeUpdate() 217 void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_EncodeFinal() argument 228 *outl = ret; in EVP_EncodeFinal() 303 int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_DecodeUpdate() argument 408 *outl = ret; in EVP_DecodeUpdate() 464 int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_DecodeFinal() argument 468 *outl = 0; in EVP_DecodeFinal() [all …]
|
| H A D | bio_enc.c | 106 static int enc_read(BIO *b, char *out, int outl) in enc_read() argument 123 if (i > outl) in enc_read() 124 i = outl; in enc_read() 128 outl -= i; in enc_read() 145 while (outl > 0) { in enc_read() 171 if (outl > ENC_MIN_CHUNK) { in enc_read() 177 int j = outl - blocksize, buf_len; in enc_read() 187 outl -= buf_len; in enc_read() 216 if (ctx->buf_len <= outl) in enc_read() 219 i = outl; in enc_read() [all …]
|
| H A D | bio_b64.c | 110 static int b64_read(BIO *b, char *out, int outl) in b64_read() argument 139 if (i > outl) in b64_read() 140 i = outl; in b64_read() 145 outl -= i; in b64_read() 159 while (outl > 0) { in b64_read() 308 if (ctx->buf_len <= outl) in b64_read() 311 i = outl; in b64_read() 320 outl -= i; in b64_read()
|
| H A D | p_seal.c | 58 int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) in EVP_SealFinal() argument 61 i = EVP_EncryptFinal_ex(ctx, out, outl); in EVP_SealFinal()
|
| H A D | p_open.c | 64 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 68 i = EVP_DecryptFinal_ex(ctx, out, outl);
|
| H A D | bio_ok.c | 171 static int ok_read(BIO *b, char *out, int outl) in ok_read() argument 186 while (outl > 0) { in ok_read() 191 if (i > outl) in ok_read() 192 i = outl; in ok_read() 196 outl -= i; in ok_read() 218 if (outl == 0) in ok_read()
|
| /freebsd-12.1/crypto/openssl/crypto/asn1/ |
| H A D | a_sign.c | 32 int i, inl = 0, outl = 0; in ASN1_sign() local 83 outl = 0; in ASN1_sign() 94 outl = 0; in ASN1_sign() 101 signature->length = outl; in ASN1_sign() 112 return outl; in ASN1_sign() 166 outl = signature->length; in ASN1_item_sign_ctx() 209 outl = 0; in ASN1_item_sign_ctx() 217 outl = 0; in ASN1_item_sign_ctx() 223 outl = 0; in ASN1_item_sign_ctx() 230 signature->length = outl; in ASN1_item_sign_ctx() [all …]
|
| /freebsd-12.1/crypto/openssl/crypto/srp/ |
| H A D | srp_vfy.c | 44 int outl = 0, outl2 = 0; in t_fromb64() local 73 outl = -1; in t_fromb64() 85 outl = -1; in t_fromb64() 89 outl = -1; in t_fromb64() 92 outl += outl2; in t_fromb64() 94 outl += outl2; in t_fromb64() 99 outl = -1; in t_fromb64() 117 outl -= padsize; in t_fromb64() 123 return outl; in t_fromb64() 162 outl += outl2; in t_tob64() [all …]
|
| /freebsd-12.1/crypto/openssl/apps/ |
| H A D | bf_prefix.c | 16 static int prefix_write(BIO *b, const char *out, size_t outl, 81 static int prefix_write(BIO *b, const char *out, size_t outl, in prefix_write() argument 92 if (outl > 0) in prefix_write() 93 ctx->linestart = (out[outl-1] == '\n'); in prefix_write() 94 return BIO_write_ex(BIO_next(b), out, outl, numwritten); in prefix_write() 99 while (outl > 0) { in prefix_write() 114 for (i = 0, c = '\0'; i < outl && (c = out[i]) != '\n'; i++) in prefix_write() 126 outl -= num; in prefix_write()
|
| /freebsd-12.1/contrib/apr-util/crypto/ |
| H A D | apr_crypto_nss.c | 621 int outl = (int) *outlen; in crypto_block_encrypt() local 636 s = PK11_CipherOp(block->ctx, *out, &outl, inlen, (unsigned char*) in, in crypto_block_encrypt() 646 *outlen = outl; in crypto_block_encrypt() 675 unsigned int outl = *outlen; in crypto_block_encrypt_finish() local 677 SECStatus s = PK11_DigestFinal(block->ctx, out, &outl, block->blockSize); in crypto_block_encrypt_finish() 678 *outlen = outl; in crypto_block_encrypt_finish() 785 int outl = (int) *outlen; in crypto_block_decrypt() local 800 s = PK11_CipherOp(block->ctx, *out, &outl, inlen, (unsigned char*) in, in crypto_block_decrypt() 810 *outlen = outl; in crypto_block_decrypt() 839 unsigned int outl = *outlen; in crypto_block_decrypt_finish() local [all …]
|
| H A D | apr_crypto_openssl.c | 565 int outl = *outlen; local 585 if (!EVP_EncryptUpdate(&ctx->cipherCtx, (*out), &outl, in, inlen)) { 587 if (!EVP_EncryptUpdate(&ctx->cipherCtx, (*out), &outl, 592 *outlen = outl; 720 int outl = *outlen; local 740 if (!EVP_DecryptUpdate(&ctx->cipherCtx, *out, &outl, in, inlen)) { 742 if (!EVP_DecryptUpdate(&ctx->cipherCtx, *out, &outl, (unsigned char *) in, 747 *outlen = outl;
|
| /freebsd-12.1/tools/tools/crypto/ |
| H A D | cryptocheck.c | 599 int outl, total; in openssl_cipher() local 614 total = outl; in openssl_cipher() 618 total += outl; in openssl_cipher() 953 int outl, total; in openssl_gcm_encrypt() local 975 total = outl; in openssl_gcm_encrypt() 979 total += outl; in openssl_gcm_encrypt() 1049 int outl, total; in openssl_gcm_decrypt() local 1072 total = outl; in openssl_gcm_decrypt() 1078 total += outl; in openssl_gcm_decrypt() 1213 total = outl; in openssl_ccm_encrypt() [all …]
|
| /freebsd-12.1/crypto/openssl/crypto/bio/ |
| H A D | bf_buff.c | 89 static int buffer_read(BIO *b, char *out, int outl) in buffer_read() argument 107 if (i > outl) in buffer_read() 108 i = outl; in buffer_read() 113 if (outl == i) in buffer_read() 115 outl -= i; in buffer_read() 125 if (outl > ctx->ibuf_size) { in buffer_read() 127 i = BIO_read(b->next_bio, out, outl); in buffer_read() 136 if (outl == i) in buffer_read() 139 outl -= i; in buffer_read()
|
| H A D | bf_nbio.c | 82 static int nbiof_read(BIO *b, char *out, int outl) in nbiof_read() argument 98 if (outl > num) in nbiof_read() 99 outl = num; in nbiof_read() 105 ret = BIO_read(b->next_bio, out, outl); in nbiof_read()
|
| H A D | bss_mem.c | 194 static int mem_read(BIO *b, char *out, int outl) in mem_read() argument 203 ret = (outl >= 0 && (size_t)outl > bm->length) ? (int)bm->length : outl; in mem_read()
|
| H A D | bss_file.c | 137 static int file_read(BIO *b, char *out, int outl) in file_read() argument 143 ret = UP_fread(out, 1, (int)outl, b->ptr); in file_read() 145 ret = fread(out, 1, (int)outl, (FILE *)b->ptr); in file_read() 370 static int file_read(BIO *b, char *out, int outl) in file_read() argument
|
| H A D | bf_null.c | 47 static int nullf_read(BIO *b, char *out, int outl) in nullf_read() argument 55 ret = BIO_read(b->next_bio, out, outl); in nullf_read()
|
| /freebsd-12.1/crypto/openssl/crypto/pem/ |
| H A D | pem_lib.c | 605 int nlen, n, i, j, outl; in PEM_write_bio() local 639 if (!EVP_EncodeUpdate(ctx, buf, &outl, &(data[j]), n)) in PEM_write_bio() 641 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio() 643 i += outl; in PEM_write_bio() 647 EVP_EncodeFinal(ctx, buf, &outl); in PEM_write_bio() 648 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio() 654 retval = i + outl; in PEM_write_bio()
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | geode.c | 115 outl(gpio, u); in led_func() 137 outl(a, 1 << bit); in cs5536_led_func() 139 outl(a, 1 << (bit + 16)); in cs5536_led_func() 287 outl(cba + 0x0d, 2); in geode_probe()
|
| /freebsd-12.1/crypto/openssl/crypto/cms/ |
| H A D | cms_pwri.c | 182 int outl, rv = 0; in kek_unwrap_key() local 196 if (!EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl, in kek_unwrap_key() 203 || !EVP_DecryptUpdate(ctx, tmp, &outl, in kek_unwrap_key() 206 || !EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen) in kek_unwrap_key() 211 || !EVP_DecryptUpdate(ctx, tmp, &outl, tmp, inlen)) in kek_unwrap_key()
|
| /freebsd-12.1/sys/i386/pci/ |
| H A D | pci_cfgreg.c | 222 outl(CONF1_ADDR_PORT, (1U << 31) in pci_cfgenable() 299 outl(port, data); in pcireg_cfgwrite() 372 outl(CONF1_ADDR_PORT, CONF1_ENABLE_CHK); in pcireg_cfgopen() 375 outl(CONF1_ADDR_PORT, oldval1); in pcireg_cfgopen() 386 outl(CONF1_ADDR_PORT, CONF1_ENABLE_CHK1); in pcireg_cfgopen() 388 outl(CONF1_ADDR_PORT, oldval1); in pcireg_cfgopen()
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | EVP_EncodeInit.pod | 19 int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, 21 void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); 25 int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, 27 int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); 58 is stored in B<*outl>. It is the caller's responsibility to ensure that the 69 EVP_EncodeUpdate() will set B<*outl> to 0 and return 0. On success 1 will be 75 in B<*outl>. It is the caller's responsibility to ensure that B<out> is 98 output is stored in B<*outl>. It is the caller's responsibility to ensure that
|
| /freebsd-12.1/crypto/openssl/crypto/rand/ |
| H A D | drbg_ctr.c | 328 int outl = AES_BLOCK_SIZE; in drbg_ctr_generate() local 333 if (!EVP_CipherUpdate(ctr->ctx, ctr->K, &outl, ctr->V, in drbg_ctr_generate() 335 || outl != AES_BLOCK_SIZE) in drbg_ctr_generate() 340 if (!EVP_CipherUpdate(ctr->ctx, out, &outl, ctr->V, AES_BLOCK_SIZE) in drbg_ctr_generate() 341 || outl != AES_BLOCK_SIZE) in drbg_ctr_generate()
|
| /freebsd-12.1/crypto/openssl/crypto/comp/ |
| H A D | c_zlib.c | 291 static int bio_zlib_read(BIO *b, char *out, int outl); 369 static int bio_zlib_read(BIO *b, char *out, int outl) in bio_zlib_read() argument 376 if (!out || !outl) in bio_zlib_read() 394 zin->avail_out = (unsigned int)outl; in bio_zlib_read() 406 return outl - zin->avail_out; in bio_zlib_read() 416 int tot = outl - zin->avail_out; in bio_zlib_read()
|