/dports/deskutils/egroupware/egroupware/vendor/lcobucci/jwt/src/Signer/Ecdsa/ |
H A D | MultibyteStringConverter.php | 37 const BYTE_SIZE = 2; define in Lcobucci\\JWT\\Signer\\Ecdsa\\MultibyteStringConverter 53 $totalLength = $lengthR + $lengthS + self::BYTE_SIZE + self::BYTE_SIZE; 68 return (int) (mb_strlen($data, '8bit') / self::BYTE_SIZE); 73 if (mb_substr($data, 0, self::BYTE_SIZE, '8bit') > self::ASN1_BIG_INTEGER_LIMIT) { 77 while (mb_substr($data, 0, self::BYTE_SIZE, '8bit') === self::ASN1_NEGATIVE_INTEGER 78 && mb_substr($data, 2, self::BYTE_SIZE, '8bit') <= self::ASN1_BIG_INTEGER_LIMIT) { 95 $position += self::BYTE_SIZE; 120 $length = (int) hexdec(self::readAsn1Content($message, $position, self::BYTE_SIZE)); 122 return self::readAsn1Content($message, $position, $length * self::BYTE_SIZE); 127 while (mb_substr($data, 0, self::BYTE_SIZE, '8bit') === self::ASN1_NEGATIVE_INTEGER [all …]
|
/dports/www/groupoffice/groupoffice-6.4.231-php-71/vendor/lcobucci/jwt/src/Signer/Ecdsa/ |
H A D | MultibyteStringConverter.php | 37 const BYTE_SIZE = 2; define in Lcobucci\\JWT\\Signer\\Ecdsa\\MultibyteStringConverter 53 $totalLength = $lengthR + $lengthS + self::BYTE_SIZE + self::BYTE_SIZE; 68 return (int) (mb_strlen($data, '8bit') / self::BYTE_SIZE); 73 if (mb_substr($data, 0, self::BYTE_SIZE, '8bit') > self::ASN1_BIG_INTEGER_LIMIT) { 77 while (mb_substr($data, 0, self::BYTE_SIZE, '8bit') === self::ASN1_NEGATIVE_INTEGER 78 && mb_substr($data, 2, self::BYTE_SIZE, '8bit') <= self::ASN1_BIG_INTEGER_LIMIT) { 95 $position += self::BYTE_SIZE; 120 $length = (int) hexdec(self::readAsn1Content($message, $position, self::BYTE_SIZE)); 122 return self::readAsn1Content($message, $position, $length * self::BYTE_SIZE); 127 while (mb_substr($data, 0, self::BYTE_SIZE, '8bit') === self::ASN1_NEGATIVE_INTEGER [all …]
|
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/lcobucci/jwt/src/Signer/Ecdsa/ |
H A D | MultibyteStringConverter.php | 37 const BYTE_SIZE = 2; define in Lcobucci\\JWT\\Signer\\Ecdsa\\MultibyteStringConverter 53 $totalLength = $lengthR + $lengthS + self::BYTE_SIZE + self::BYTE_SIZE; 68 return (int) (mb_strlen($data, '8bit') / self::BYTE_SIZE); 73 if (mb_substr($data, 0, self::BYTE_SIZE, '8bit') > self::ASN1_BIG_INTEGER_LIMIT) { 77 while (mb_substr($data, 0, self::BYTE_SIZE, '8bit') === self::ASN1_NEGATIVE_INTEGER 78 && mb_substr($data, 2, self::BYTE_SIZE, '8bit') <= self::ASN1_BIG_INTEGER_LIMIT) { 95 $position += self::BYTE_SIZE; 120 $length = (int) hexdec(self::readAsn1Content($message, $position, self::BYTE_SIZE)); 122 return self::readAsn1Content($message, $position, $length * self::BYTE_SIZE); 127 while (mb_substr($data, 0, self::BYTE_SIZE, '8bit') === self::ASN1_NEGATIVE_INTEGER [all …]
|
/dports/security/nextcloud-twofactor_webauthn/twofactor_webauthn/vendor/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ |
H A D | ECSignature.php | 36 private const BYTE_SIZE = 2; define in Cose\\Algorithm\\Signature\\ECDSA\\ECSignature 52 $totalLength = $lengthR + $lengthS + self::BYTE_SIZE + self::BYTE_SIZE; 79 $position += self::BYTE_SIZE; 95 return intdiv(mb_strlen($data, '8bit'), self::BYTE_SIZE); 100 if (mb_substr($data, 0, self::BYTE_SIZE, '8bit') > self::ASN1_BIG_INTEGER_LIMIT) { 105 self::ASN1_NEGATIVE_INTEGER === mb_substr($data, 0, self::BYTE_SIZE, '8bit') 106 && mb_substr($data, 2, self::BYTE_SIZE, '8bit') <= self::ASN1_BIG_INTEGER_LIMIT 128 $length = (int) hexdec(self::readAsn1Content($message, $position, self::BYTE_SIZE)); 130 return self::readAsn1Content($message, $position, $length * self::BYTE_SIZE); 136 self::ASN1_NEGATIVE_INTEGER === mb_substr($data, 0, self::BYTE_SIZE, '8bit') [all …]
|
/dports/sysutils/ldap-account-manager/ldap-account-manager-7.3/lib/3rdParty/composer/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ |
H A D | ECSignature.php | 30 private const BYTE_SIZE = 2; define in Cose\\Algorithm\\Signature\\ECDSA\\ECSignature 46 $totalLength = $lengthR + $lengthS + self::BYTE_SIZE + self::BYTE_SIZE; 67 $position += self::BYTE_SIZE; 78 return (int) (mb_strlen($data, '8bit') / self::BYTE_SIZE); 83 if (mb_substr($data, 0, self::BYTE_SIZE, '8bit') > self::ASN1_BIG_INTEGER_LIMIT) { 87 while (self::ASN1_NEGATIVE_INTEGER === mb_substr($data, 0, self::BYTE_SIZE, '8bit') 88 && mb_substr($data, 2, self::BYTE_SIZE, '8bit') <= self::ASN1_BIG_INTEGER_LIMIT) { 109 $length = (int) hexdec(self::readAsn1Content($message, $position, self::BYTE_SIZE)); 111 return self::readAsn1Content($message, $position, $length * self::BYTE_SIZE); 116 while (self::ASN1_NEGATIVE_INTEGER === mb_substr($data, 0, self::BYTE_SIZE, '8bit') [all …]
|
/dports/www/nextcloud/nextcloud/3rdparty/web-auth/cose-lib/src/Algorithm/Signature/ECDSA/ |
H A D | ECSignature.php | 36 private const BYTE_SIZE = 2; define in Cose\\Algorithm\\Signature\\ECDSA\\ECSignature 52 $totalLength = $lengthR + $lengthS + self::BYTE_SIZE + self::BYTE_SIZE; 79 $position += self::BYTE_SIZE; 95 return (int) (mb_strlen($data, '8bit') / self::BYTE_SIZE); 100 if (mb_substr($data, 0, self::BYTE_SIZE, '8bit') > self::ASN1_BIG_INTEGER_LIMIT) { 105 self::ASN1_NEGATIVE_INTEGER === mb_substr($data, 0, self::BYTE_SIZE, '8bit') 106 && mb_substr($data, 2, self::BYTE_SIZE, '8bit') <= self::ASN1_BIG_INTEGER_LIMIT 128 $length = (int) hexdec(self::readAsn1Content($message, $position, self::BYTE_SIZE)); 130 return self::readAsn1Content($message, $position, $length * self::BYTE_SIZE); 136 self::ASN1_NEGATIVE_INTEGER === mb_substr($data, 0, self::BYTE_SIZE, '8bit') [all …]
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/ed25519-1.3.0/src/ |
H A D | lib.rs | 301 pub const SIGNATURE_LENGTH: usize = Signature::BYTE_SIZE; 305 pub struct Signature([u8; Signature::BYTE_SIZE]); 309 pub const BYTE_SIZE: usize = 64; const 331 pub fn to_bytes(self) -> [u8; Self::BYTE_SIZE] { in to_bytes() argument 344 pub fn new(bytes: [u8; Self::BYTE_SIZE]) -> Self { in new() 361 impl From<Signature> for [u8; Signature::BYTE_SIZE] { implementation 367 impl From<&Signature> for [u8; Signature::BYTE_SIZE] { implementation 379 impl From<[u8; Signature::BYTE_SIZE]> for Signature { 456 let mut result = [0u8; Self::BYTE_SIZE]; in from_str() 491 type Value = [u8; Signature::BYTE_SIZE]; in deserialize() [all …]
|
H A D | pkcs8.rs | 39 pub secret_key: [u8; Self::BYTE_SIZE / 2], 44 pub public_key: Option<[u8; Self::BYTE_SIZE / 2]>, 49 const BYTE_SIZE: usize = 64; const 57 pub fn to_bytes(&self) -> Option<[u8; Self::BYTE_SIZE]> { in to_bytes() argument 59 let mut result = [0u8; Self::BYTE_SIZE]; 60 let (sk, pk) = result.split_at_mut(Self::BYTE_SIZE / 2); 118 let mut private_key = [0u8; 2 + (Self::BYTE_SIZE / 2)]; in to_pkcs8_der()
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/crypto-bigint-0.2.11/src/uint/ |
H A D | encoding.rs | 16 bytes.len() == limb::BYTE_SIZE * LIMBS, in from_be_slice() 23 while i < limb::BYTE_SIZE * LIMBS { in from_be_slice() 36 bytes.len() == limb::BYTE_SIZE * LIMBS * 2, in from_be_hex() 43 while i < limb::BYTE_SIZE * LIMBS * 2 { in from_be_hex() 56 bytes.len() == limb::BYTE_SIZE * LIMBS, in from_le_slice() 63 while i < limb::BYTE_SIZE * LIMBS { in from_le_slice() 76 bytes.len() == limb::BYTE_SIZE * LIMBS * 2, in from_le_hex() 83 while i < limb::BYTE_SIZE * LIMBS * 2 { in from_le_hex() 97 debug_assert_eq!(out.len(), limb::BYTE_SIZE * LIMBS); in write_be_bytes() 104 .zip(out.chunks_exact_mut(limb::BYTE_SIZE)) in write_be_bytes() [all …]
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/crypto-bigint-0.2.6/src/uint/ |
H A D | encoding.rs | 16 bytes.len() == limb::BYTE_SIZE * LIMBS, in from_be_slice() 23 while i < limb::BYTE_SIZE * LIMBS { in from_be_slice() 36 bytes.len() == limb::BYTE_SIZE * LIMBS * 2, in from_be_hex() 43 while i < limb::BYTE_SIZE * LIMBS * 2 { in from_be_hex() 56 bytes.len() == limb::BYTE_SIZE * LIMBS, in from_le_slice() 63 while i < limb::BYTE_SIZE * LIMBS { in from_le_slice() 76 bytes.len() == limb::BYTE_SIZE * LIMBS * 2, in from_le_hex() 83 while i < limb::BYTE_SIZE * LIMBS * 2 { in from_le_hex() 97 debug_assert_eq!(out.len(), limb::BYTE_SIZE * LIMBS); in write_be_bytes() 104 .zip(out.chunks_exact_mut(limb::BYTE_SIZE)) in write_be_bytes() [all …]
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/ |
H A D | TestCompressorDecompressor.java | 75 int BYTE_SIZE = 100 * 1024; in testCompressorDecompressorWithExeedBufferLimit() local 76 byte[] rawData = generate(BYTE_SIZE); in testCompressorDecompressorWithExeedBufferLimit() 80 new SnappyCompressor(BYTE_SIZE + BYTE_SIZE / 2), in testCompressorDecompressorWithExeedBufferLimit() 81 new SnappyDecompressor(BYTE_SIZE + BYTE_SIZE / 2)) in testCompressorDecompressorWithExeedBufferLimit() 82 .withCompressDecompressPair(new Lz4Compressor(BYTE_SIZE), in testCompressorDecompressorWithExeedBufferLimit() 83 new Lz4Decompressor(BYTE_SIZE)) in testCompressorDecompressorWithExeedBufferLimit()
|
/dports/cad/cascade-compiler/cascade-f4f7ae8bd1dd379790c0e58c286df90b8d1cdcde/share/cascade/test/benchmark/mips32/ |
H A D | mem.v | 3 parameter BYTE_SIZE = 8 constant 8 output wire[BYTE_SIZE-1:0] rdata1, 10 output wire[BYTE_SIZE-1:0] rdata2, 12 input wire[BYTE_SIZE-1:0] wdata 14 reg[BYTE_SIZE-1:0] mem[2**ADDR_SIZE-1:0];
|
/dports/cad/cascade-compiler/cascade-f4f7ae8bd1dd379790c0e58c286df90b8d1cdcde/share/cascade/test/regression/simple/ |
H A D | mem_1.v | 6 parameter BYTE_SIZE = 8 constant 11 output wire[BYTE_SIZE-1:0] rdata1, 13 output wire[BYTE_SIZE-1:0] rdata2, 15 input wire[BYTE_SIZE-1:0] wdata 17 reg[BYTE_SIZE-1:0] mem[ADDR_SIZE-1:0];
|
H A D | mem_2.v | 6 parameter BYTE_SIZE = 8 constant 11 output wire[BYTE_SIZE-1:0] rdata1, 13 input wire[BYTE_SIZE-1:0] wdata 15 reg[BYTE_SIZE-1:0] mem[ADDR_SIZE-1:0];
|
H A D | fifo_1.v | 6 parameter BYTE_SIZE = 8 constant 10 output wire[BYTE_SIZE-1:0] rdata, 12 input wire[BYTE_SIZE-1:0] wdata, 17 reg[BYTE_SIZE-1:0] fifo[(2**LOG_DEPTH)-1:0];
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/snappy/ |
H A D | TestSnappyCompressorDecompressor.java | 170 int BYTE_SIZE = 1024 * 54; in testSnappyCompressDecompress() local 171 byte[] bytes = BytesGenerator.get(BYTE_SIZE); in testSnappyCompressDecompress() 181 byte[] compressed = new byte[BYTE_SIZE]; in testSnappyCompressDecompress() 190 byte[] decompressed = new byte[BYTE_SIZE]; in testSnappyCompressDecompress() 248 int BYTE_SIZE = 1024 * 50; in testSnappyBlockCompression() local 252 byte[] bytes = BytesGenerator.get(BYTE_SIZE); in testSnappyBlockCompression() 258 int len = BYTE_SIZE; in testSnappyBlockCompression() 260 if (BYTE_SIZE > maxSize) { in testSnappyBlockCompression() 333 int BYTE_SIZE = 1024 * 100; in testSnappyCompressorDecopressorLogicWithCompressionStreams() local 334 byte[] bytes = BytesGenerator.get(BYTE_SIZE); in testSnappyCompressorDecopressorLogicWithCompressionStreams() [all …]
|
/dports/sysutils/libg15render/libg15render-3.0.4/ |
H A D | screen.c | 33 unsigned int byte_offset = pixel_offset / BYTE_SIZE; in g15r_getPixel() 34 unsigned int bit_offset = 7 - (pixel_offset % BYTE_SIZE); in g15r_getPixel() 51 unsigned int byte_offset = pixel_offset / BYTE_SIZE; in g15r_setPixel() 52 unsigned int bit_offset = 7 - (pixel_offset % BYTE_SIZE); in g15r_setPixel()
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/lz4/ |
H A D | TestLz4CompressorDecompressor.java | 194 int BYTE_SIZE = 1024 * 54; in testCompressDecompress() local 195 byte[] bytes = generate(BYTE_SIZE); in testCompressDecompress() 205 byte[] compressed = new byte[BYTE_SIZE]; in testCompressDecompress() 213 byte[] decompressed = new byte[BYTE_SIZE]; in testCompressDecompress() 269 int BYTE_SIZE = 1024 * 100; in testCompressorDecopressorLogicWithCompressionStreams() local 270 byte[] bytes = generate(BYTE_SIZE); in testCompressorDecopressorLogicWithCompressionStreams() 292 byte[] result = new byte[BYTE_SIZE]; in testCompressorDecopressorLogicWithCompressionStreams()
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/crypto/ |
H A D | muhash.h | 25 static constexpr size_t BYTE_SIZE = 384; 52 void ToBytes(unsigned char (&out)[BYTE_SIZE]); 55 Num3072(const unsigned char (&data)[BYTE_SIZE]);
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/crypto/ |
H A D | muhash.h | 25 static constexpr size_t BYTE_SIZE = 384; 52 void ToBytes(unsigned char (&out)[BYTE_SIZE]); 55 Num3072(const unsigned char (&data)[BYTE_SIZE]);
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/crypto/ |
H A D | muhash.h | 25 static constexpr size_t BYTE_SIZE = 384; 52 void ToBytes(unsigned char (&out)[BYTE_SIZE]); 55 Num3072(const unsigned char (&data)[BYTE_SIZE]);
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/ed25519-1.3.0/tests/ |
H A D | serde.rs | 12 const EXAMPLE_SIGNATURE: [u8; Signature::BYTE_SIZE] = [ 45 let mut expected = Vec::from(Signature::BYTE_SIZE.to_le_bytes()); in test_serialize_bytes() 55 let mut encoded_signature = Vec::from(Signature::BYTE_SIZE.to_le_bytes()); in test_deserialize_bytes()
|
/dports/devel/dtool/dtool-0.11.0/cargo-crates/ecdsa-0.12.4/src/ |
H A D | lib.rs | 165 let (r, s) = self.bytes.split_at(C::UInt::BYTE_SIZE); in to_der() 179 let r_bytes = GenericArray::clone_from_slice(&self.bytes[..C::UInt::BYTE_SIZE]); in r() 186 let s_bytes = GenericArray::clone_from_slice(&self.bytes[C::UInt::BYTE_SIZE..]); in s() 199 let s_bytes = GenericArray::from_mut_slice(&mut self.bytes[C::UInt::BYTE_SIZE..]); in normalize_s() 269 for scalar in bytes.chunks_exact(C::UInt::BYTE_SIZE) { in try_from()
|
/dports/games/openjk/OpenJK-07675e2/code/Ratl/ |
H A D | bits_vs.h | 90 mem::cpy(this->mV, B.mV,this->BYTE_SIZE); in bits_vs() 182 return (mem::eql(this->mV, B.mV,this->BYTE_SIZE)); 231 mem::cpy(this->mV, B.mV,this->BYTE_SIZE);
|
/dports/games/openjk/OpenJK-07675e2/codemp/Ratl/ |
H A D | bits_vs.h | 92 mem::cpy(this->mV, B.mV,this->BYTE_SIZE); in bits_vs() 184 return (mem::eql(this->mV, B.mV,this->BYTE_SIZE)); 233 mem::cpy(this->mV, B.mV,this->BYTE_SIZE);
|