Searched refs:encode (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-11.0-release/tests/sys/opencrypto/
H A Dcryptodev.py420 print 'enc:', enc.encode('hex')
421 print ' ct:', ct.encode('hex')
427 print 'dec:', dec.encode('hex')
428 print ' pt:', pt.encode('hex')
441 print 'enc:', enc.encode('hex')
442 print ' ct:', ct.encode('hex')
448 print 'dec:', dec.encode('hex')
449 print ' pt:', pt.encode('hex')
461 print 'enc:', enc.encode('hex')
462 print ' ct:', ct.encode('he
[all...]
H A Dcryptotest.py114 data['rct'] = rct.encode('hex')
115 data['rtag'] = rtag.encode('hex')
127 data['rpt'] = rpt.encode('hex')
128 data['rtag'] = rtag.encode('hex')
/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftp/
H A Dsecurity.h55 int (*encode)(void *, void*, int, int, void**); member in struct:sec_client_mech
66 int (*encode)(void *, void*, int, int, void**); member in struct:sec_server_mech
H A Dsecurity.c256 bytes = (*mech->encode)(app_data, from, length, data_prot, &buf);
383 len = (*mech->encode)(app_data, buf, strlen(buf), command_prot, &enc);
386 printf("Failed to encode command.\n");
/freebsd-11.0-release/sys/contrib/ngatm/netnatm/msg/
H A Dpriv.h49 * For each coding scheme a quadrupel of check, print, encode and
72 uni_encode_f encode; member in struct:iedecl
81 uni_msg_encode_f encode; member in struct:msgdecl
H A Dprivmsg.c264 return ((uni_msgtable[in->mtype]->encode)(msg, &in->u, cx));
/freebsd-11.0-release/crypto/heimdal/lib/asn1/
H A Dcheck-common.h53 int (ASN1CALL *encode)(unsigned char *, size_t, void *, size_t *),
H A Dasn1-template.h104 asn1_type_encode encode; member in struct:asn1_type_func
H A Dcheck-common.c199 int (ASN1CALL *encode)(unsigned char *, size_t, void *, size_t *),
240 current_state = "encode";
241 ret = (*encode) (buf + buf_sz - 1, buf_sz,
333 map_free(buf_map, tests[i].name, "encode");
413 map_free(buf_map, tests[i].name, "encode");
/freebsd-11.0-release/crypto/openssl/crypto/pem/
H A Dpem_seal.c94 EVP_EncodeInit(&ctx->encode);
105 /* base64 encode the keys */
137 EVP_EncodeUpdate(&ctx->encode, out, &j, buffer, j);
167 EVP_EncodeUpdate(&ctx->encode, out, &j, s, i);
170 EVP_EncodeFinal(&ctx->encode, out, &j);
/freebsd-11.0-release/contrib/wpa/hostapd/
H A Dwps-ap-nfc.py66 if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + str(message).encode("hex")):
106 str(req).encode("hex") + " " +
107 str(sel).encode("hex"))
139 print str(request).encode("hex")
152 print data.encode("hex")
166 print str(sel).encode("hex")
/freebsd-11.0-release/crypto/openssl/crypto/evp/
H A Dbio_b64.c89 int encode; member in struct:b64_struct
128 ctx->encode = 0;
163 if (ctx->encode != B64_DECODE) {
164 ctx->encode = B64_DECODE;
370 if (ctx->encode != B64_ENCODE) {
371 ctx->encode = B64_ENCODE;
486 ctx->encode = B64_NONE;
498 if ((ret == 0) && (ctx->encode != B64_NONE)
527 } else if (ctx->encode != B64_NONE && ctx->base64.num != 0) {
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/examples/
H A Dp2p-nfc.py81 cmd = "WPS_NFC_TAG_READ " + str(message).encode("hex")
136 cmd = "NFC_REPORT_HANDOVER " + type + " P2P " + str(req).encode("hex") + " " + str(sel).encode("hex")
147 cmd = "NFC_REPORT_HANDOVER " + type + " WPS " + str(req).encode("hex") + " " + str(sel).encode("hex")
163 print "Handover request carrier record from wpa_supplicant: " + data.encode("hex")
186 print str(message).encode("hex")
225 print str(message).encode("hex")
312 print data.encode("hex")
342 print data.encode("he
[all...]
H A Dwps-nfc.py70 if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + str(message).encode("hex")):
134 str(req).encode("hex") + " " +
135 str(sel).encode("hex"))
181 print data.encode("hex")
196 print str(sel).encode("hex")
210 print "Handover request carrier record from wpa_supplicant: " + data.encode("hex")
222 print str(message).encode("hex")
261 print str(message).encode("hex")
/freebsd-11.0-release/usr.bin/uuencode/
H A Duuencode.c63 static void encode(void);
133 encode();
178 encode(void) function
/freebsd-11.0-release/contrib/ntp/util/
H A Dtg.c228 void digit(int); /* encode digit */
242 int encode = WWV; /* encoder select */ variable
287 encode = IRIG;
341 printf("port %d gain %d rate %d chan %d prec %d encode %d\n",
368 switch (encode) {
433 if (encode == WWV) {
441 if (encode == IRIG) {
452 switch(encode) {
H A Dtg2.c496 void digit(int); /* encode digit */
517 int encode = IRIG; /* encoder select */ variable
921 encode = IRIG;
928 encode = IRIG;
935 encode = IRIG;
942 encode = IRIG;
952 encode = IRIG;
962 encode = WWV;
1044 printf("\nport %d gain %d rate %d chan %d prec %d encode %d\n",
1090 switch (encode) {
[all...]
/freebsd-11.0-release/contrib/gdb/include/
H A Dxtensa-isa-internal.h59 xtensa_immed_encode_fn encode; /* Encode the operand value. */ member in struct:xtensa_operand_internal_struct
/freebsd-11.0-release/release/scripts/
H A Dlist-new-changesets.py72 print(msg.encode('utf-8'))
/freebsd-11.0-release/contrib/file/python/
H A Dmagic.py137 return str(r).encode('utf-8')
155 return str(r).encode('utf-8')
166 return str(e).encode('utf-8')
/freebsd-11.0-release/contrib/mdocml/
H A Dterm.c37 static void encode(struct termp *, const char *, size_t);
429 encode(p, nbrsp, 1);
436 encode(p, word, ssz);
459 encode(p, cp, ssz);
521 encode(p, cp, strlen(cp));
555 * See encode().
596 encode(struct termp *p, const char *word, size_t sz) function
/freebsd-11.0-release/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_frame.c53 uint8_t *data, uint64_t *offsetp, uint8_t encode, Dwarf_Addr pc,
58 if (encode == DW_EH_PE_omit)
61 application = encode & 0xf0;
62 encode &= 0x0f;
64 switch (encode) {
101 switch (encode) {
131 uint8_t encode; local
151 encode = *augdata_p++;
154 augdata_p, &offset, encode, 0, error);
266 * find out the real encode
52 _dwarf_frame_read_lsb_encoded(Dwarf_Debug dbg, Dwarf_Cie cie, uint64_t *val, uint8_t *data, uint64_t *offsetp, uint8_t encode, Dwarf_Addr pc, Dwarf_Error *error) argument
[all...]
/freebsd-11.0-release/contrib/gcc/
H A Dreal.h119 void (*encode) (const struct real_format *, long *, member in struct:real_format
/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftpd/
H A Dsecurity.c256 bytes = (*mech->encode)(app_data, from, length, data_prot, &buf);
383 len = (*mech->encode)(app_data, buf, strlen(buf), command_prot, &enc);
386 printf("Failed to encode command.\n");
/freebsd-11.0-release/contrib/ntp/sntp/unity/auto/
H A Dgenerate_test_runner.rb60 source = source.force_encoding("ISO-8859-1").encode("utf-8", :replace => nil) if ($QUICK_RUBY_VERSION > 10900)

Completed in 190 milliseconds

12