| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:19+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
# #-#-#-#-# archlinux: BN_num_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: BN_num_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: BN_num_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: BN_num_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 29 |
#. ======================================================================== |
| 30 |
#. type: IX |
| 31 |
#: archlinux debian-trixie debian-unstable |
| 32 |
#, no-wrap |
| 33 |
msgid "Title" |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
# |
| 37 |
#. Required to disable full justification in groff 1.23.0. |
| 38 |
#. ======================================================================== |
| 39 |
#. type: IX |
| 40 |
#: archlinux |
| 41 |
#, no-wrap |
| 42 |
msgid "BN_NUM_BYTES 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "BN_NUM_BYTES" |
| 49 |
msgstr "" |
| 50 |
|
| 51 |
#. type: TH |
| 52 |
#: archlinux debian-trixie debian-unstable |
| 53 |
#, no-wrap |
| 54 |
msgid "2026-04-07" |
| 55 |
msgstr "" |
| 56 |
|
| 57 |
#. type: TH |
| 58 |
#: archlinux debian-unstable |
| 59 |
#, no-wrap |
| 60 |
msgid "3.6.2" |
| 61 |
msgstr "" |
| 62 |
|
| 63 |
#. type: TH |
| 64 |
#: archlinux debian-trixie debian-unstable |
| 65 |
#, no-wrap |
| 66 |
msgid "OpenSSL" |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable |
| 71 |
#, no-wrap |
| 72 |
msgid "NAME" |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable |
| 77 |
msgid "BN_num_bits, BN_num_bytes, BN_num_bits_word - get BIGNUM size" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#. type: IX |
| 81 |
#: archlinux debian-trixie debian-unstable |
| 82 |
#, no-wrap |
| 83 |
msgid "SYNOPSIS" |
| 84 |
msgstr "" |
| 85 |
|
| 86 |
#. type: IX |
| 87 |
#: archlinux debian-trixie debian-unstable |
| 88 |
#, no-wrap |
| 89 |
msgid "Header" |
| 90 |
msgstr "" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable |
| 94 |
#, no-wrap |
| 95 |
msgid "" |
| 96 |
"\\& #include E<lt>openssl/bn.hE<gt>\n" |
| 97 |
"\\&\n" |
| 98 |
"\\& int BN_num_bytes(const BIGNUM *a);\n" |
| 99 |
"\\&\n" |
| 100 |
"\\& int BN_num_bits(const BIGNUM *a);\n" |
| 101 |
"\\&\n" |
| 102 |
"\\& int BN_num_bits_word(BN_ULONG w);\n" |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
#. type: IX |
| 106 |
#: archlinux debian-trixie debian-unstable |
| 107 |
#, no-wrap |
| 108 |
msgid "DESCRIPTION" |
| 109 |
msgstr "" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable |
| 113 |
msgid "\\&B<BN_num_bytes()> returns the size of a B<BIGNUM> in bytes." |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable |
| 118 |
msgid "" |
| 119 |
"\\&B<BN_num_bits_word()> returns the number of significant bits in a word. " |
| 120 |
"If we take 0x00000432 as an example, it returns 11, not 16, not 32. " |
| 121 |
"Basically, except for a zero, it returns I<floor(log2(w))+1>." |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable |
| 126 |
msgid "" |
| 127 |
"\\&B<BN_num_bits()> returns the number of significant bits in a B<BIGNUM>, " |
| 128 |
"following the same principle as B<BN_num_bits_word()>." |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable |
| 133 |
msgid "\\&B<BN_num_bytes()> is a macro." |
| 134 |
msgstr "" |
| 135 |
|
| 136 |
#. type: IX |
| 137 |
#: archlinux debian-trixie debian-unstable |
| 138 |
#, no-wrap |
| 139 |
msgid "RETURN VALUES" |
| 140 |
msgstr "" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable |
| 144 |
msgid "The size." |
| 145 |
msgstr "" |
| 146 |
|
| 147 |
#. type: IX |
| 148 |
#: archlinux debian-trixie debian-unstable |
| 149 |
#, no-wrap |
| 150 |
msgid "NOTES" |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux |
| 155 |
msgid "" |
| 156 |
"Some have tried using B<BN_num_bits()> on individual numbers in RSA keys, DH " |
| 157 |
"keys and DSA keys, and found that they don\\*(Aqt always come up with the " |
| 158 |
"number of bits they expected (something like 512, 1024, 2048, \\&...). This " |
| 159 |
"is because generating a number with some specific number of bits " |
| 160 |
"doesn\\*(Aqt always set the highest bits, thereby making the number of " |
| 161 |
"I<significant> bits a little lower. If you want to know the \"key size\" of " |
| 162 |
"such a key, either use functions like B<RSA_size()>, B<DH_size()> and " |
| 163 |
"B<DSA_size()>, or use B<BN_num_bytes()> and multiply with 8 (although " |
| 164 |
"there\\*(Aqs no real guarantee that will match the \"key size\", just a lot " |
| 165 |
"more probability)." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: IX |
| 169 |
#: archlinux debian-trixie debian-unstable |
| 170 |
#, no-wrap |
| 171 |
msgid "SEE ALSO" |
| 172 |
msgstr "" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable |
| 176 |
msgid "\\&B<DH_size>\\|(3), B<DSA_size>\\|(3), \\&B<RSA_size>\\|(3)" |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: IX |
| 180 |
#: archlinux debian-trixie debian-unstable |
| 181 |
#, no-wrap |
| 182 |
msgid "COPYRIGHT" |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable |
| 187 |
msgid "Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved." |
| 188 |
msgstr "" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable |
| 192 |
msgid "" |
| 193 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 194 |
"this file except in compliance with the License. You can obtain a copy in " |
| 195 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 196 |
"www.openssl.org/source/license.htmlE<gt>." |
| 197 |
msgstr "" |
| 198 |
|
| 199 |
#. ======================================================================== |
| 200 |
#. type: IX |
| 201 |
#: debian-trixie debian-unstable |
| 202 |
#, no-wrap |
| 203 |
msgid "BN_NUM_BYTES 3SSL" |
| 204 |
msgstr "" |
| 205 |
|
| 206 |
#. type: TH |
| 207 |
#: debian-trixie |
| 208 |
#, no-wrap |
| 209 |
msgid "3.5.6" |
| 210 |
msgstr "" |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: debian-trixie debian-unstable |
| 214 |
msgid "" |
| 215 |
"Some have tried using B<BN_num_bits()> on individual numbers in RSA keys, DH " |
| 216 |
"keys and DSA keys, and found that they don't always come up with the number " |
| 217 |
"of bits they expected (something like 512, 1024, 2048, \\&...). This is " |
| 218 |
"because generating a number with some specific number of bits doesn't always " |
| 219 |
"set the highest bits, thereby making the number of I<significant> bits a " |
| 220 |
"little lower. If you want to know the \"key size\" of such a key, either " |
| 221 |
"use functions like B<RSA_size()>, B<DH_size()> and B<DSA_size()>, or use " |
| 222 |
"B<BN_num_bytes()> and multiply with 8 (although there's no real guarantee " |
| 223 |
"that will match the \"key size\", just a lot more probability)." |
| 224 |
msgstr "" |