Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 5 of 5) sorted by relevance

/openssl/crypto/
H A Ddeterministic_nonce.c85 return BN_bn2binpad(num, out, rlen) >= 0; in int2octets()
114 ret = int2octets(out, z, rlen); in bits2octets()
189 int ret = 0, rlen = 0, qlen_bits = 0; in ossl_gen_deterministic_nonce_rfc6979() local
202 rlen = (qlen_bits + 7) / 8; in ossl_gen_deterministic_nonce_rfc6979()
203 allocsz = prefsz + 3 * rlen; in ossl_gen_deterministic_nonce_rfc6979()
210 nonceh = rbits + rlen; in ossl_gen_deterministic_nonce_rfc6979()
211 entropyx = nonceh + rlen; in ossl_gen_deterministic_nonce_rfc6979()
215 if (!int2octets(entropyx, priv, rlen) in ossl_gen_deterministic_nonce_rfc6979()
216 || !bits2octets(nonceh, q, qlen_bits, rlen, hm, hmlen)) in ossl_gen_deterministic_nonce_rfc6979()
219 kdfctx = kdf_setup(digestname, entropyx, rlen, nonceh, rlen, libctx, propq); in ossl_gen_deterministic_nonce_rfc6979()
[all …]
/openssl/ssl/record/methods/
H A Dtls13_meth.c328 size_t rlen; in tls13_add_record_padding() local
341 rlen = TLS_RL_RECORD_get_length(thiswr); in tls13_add_record_padding()
342 if (rlen < rl->max_frag_len) { in tls13_add_record_padding()
344 size_t max_padding = rl->max_frag_len - rlen; in tls13_add_record_padding()
363 padding = rl->padding(rl->cbarg, thistempl->type, rlen); in tls13_add_record_padding()
382 remainder = rlen & mask; in tls13_add_record_padding()
384 remainder = rlen % bp; in tls13_add_record_padding()
/openssl/crypto/bn/
H A Dbn_gcd.c585 int i, j, top, rlen, glen, m, delta = 1, cond = 0, pow2_shifts, ret = 0; in BN_gcd() local
651 rlen = BN_num_bits(r); in BN_gcd()
653 m = 4 + 3 * ((rlen >= glen) ? rlen : glen); in BN_gcd()
/openssl/test/
H A Dacvp_test.c236 size_t *rlen, size_t *slen) in get_ecdsa_sig_rs_bytes() argument
263 *rlen = r1_len; in get_ecdsa_sig_rs_bytes()
279 size_t sig_len = 0, rlen = 0, slen = 0; in ecdsa_siggen_test() local
289 || !TEST_true(get_ecdsa_sig_rs_bytes(sig, sig_len, &r, &s, &rlen, &slen))) in ecdsa_siggen_test()
291 test_output_memory("r", r, rlen); in ecdsa_siggen_test()
788 size_t sig_len = 0, rlen = 0, slen = 0; in dsa_siggen_test() local
799 || !TEST_true(get_dsa_sig_rs_bytes(sig, sig_len, &r, &s, &rlen, &slen))) in dsa_siggen_test()
801 test_output_memory("r", r, rlen); in dsa_siggen_test()
/openssl/doc/man3/
H A DECDSA_SIG_new.pod98 rbn = BN_bin2bn(r, rlen, NULL);

Completed in 16 milliseconds