Home
last modified time | relevance | path

Searched refs:blockLength (Results 1 – 16 of 16) sorted by relevance

/external/smack/src/org/xbill/DNS/utils/
DHMAC.java17 private int blockLength; field in HMAC
28 if (key.length > blockLength) { in init()
32 ipad = new byte[blockLength]; in init()
33 opad = new byte[blockLength]; in init()
38 for (; i < blockLength; i++) { in init()
52 HMAC(MessageDigest digest, int blockLength, byte [] key) { in HMAC() argument
55 this.blockLength = blockLength; in HMAC()
66 HMAC(String digestName, int blockLength, byte [] key) { in HMAC() argument
73 this.blockLength = blockLength; in HMAC()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
DHMac.java26 private int blockLength; field in HMac
100 this.blockLength = byteLength; in HMac()
101 this.inputPad = new byte[blockLength]; in HMac()
102 this.outputBuf = new byte[blockLength + digestSize]; in HMac()
123 if (keyLength > blockLength) in init()
140 System.arraycopy(inputPad, 0, outputBuf, 0, blockLength); in init()
142 xorPad(inputPad, blockLength, IPAD); in init()
143 xorPad(outputBuf, blockLength, OPAD); in init()
149 ((Digest)opadState).update(outputBuf, 0, blockLength); in init()
183 digest.doFinal(outputBuf, blockLength); in doFinal()
[all …]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_impl.cc93 uint16_t blockLength = 0; in AddReceivedRedPacket() local
110 blockLength = in AddReceivedRedPacket()
112 blockLength += (incoming_rtp_packet[header.headerLength + 3]); in AddReceivedRedPacket()
121 if (blockLength > payload_data_length - REDHeaderLength) { in AddReceivedRedPacket()
130 if (blockLength > 0) { in AddReceivedRedPacket()
147 blockLength); in AddReceivedRedPacket()
149 received_packet->pkt->length = blockLength; in AddReceivedRedPacket()
160 REDHeaderLength + blockLength, in AddReceivedRedPacket()
161 payload_data_length - REDHeaderLength - blockLength); in AddReceivedRedPacket()
164 payload_data_length - REDHeaderLength - blockLength; in AddReceivedRedPacket()
Drtp_sender_audio.cc384 uint32_t blockLength = fragmentation->fragmentationLength[1]; in SendAudio() local
387 if(blockLength > 0x3ff) { // block length 10 bits 1023 bytes in SendAudio()
390 uint32_t REDheader = (timestampOffset << 10) + blockLength; in SendAudio()
/external/chromium_org/third_party/tlslite/patches/
Dssl3_padding.patch13 blockLength = self._writeState.encContext.block_size
14 - paddingLength = blockLength-(currentLength % blockLength)
15 + paddingLength = blockLength - 1 - (currentLength % blockLength)
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libmkv/
DWebMElement.c35 unsigned long blockLength = 4 + dataLength; in writeSimpleBlock() local
36 blockLength |= 0x10000000; // TODO check length < 0x0FFFFFFFF in writeSimpleBlock()
37 Ebml_Serialize(glob, &blockLength, sizeof(blockLength), 4); in writeSimpleBlock()
/external/libvpx/libvpx/third_party/libmkv/
DWebMElement.c35 unsigned long blockLength = 4 + dataLength; in writeSimpleBlock() local
36 blockLength |= 0x10000000; // TODO check length < 0x0FFFFFFFF in writeSimpleBlock()
37 Ebml_Serialize(glob, &blockLength, sizeof(blockLength), 4); in writeSimpleBlock()
/external/aac/libAACenc/src/
Dmetadata_compressor.cpp168 INT blockLength; /*!< Block length in samples. */ member
394 const INT blockLength in tc2Coeff() argument
405 blockLengthFract = (FIXP_DBL)(blockLength<<(DFRACT_BITS-1-METADATA_LINT_BITS)); in tc2Coeff()
478 const INT blockLength, in FDK_DRC_Generator_Initialize() argument
488 drcComp->limDecay = FL2FXCONST_DBL( ((0.006f / 256) * blockLength) / METADATA_INT_SCALE ); in FDK_DRC_Generator_Initialize()
491 drcComp->blockLength = blockLength; in FDK_DRC_Generator_Initialize()
631 …p->fastAttack[i] = tc2Coeff(tabFastAttack[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
632 …mp->fastDecay[i] = tc2Coeff(tabFastDecay[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
633 …p->slowAttack[i] = tc2Coeff(tabSlowAttack[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
634 …mp->slowDecay[i] = tc2Coeff(tabSlowDecay[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
[all …]
Dmetadata_compressor.h172 const INT blockLength,
/external/aac/libSBRenc/src/
Dton_corr.cpp177 int blockLength; in FDKsbrEnc_CalculateTonalityQuotas() local
201 blockLength = pBlockLength[0]; in FDKsbrEnc_CalculateTonalityQuotas()
203 while(k <= buffLen - blockLength) in FDKsbrEnc_CalculateTonalityQuotas()
205 …factor(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength), getScalefactor(&imagBuf[k-LPC_ORDER], LPC_OR… in FDKsbrEnc_CalculateTonalityQuotas()
208 scaleValues(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling); in FDKsbrEnc_CalculateTonalityQuotas()
209 scaleValues(&imagBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling); in FDKsbrEnc_CalculateTonalityQuotas()
212 autoCorrScaling += autoCorr2nd_cplx ( ac, realBuf+k, imagBuf+k, blockLength ); in FDKsbrEnc_CalculateTonalityQuotas()
300 blockLength = pBlockLength[1]; in FDKsbrEnc_CalculateTonalityQuotas()
/external/chromium_org/third_party/icu/source/common/
Dutrie2_builder.c880 findSameDataBlock(const uint32_t *data, int32_t dataLength, int32_t otherBlock, int32_t blockLength in findSameDataBlock() argument
884 dataLength-=blockLength; in findSameDataBlock()
887 if(equal_uint32(data+block, data+otherBlock, blockLength)) { in findSameDataBlock()
987 int32_t blockLength, overlap; in compactData() local
1000 blockLength=64; in compactData()
1001 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
1009 blockLength=UTRIE2_DATA_BLOCK_LENGTH; in compactData()
1016 start+=blockLength; in compactData()
1023 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1033 start+=blockLength; in compactData()
[all …]
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp880 findSameDataBlock(const uint32_t *data, int32_t dataLength, int32_t otherBlock, int32_t blockLength in findSameDataBlock() argument
884 dataLength-=blockLength; in findSameDataBlock()
887 if(equal_uint32(data+block, data+otherBlock, blockLength)) { in findSameDataBlock()
987 int32_t blockLength, overlap; in compactData() local
1000 blockLength=64; in compactData()
1001 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
1009 blockLength=UTRIE2_DATA_BLOCK_LENGTH; in compactData()
1016 start+=blockLength; in compactData()
1023 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1033 start+=blockLength; in compactData()
[all …]
/external/chromium_org/third_party/tlslite/tlslite/
Dtlsrecordlayer.py593 blockLength = self._writeState.encContext.block_size
594 paddingLength = blockLength - 1 - (currentLength % blockLength)
958 blockLength = self._readState.encContext.block_size
959 if len(b) % blockLength != 0:
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Dcrypto-aes.js200 var blockLength = b<blockCount-1 ? blockSize : (plaintext.length-1)%blockSize+1;
203 for (var i=0; i<blockLength; i++) { // -- xor plaintext with ciphered counter byte-by-byte --
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Dcrypto-aes.js200 var blockLength = b<blockCount-1 ? blockSize : (plaintext.length-1)%blockSize+1;
203 for (var i=0; i<blockLength; i++) { // -- xor plaintext with ciphered counter byte-by-byte --
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Dcrypto-aes.js200 var blockLength = b<blockCount-1 ? blockSize : (plaintext.length-1)%blockSize+1;
203 for (var i=0; i<blockLength; i++) { // -- xor plaintext with ciphered counter byte-by-byte --