Home
last modified time | relevance | path

Searched refs:tmp_len (Results 1 – 16 of 16) sorted by relevance

/onnv-gate/usr/src/common/openssl/crypto/evp/
H A Dbio_b64.c84 int tmp_len; /* used to find the start when decoding */ member
120 ctx->tmp_len=0; in b64_new()
159 ctx->tmp_len=0; in b64_read()
191 i=BIO_read(b->next_bio,&(ctx->tmp[ctx->tmp_len]), in b64_read()
192 B64_BLOCK_SIZE-ctx->tmp_len); in b64_read()
203 if(ctx->tmp_len == 0) in b64_read()
213 i+=ctx->tmp_len; in b64_read()
214 ctx->tmp_len = i; in b64_read()
221 ctx->tmp_len=0; in b64_read()
274 ctx->tmp_len=0; in b64_read()
[all …]
/onnv-gate/usr/src/common/openssl/apps/
H A Decparam.c482 size_t buf_len = 0, tmp_len = 0; in MAIN() local
528 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len) in MAIN()
529 buf_len = tmp_len; in MAIN()
530 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len) in MAIN()
531 buf_len = tmp_len; in MAIN()
532 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len) in MAIN()
533 buf_len = tmp_len; in MAIN()
534 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len) in MAIN()
535 buf_len = tmp_len; in MAIN()
536 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len) in MAIN()
[all …]
/onnv-gate/usr/src/common/openssl/crypto/ec/
H A Dec_mult.c466 size_t tmp_len = 0; in ec_wNAF_mul() local
476 tmp_wNAF = compute_wNAF(scalar, wsize[num], &tmp_len); in ec_wNAF_mul()
480 if (tmp_len <= max_len) in ec_wNAF_mul()
490 wNAF_len[num] = tmp_len; in ec_wNAF_mul()
491 if (tmp_len > max_len) in ec_wNAF_mul()
492 max_len = tmp_len; in ec_wNAF_mul()
504 if (tmp_len < numblocks * blocksize) in ec_wNAF_mul()
507 numblocks = (tmp_len + blocksize - 1) / blocksize; in ec_wNAF_mul()
525 if (tmp_len < blocksize) in ec_wNAF_mul()
530 tmp_len -= blocksize; in ec_wNAF_mul()
[all …]
H A Dec_asn1.c1212 size_t buf_len=0, tmp_len; in i2d_ECPrivateKey() local
1272 tmp_len = EC_POINT_point2oct(a->group, a->pub_key, in i2d_ECPrivateKey()
1275 if (tmp_len > buf_len) in i2d_ECPrivateKey()
1277 unsigned char *tmp_buffer = OPENSSL_realloc(buffer, tmp_len); in i2d_ECPrivateKey()
1284 buf_len = tmp_len; in i2d_ECPrivateKey()
/onnv-gate/usr/src/cmd/isns/isnsd/
H A Dobj.c1872 uint16_t tmp_len; in reg_get_entity() local
1878 tmp_len = *op_len; in reg_get_entity()
1881 if (tmp_len >= 8 && IS_ENTITY_KEY(tmp->attr_id)) { in reg_get_entity()
1888 NEXT_TLV(tmp, tmp_len); in reg_get_entity()
1890 tmp_len >= 8 && in reg_get_entity()
1913 *op_len = tmp_len; in reg_get_entity()
1944 uint16_t tmp_len; in reg_get_iscsi() local
1950 tmp_len = *op_len; in reg_get_iscsi()
1967 NEXT_TLV(tmp, tmp_len); in reg_get_iscsi()
1969 tmp_len >= 8 && in reg_get_iscsi()
[all …]
H A Dqry.c1212 uint32_t tmp_len = tlv_len; in get_qry_attrs1() local
1215 while (tmp_len > 8) { in get_qry_attrs1()
1217 NEXT_TLV(tmp, tmp_len); in get_qry_attrs1()
/onnv-gate/usr/src/uts/common/io/hxge/
H A Dhxge_send.c134 uint64_t tot_xfer_len = 0, tmp_len = 0; in hxge_start() local
663 tmp_len = (uint64_t)(start_offset >> 1); in hxge_start()
664 hdrp->value |= (tmp_len << TX_PKT_HEADER_L4START_SHIFT); in hxge_start()
665 tmp_len = (uint64_t)(stuff_offset >> 1); in hxge_start()
666 hdrp->value |= (tmp_len << TX_PKT_HEADER_L4STUFF_SHIFT); in hxge_start()
685 tmp_len = hdrp->value | in hxge_start()
692 tot_xfer_len, tot_xfer_len, pkt_len, tmp_len, hdrp->value)); in hxge_start()
694 hdrp->value = ddi_swap64(tmp_len); in hxge_start()
696 hdrp->value = tmp_len; in hxge_start()
702 tot_xfer_len, pkt_len, tmp_len, hdrp->value)); in hxge_start()
/onnv-gate/usr/src/uts/common/rpc/sec/
H A Dsec_svc.c373 int i, tmp_len; in sec_svc_inrootlist() local
390 tmp_len = tmp_gssp->len; in sec_svc_inrootlist()
391 if ((namelen == tmp_len) && in sec_svc_inrootlist()
/onnv-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c103 int cc, local_result_code, tmp_len; local
309 tmp_len = sizeof (tmp_addr);
311 0, &tmp_addr, &tmp_len)) < 0)
/onnv-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c877 uint64_t tmp_len; in nxge_start() local
882 tmp_len = hdrp->value | in nxge_start()
890 tmp_len, hdrp->value)); in nxge_start()
892 hdrp->value = ddi_swap64(tmp_len); in nxge_start()
894 hdrp->value = tmp_len; in nxge_start()
901 tmp_len, hdrp->value)); in nxge_start()
/onnv-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c6489 unsigned int jj = 0, tmp_len = 0; local
6562 &tmp, &tmp_len);
6568 if (!jj && tmp_len > 0) {
6569 jj = tmp_len;
6586 &tmp, &tmp_len);
6588 if (jj || tmp_len == 0) {
6592 jj = tmp_len;
/onnv-gate/usr/src/uts/common/io/rsm/
H A Drsm.c8713 size_t tmp_len; in rsm_segmap() local
8733 tmp_len = 0; in rsm_segmap()
8737 length_to_map, &tmp_len, in rsm_segmap()
8751 p->individual_len = tmp_len; in rsm_segmap()
8756 total_length_mapped += tmp_len; in rsm_segmap()
8757 length_to_map -= tmp_len; in rsm_segmap()
8758 tmp_off += tmp_len; in rsm_segmap()
/onnv-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c8275 size_t tmp_len = 0; in dprov_key_task() local
8281 DPROV_CKA_PUBLIC_EXPONENT, &tmp, &tmp_len); in dprov_key_task()
8399 size_t tmp_len = 0; in dprov_key_task() local
8409 &tmp_len) != CRYPTO_SUCCESS) || in dprov_key_task()
8412 &tmp_len) != CRYPTO_SUCCESS) || in dprov_key_task()
8415 &tmp_len) != CRYPTO_SUCCESS)) { in dprov_key_task()
H A Dcrypto.c2238 size_t tmp_len; in copyin_attributes() local
2272 tmp_len = roundup(STRUCT_FGET(oa, oa_value_len), in copyin_attributes()
2274 if (tmp_len > crypto_max_buffer_len) { in copyin_attributes()
2282 k_attrs_buf_len += tmp_len; in copyin_attributes()
/onnv-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c4642 int dn_len = 0, tmp_len = 0; in __s_api_replace_mapped_attr_in_dn() local
4707 tmp_len = cur - dn; in __s_api_replace_mapped_attr_in_dn()
4708 (void) memcpy((void *) start, (const void*) dn, tmp_len); in __s_api_replace_mapped_attr_in_dn()
/onnv-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c937 uint32_t tmp_len; in fc_ulp_getportmap() local
1016 tmp_len = *len; in fc_ulp_getportmap()
1019 while (tmp_len-- != 0) { in fc_ulp_getportmap()