Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 55) sorted by relevance

123

/openssl/crypto/ts/
H A Dts_lib.c23 char *hex; in TS_ASN1_INTEGER_print_bio() local
28 if ((hex = BN_bn2hex(num_bn))) { in TS_ASN1_INTEGER_print_bio()
30 result = result && BIO_write(bio, hex, strlen(hex)) > 0; in TS_ASN1_INTEGER_print_bio()
31 OPENSSL_free(hex); in TS_ASN1_INTEGER_print_bio()
/openssl/apps/
H A Dprime.c63 int hex = 0, generate = 0, bits = 0, safe = 0, ret = 1; in prime_main() local
80 hex = 1; in prime_main()
128 s = hex ? BN_bn2hex(bn) : BN_bn2dec(bn); in prime_main()
137 int r = check_num(argv[0], hex); in prime_main()
140 r = hex ? BN_hex2bn(&bn, argv[0]) : BN_dec2bn(&bn, argv[0]); in prime_main()
H A Dopenssl.c111 char buffer[256], *hex; in internal_trace_cb() local
123 hex = OPENSSL_buf2hexstr((const unsigned char *)&tid, sizeof(tid)); in internal_trace_cb()
125 hex == NULL ? "<null>" : hex, in internal_trace_cb()
127 OPENSSL_free(hex); in internal_trace_cb()
/openssl/crypto/ec/
H A Dec_print.c44 const char *hex, EC_POINT *point, BN_CTX *ctx) in EC_POINT_hex2point() argument
51 if (group == NULL || hex == NULL) in EC_POINT_hex2point()
62 len = strlen(hex) / 2; in EC_POINT_hex2point()
67 if (!OPENSSL_hexstr2buf_ex(oct_buf, len, &oct_buf_len, hex, '\0') in EC_POINT_hex2point()
/openssl/test/
H A Dbntests.pl20 my ($sign, $hex) = ($x =~ /^([+\-]?)(.*)$/);
22 $hex = '0x' . $hex if $hex !~ /^0x/;
23 return Math::BigInt->from_hex($sign.$hex);
H A Ddane-cross.in16 # <usage> <selector> <mtype> <hex-data>
/openssl/test/testutil/
H A Dtestutil_init.c27 char buffer[256], *hex; in internal_trace_cb() local
35 hex = OPENSSL_buf2hexstr((const unsigned char *)&tid, sizeof(tid)); in internal_trace_cb()
37 hex, OSSL_trace_get_category_name(category)); in internal_trace_cb()
38 OPENSSL_free(hex); in internal_trace_cb()
/openssl/crypto/err/
H A Derr_prn.c30 char *hex = NULL; in ERR_print_errors_cb() local
36 hex = ossl_buf2hexstr_sep((const unsigned char *)&tid, sizeof(tid), '\0'); in ERR_print_errors_cb()
37 BIO_snprintf(buf, sizeof(buf), "%s:", hex == NULL ? "<null>" : hex); in ERR_print_errors_cb()
43 OPENSSL_free(hex); in ERR_print_errors_cb()
/openssl/doc/man1/
H A Dopenssl-kdf.pod.in84 the secret key is specified in hexadecimal form (two hex digits per byte).
95 the password is specified in hexadecimal form (two hex digits per byte).
108 the salt is specified in hexadecimal form (two hex digits per byte).
122 the info is specified in hexadecimal form (two hex digits per byte).
150 Use TLS1-PRF to create a hex-encoded derived key from a secret key and seed:
155 Use HKDF to create a hex-encoded derived key from a secret key, salt and info:
160 Use SSKDF with KMAC to create a hex-encoded derived key from a secret key, salt and info:
166 Use SSKDF with HMAC to create a hex-encoded derived key from a secret key, salt and info:
178 Use SSHKDF to create a hex-encoded derived key from a secret key, hash and session_id:
186 Use PBKDF2 to create a hex-encoded derived key from a password and salt:
[all …]
H A Dopenssl-errstr.pod.in18 used to display the meaning of the hex code. The hex code is the hex digits
H A Dopenssl-prime.pod.in12 [B<-hex>]
36 =item B<-hex>
38 Generate hex output.
H A Dopenssl-mac.pod.in79 Specifies the MAC key in hexadecimal form (two hex digits per byte).
90 Used by GMAC to specify an IV in hexadecimal form (two hex digits per byte).
125 To create a hex-encoded HMAC-SHA1 MAC of a file and write to stdout:
136 To create a hex-encoded CMAC-AES-128-CBC MAC from a file:
142 To create a hex-encoded KMAC128 MAC from a file with a Customisation String
148 To create a hex-encoded GMAC-AES-128-GCM with a IV from a file:
H A Dopenssl-dgst.pod.in17 [B<-hex>]
71 the B<-hex> option is given as well.
77 =item B<-hex>
79 Digest is to be output as a hex dump. This is the default case for a "normal"
81 signatures using B<-hex>.
183 Specifies MAC key in hexadecimal form (two hex digits per byte).
221 To create a hex-encoded message digest of a file:
223 openssl dgst -md5 -hex file.txt
263 or similar program to transform the hex signature into a binary signature
H A Dopenssl-rand.pod.in14 [B<-hex>]
54 =item B<-hex>
56 Show the output as a hex string.
H A Dopenssl-sess_id.pod.in110 The SSL session ID in hex format.
114 The session ID context in hex format.
H A Dopenssl-namedisplay-options.pod72 notation where B<XX> are the two hex digits representing the character value.
110 Any fields that would be output in hex format are displayed using
/openssl/doc/man3/
H A DOPENSSL_hexchar2int.pod28 OPENSSL_hexstr2buf_ex() decodes the hex string B<str> and places the
36 Colons between two-character hex "bytes" are accepted and ignored.
37 An odd number of hex digits is an error.
63 OPENSSL_hexchar2int returns the value of a decoded hex character,
H A DOSSL_PARAM_allocate_from_text.pod47 "hex", and will only use the rest of I<key> to look up an item in
58 If I<key> didn't start with "hex", I<value> is assumed to contain
65 If I<key> started with "hex", I<value> is assumed to contain
74 If I<key> started with "hex", OSSL_PARAM_allocate_from_text()
84 If I<key> started with "hex", I<value> is assumed to contain
91 If I<key> didn't start with "hex", I<value_n> bytes from I<value> are
H A DASN1_STRING_print_ex.pod52 using exactly four characters for the hex representation. If it is 32 bits then
53 "\WXXXXXXXX" is used using eight characters of its hex representation. These forms
59 notation. Other characters use the "\XX" using exactly two characters of the hex
74 outputs the value of the string using the form #XXXX using hex format for each
H A DEVP_PKEY_CTX_set1_pbe_pass.pod35 "pass" or given in hex encoding using the "hexpass" parameter.
H A DEVP_chacha20.pod30 With an initial counter of 42 (2a in hex) would be expressed as:
H A DEVP_PKEY_CTX_set_scrypt_N.pod50 parameter "salt" or in hex encoding by using the "hexsalt" parameter.
H A DEVP_PKEY_CTX_set_tls1_prf_md.pod44 The names "hexsecret" and "hexseed" are similar except they take a hex string
/openssl/doc/man7/
H A Dproxy-certificates.pod89 =item B<hex>
92 colons between each byte (every second hex digit):
94 policy=hex:72:E4:6B:73:6D:F6:72:67:E5:73
/openssl/test/recipes/30-test_evp_data/
H A Devppkey_rsa_sigalg.txt130 # echo -n 'Hello World' | openssl dgst -hex -sign key.pem -{hashname}

Completed in 26 milliseconds

123