Home
last modified time | relevance | path

Searched refs:b64 (Results 1 – 25 of 28) sorted by relevance

12

/NextBSD/crypto/openssl/doc/crypto/
HDBIO_f_base64.pod44 BIO *bio, *b64;
47 b64 = BIO_new(BIO_f_base64());
49 BIO_push(b64, bio);
50 BIO_write(b64, message, strlen(message));
51 BIO_flush(b64);
53 BIO_free_all(b64);
58 BIO *bio, *b64, *bio_out;
62 b64 = BIO_new(BIO_f_base64());
65 BIO_push(b64, bio);
66 while((inlen = BIO_read(b64, inbuf, 512)) > 0)
[all …]
HDBIO_push.pod36 For these examples suppose B<md1> and B<md2> are digest BIOs, B<b64> is
41 BIO_push(b64, f);
43 is made then the new chain will be B<b64-f>. After making the calls
45 BIO_push(md2, b64);
48 the new chain is B<md1-md2-b64-f>. Data written to B<md1> will be digested
57 The call will return B<b64> and the new chain will be B<md1-b64-f> data can
/NextBSD/usr.sbin/ctld/
HDchap.c107 chap_b642bin(const char *b64, void **binp, size_t *bin_lenp) in chap_b642bin() argument
112 b64_len = strlen(b64); in chap_b642bin()
118 bin_len = b64_pton(b64, bin, bin_len); in chap_b642bin()
192 unsigned char *b64, *tmp; in chap_bin2hex() local
196 b64 = malloc(b64_len); in chap_bin2hex()
197 if (b64 == NULL) in chap_bin2hex()
200 tmp = b64; in chap_bin2hex()
204 return (b64); in chap_bin2hex()
/NextBSD/usr.sbin/iscsid/
HDchap.c107 chap_b642bin(const char *b64, void **binp, size_t *bin_lenp) in chap_b642bin() argument
112 b64_len = strlen(b64); in chap_b642bin()
118 bin_len = b64_pton(b64, bin, bin_len); in chap_b642bin()
192 unsigned char *b64, *tmp; in chap_bin2hex() local
196 b64 = malloc(b64_len); in chap_bin2hex()
197 if (b64 == NULL) in chap_bin2hex()
200 tmp = b64; in chap_bin2hex()
204 return (b64); in chap_bin2hex()
/NextBSD/contrib/unbound/sldns/
HDparseutil.c616 const char* b64 = in sldns_b64_ntop() local
625 target[o] = b64[src[i] >> 2]; in sldns_b64_ntop()
626 target[o+1] = b64[ ((src[i]&0x03)<<4) | (src[i+1]>>4) ]; in sldns_b64_ntop()
627 target[o+2] = b64[ ((src[i+1]&0x0f)<<2) | (src[i+2]>>6) ]; in sldns_b64_ntop()
628 target[o+3] = b64[ (src[i+2]&0x3f) ]; in sldns_b64_ntop()
636 target[o] = b64[src[i] >> 2]; in sldns_b64_ntop()
637 target[o+1] = b64[ ((src[i]&0x03)<<4) | (src[i+1]>>4) ]; in sldns_b64_ntop()
638 target[o+2] = b64[ ((src[i+1]&0x0f)<<2) ]; in sldns_b64_ntop()
645 target[o] = b64[src[i] >> 2]; in sldns_b64_ntop()
646 target[o+1] = b64[ ((src[i]&0x03)<<4) ]; in sldns_b64_ntop()
/NextBSD/crypto/openssl/apps/
HDasn1pars.c94 BIO *in = NULL, *out = NULL, *b64 = NULL, *derout = NULL; in MAIN() local
269 if ((b64 = BIO_new(BIO_f_base64())) == NULL) in MAIN()
271 BIO_push(b64, in); in MAIN()
273 in = b64; in MAIN()
274 b64 = tmp; in MAIN()
359 if (b64 != NULL) in MAIN()
360 BIO_free(b64); in MAIN()
HDenc.c125 BIO *in = NULL, *out = NULL, *b64 = NULL, *benc = NULL, *rbio = in MAIN() local
478 if ((b64 = BIO_new(BIO_f_base64())) == NULL) in MAIN()
481 BIO_set_callback(b64, BIO_debug_callback); in MAIN()
482 BIO_set_callback_arg(b64, (char *)bio_err); in MAIN()
485 BIO_set_flags(b64, BIO_FLAGS_BASE64_NO_NL); in MAIN()
487 wbio = BIO_push(b64, wbio); in MAIN()
489 rbio = BIO_push(b64, rbio); in MAIN()
671 if (b64 != NULL) in MAIN()
672 BIO_free(b64); in MAIN()
HDrand.c192 BIO *b64 = BIO_new(BIO_f_base64()); in MAIN() local
193 if (b64 == NULL) in MAIN()
195 out = BIO_push(b64, out); in MAIN()
/NextBSD/sys/crypto/siphash/
HDsiphash.c65 ctx->buf.b64 = 0; in SipHash_InitX()
102 x = MIN(len, sizeof(ctx->buf.b64) - ctx->buflen); in SipBuf()
110 ctx->v[3] ^= le64toh(ctx->buf.b64); in SipBuf()
112 ctx->v[0] ^= le64toh(ctx->buf.b64); in SipBuf()
113 ctx->buf.b64 = 0; in SipBuf()
HDsiphash.h57 uint64_t b64; member
/NextBSD/crypto/openssl/crypto/asn1/
HDasn_mime.c151 BIO *b64; in B64_write_ASN1() local
153 b64 = BIO_new(BIO_f_base64()); in B64_write_ASN1()
154 if (!b64) { in B64_write_ASN1()
161 out = BIO_push(b64, out); in B64_write_ASN1()
165 BIO_free(b64); in B64_write_ASN1()
183 BIO *b64; in b64_read_asn1() local
185 if (!(b64 = BIO_new(BIO_f_base64()))) { in b64_read_asn1()
189 bio = BIO_push(b64, bio); in b64_read_asn1()
195 BIO_free(b64); in b64_read_asn1()
/NextBSD/contrib/wpa/src/eap_server/
HDtncs.c184 unsigned char *b64; in TNC_TNCS_SendMessage() local
200 b64 = base64_encode(message, messageLength, &b64len); in TNC_TNCS_SendMessage()
201 if (b64 == NULL) in TNC_TNCS_SendMessage()
208 os_free(b64); in TNC_TNCS_SendMessage()
217 (unsigned int) messageType, b64); in TNC_TNCS_SendMessage()
219 os_free(b64); in TNC_TNCS_SendMessage()
/NextBSD/contrib/wpa/src/eap_peer/
HDtncc.c149 unsigned char *b64; in TNC_TNCC_SendMessage() local
161 b64 = base64_encode(message, messageLength, &b64len); in TNC_TNCC_SendMessage()
162 if (b64 == NULL) in TNC_TNCC_SendMessage()
170 os_free(b64); in TNC_TNCC_SendMessage()
178 (unsigned int) messageType, b64); in TNC_TNCC_SendMessage()
180 os_free(b64); in TNC_TNCC_SendMessage()
/NextBSD/sys/crypto/
HDsha1.h48 u_int64_t b64[1]; member
HDsha1.c69 #define BCOUNT (ctxt->c.b64[0] / 8)
76 ctxt->c.b64[0] += 8; \
244 ctxt->c.b64[0] += copysiz * 8;
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXIntrinsics.td149 def INT_NVVM_CLZ_LL : F_MATH_1<"clz.b64 \t$dst, $src0;", Int32Regs, Int64Regs,
154 def INT_NVVM_POPC_LL : F_MATH_1<"popc.b64 \t$dst, $src0;", Int32Regs, Int64Regs,
286 def INT_NVVM_BREV64 : F_MATH_1<"brev.b64 \t$dst, $src0;", Int64Regs, Int64Regs,
660 def INT_NVVM_LOHI_I2D : F_MATH_2<"mov.b64 \t$dst, {{$src0, $src1}};",
665 !strconcat("mov.b64 \t{$dst, %temp}, $src0;\n\t",
670 !strconcat("mov.b64 \t{%temp, $dst}, $src0;\n\t",
816 def INT_NVVM_BITCAST_LL2D : F_MATH_1<"mov.b64 \t$dst, $src0;", Float64Regs,
818 def INT_NVVM_BITCAST_D2LL : F_MATH_1<"mov.b64 \t$dst, $src0;", Int64Regs,
1048 defm INT_PTX_ATOM_SWAP_G_64 : F_ATOMIC_2<Int64Regs, ".global", ".b64", ".exch",
1050 defm INT_PTX_ATOM_SWAP_S_64 : F_ATOMIC_2<Int64Regs, ".shared", ".b64", ".exch",
[all …]
HDNVPTXInstrInfo.td990 !strconcat(OpcStr, ".b64 \t$dst, $a, $b;"),
994 !strconcat(OpcStr, ".b64 \t$dst, $a, $b;"),
1012 "not.b64 \t$dst, $src;",
1183 !strconcat(".reg .b64 %lhs;\n\t",
1184 !strconcat(".reg .b64 %rhs;\n\t",
1185 !strconcat("shl.b64 \t%lhs, $src, $amt1;\n\t",
1186 !strconcat("shr.b64 \t%rhs, $src, $amt2;\n\t",
1203 !strconcat(".reg .b64 %lhs;\n\t",
1204 !strconcat(".reg .b64 %rhs;\n\t",
1206 !strconcat("shl.b64 \t%lhs, $src, $amt;\n\t",
[all …]
HDNVPTXVector.td337 def ShiftLV2I64 : VecShiftOp<V2AsmStr<"shl.b64">, shl, V2I64Regs, V2I32Regs,
935 def V2I64_Select : Vec_Select<V2I64Regs, Select_Str2<"b64">.s, SELECTi64rr>;
1127 def LoadParamScalar2I64 : LoadParamScalar2Inst<Int32Regs, ".v2.b64">;
1140 def StoreParamScalar2I64 : StoreParamScalar2Inst<Int64Regs, ".v2.b64">;
1153 def StoreRetvalScalar2I64 : StoreRetvalScalar2Inst<Int64Regs, ".v2.b64">;
1187 def LoadParamV2I64 : LoadParamVecInst<V2I64Regs, ".v2.b64",
1212 def StoreParamV2I64 : StoreParamVecInst<V2I64Regs, ".v2.b64",
1235 def StoreRetvalV2I64 : StoreRetvalVecInst<V2I64Regs, ".v2.b64",
/NextBSD/contrib/ldns/
HDhost2str.c473 char *b64 = LDNS_XMALLOC(char, size); in ldns_rdf2buffer_str_b64() local
474 if(!b64) return LDNS_STATUS_MEM_ERR; in ldns_rdf2buffer_str_b64()
475 if (ldns_b64_ntop(ldns_rdf_data(rdf), ldns_rdf_size(rdf), b64, size)) { in ldns_rdf2buffer_str_b64()
476 ldns_buffer_printf(output, "%s", b64); in ldns_rdf2buffer_str_b64()
478 LDNS_FREE(b64); in ldns_rdf2buffer_str_b64()
1030 char *b64; in ldns_rdf2buffer_str_int16_data() local
1038 b64 = LDNS_XMALLOC(char, size); in ldns_rdf2buffer_str_int16_data()
1039 if(!b64) in ldns_rdf2buffer_str_int16_data()
1045 b64, size)) { in ldns_rdf2buffer_str_int16_data()
1046 ldns_buffer_printf(output, "%s", b64); in ldns_rdf2buffer_str_int16_data()
[all …]
HDChangelog674 * Reading multiline b64 encoded rdata works.
/NextBSD/contrib/wpa/hs20/client/
HDosu_client.c283 unsigned char *b64; in download_cert() local
337 b64 = base64_encode((unsigned char *) cert, len, NULL); in download_cert()
339 if (b64 == NULL) in download_cert()
344 os_free(b64); in download_cert()
351 b64); in download_cert()
353 os_free(b64); in download_cert()
/NextBSD/crypto/openssl/doc/apps/
HDenc.pod296 openssl base64 -in file.bin -out file.b64
300 openssl base64 -d -in file.b64 -out file.bin
/NextBSD/lib/libasl/
HDasl_msg.c2551 uint8_t *b64; in asl_format_message() local
2753 b64 = asl_b64_encode((uint8_t *)val, strlen(val)); in asl_format_message()
2754 asl_string_append_xml_tag(str, "data", (char *)b64); in asl_format_message()
2755 free(b64); in asl_format_message()
/NextBSD/crypto/openssl/
HDConfigure1823 my ($b64l,$b64,$b32,$b16,$b8)=(0,0,1,0,0);
1849 ($b64l,$b64,$b32,$b16,$b8)=(0,1,0,0,0) if /SIXTY_FOUR_BIT/;
1850 ($b64l,$b64,$b32,$b16,$b8)=(1,0,0,0,0) if /SIXTY_FOUR_BIT_LONG/;
1851 ($b64l,$b64,$b32,$b16,$b8)=(0,0,1,0,0) if /THIRTY_TWO_BIT/;
1852 ($b64l,$b64,$b32,$b16,$b8)=(0,0,0,1,0) if /SIXTEEN_BIT/;
1853 ($b64l,$b64,$b32,$b16,$b8)=(0,0,0,0,1) if /EIGHT_BIT/;
1921 { printf OUT "#%s SIXTY_FOUR_BIT\n",($b64)?"define":"undef"; }
1981 print "SIXTY_FOUR_BIT mode\n" if $b64;
/NextBSD/contrib/llvm/include/llvm/IR/
HDIntrinsicsNVVM.td3655 [IntrNoMem], "llvm.nvvm.rotate.b64">,
3660 [IntrNoMem], "llvm.nvvm.rotate.right.b64">,
3665 [IntrNoMem], "llvm.nvvm.swap.lo.hi.b64">,

12