Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 163) sorted by relevance

1234567

/freebsd-12.1/tests/sys/opencrypto/
H A Dcryptodev.py529 print('enc:', enc.encode('hex'))
530 print(' ct:', ct.encode('hex'))
536 print('dec:', dec.encode('hex'))
537 print(' pt:', pt.encode('hex'))
551 print(' ct:', ct.encode('hex'))
558 print(' pt:', pt.encode('hex'))
571 print(' ct:', ct.encode('hex'))
578 print(' pt:', pt.encode('hex'))
597 print(' ct:', ct.encode('hex'))
610 print(' pt:', pt.encode('hex'))
[all …]
H A Dcryptotest.py142 data['rct'] = rct.encode('hex')
143 data['rtag'] = rtag.encode('hex')
161 data['rpt'] = rpt.encode('hex')
162 data['rtag'] = rtag.encode('hex')
263 repr(out.encode("hex")) + " Expected: " + \
314 " Actual: " + repr(r.encode("hex")) + \
406 repr(r.encode("hex")) + " Expected: " + repr(data) + " on " + cname)
463 repr(r.encode("hex")) + " Expected: " + repr(data))
/freebsd-12.1/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("he…
147 …cmd = "NFC_REPORT_HANDOVER " + type + " WPS " + str(req).encode("hex") + " " + str(sel).encode("he…
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("hex"))
360 print(str(sel).encode("hex"))
448 print(str(p2p_sel_data).encode("hex"))
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-12.1/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-12.1/contrib/ntp/util/
H A Dtg.c242 int encode = WWV; /* encoder select */ variable
287 encode = IRIG; in main()
368 switch (encode) { in main()
433 if (encode == WWV) { in main()
441 if (encode == IRIG) { in main()
452 switch(encode) { in main()
H A Dtg2.c517 int encode = IRIG; /* encoder select */ variable
921 encode = IRIG;
928 encode = IRIG;
935 encode = IRIG;
942 encode = IRIG;
952 encode = IRIG;
962 encode = WWV;
1090 switch (encode) {
1372 if (encode == WWV) {
1425 if (encode == IRIG) {
[all …]
/freebsd-12.1/crypto/openssl/crypto/evp/
H A Dbio_b64.c38 int encode; member
127 if (ctx->encode != B64_DECODE) { in b64_read()
128 ctx->encode = B64_DECODE; in b64_read()
343 if (ctx->encode != B64_ENCODE) { in b64_write()
344 ctx->encode = B64_ENCODE; in b64_write()
464 ctx->encode = B64_NONE; in b64_ctrl()
476 if ((ret == 0) && (ctx->encode != B64_NONE) in b64_ctrl()
505 } else if (ctx->encode != B64_NONE in b64_ctrl()
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Dvis.hin58 * to alter set of characters encoded (default is to encode all
61 #define VIS_SP 0x04 /* also encode space */
62 #define VIS_TAB 0x08 /* also encode tab */
63 #define VIS_NL 0x10 /* also encode newline */
65 #define VIS_SAFE 0x20 /* only encode "unsafe" characters */
/freebsd-12.1/usr.bin/uuencode/
H A Duuencode.c65 static void encode(void);
135 encode(); in main()
180 encode(void) in encode() function
/freebsd-12.1/contrib/mandoc/
H A Dterm.c38 static void encode(struct termp *, const char *, size_t);
557 encode(p, nbrsp, 1); in term_word()
564 encode(p, word, ssz); in term_word()
584 encode(p, cp, ssz); in term_word()
622 encode(p, "pdf", 3); in term_word()
624 encode(p, "ps", 2); in term_word()
626 encode(p, "ascii", 5); in term_word()
628 encode(p, "utf8", 4); in term_word()
700 encode(p, cp, ssz); in term_word()
743 encode(p, cp, strlen(cp)); in term_word()
[all …]
/freebsd-12.1/crypto/openssl/doc/man3/
H A Di2d_re_X509_tbs.pod7 - X509 encode and decode functions
21 The X509 encode and decode routines encode and parse an
37 respectively. The "re" in B<i2d_re_X509_tbs> stands for "re-encode",
H A DEVP_EncodeInit.pod8 EVP_DecodeBlock - EVP base 64 encode/decode routines
32 The EVP encode routines provide a high level interface to base 64 encoding and
41 the encode/decode functions.
43 EVP_ENCODE_CTX_free() cleans up an encode/decode context B<ctx> and frees up the
56 EVP_EncodeUpdate() encode B<inl> bytes of data found in the buffer pointed to by
H A DX509_PUBKEY_new.pod58 d2i_PUBKEY() and i2d_PUBKEY() decode and encode an B<EVP_PKEY> structure
63 similar to d2i_PUBKEY() and i2d_PUBKEY() except they decode or encode using a
84 The B<X509_PUBKEY> functions can be used to encode and decode public keys
H A DBIO_f_base64.pod29 to encode the data all on one line or expect the data to be all
43 Base64 encode the string "Hello World\n" and write the result
H A DX509_EXTENSION_set_object.pod61 applications will want to parse or encode and add an extension: they should
62 use the extension encode and decode functions instead such as
/freebsd-12.1/sys/contrib/ngatm/netnatm/msg/
H A Dpriv.h72 uni_encode_f encode; member
81 uni_msg_encode_f encode; member
/freebsd-12.1/crypto/heimdal/appl/ftp/ftp/
H A Dsecurity.h55 int (*encode)(void *, void*, int, int, void**); member
66 int (*encode)(void *, void*, int, int, void**); member
/freebsd-12.1/sys/contrib/libsodium/regen-msvc/
H A Dregen-msvc.py89 tpl = tpl.replace(str.encode(
90 "{{" + s + "}}", "utf8"), str.encode(str.strip(sbox[s]), "utf8"))
/freebsd-12.1/crypto/heimdal/lib/asn1/
H A Dkrb5.opt1 --encode-rfc1510-bit-string
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
/freebsd-12.1/tools/tools/drm/radeon/firmwares/
H A DREADME9 ./encode-firmwares /path/to/linux-firmwares/radeon
/freebsd-12.1/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_frame.c53 uint8_t *data, uint64_t *offsetp, uint8_t encode, Dwarf_Addr pc, in _dwarf_frame_read_lsb_encoded() argument
58 if (encode == DW_EH_PE_omit) in _dwarf_frame_read_lsb_encoded()
61 application = encode & 0xf0; in _dwarf_frame_read_lsb_encoded()
62 encode &= 0x0f; in _dwarf_frame_read_lsb_encoded()
64 switch (encode) { in _dwarf_frame_read_lsb_encoded()
101 switch (encode) { in _dwarf_frame_read_lsb_encoded()
131 uint8_t encode; in _dwarf_frame_parse_lsb_cie_augment() local
153 encode = *augdata_p++; in _dwarf_frame_parse_lsb_cie_augment()
156 augdata_p, &offset, encode, 0, error); in _dwarf_frame_parse_lsb_cie_augment()
/freebsd-12.1/contrib/gdb/include/
H A Dxtensa-isa-internal.h59 xtensa_immed_encode_fn encode; /* Encode the operand value. */ member

1234567