Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DParametersWithIV.java22 int ivLen) in ParametersWithIV() argument
24 this.iv = new byte[ivLen]; in ParametersWithIV()
27 System.arraycopy(iv, ivOff, this.iv, 0, ivLen); in ParametersWithIV()
/external/chromium_org/net/third_party/nss/ssl/
Dpreenc.h46 unsigned char ivLen[2]; member
55 unsigned char ivLen[2]; member
Dssl3con.c2654 int ivLen = 0; in ssl3_CompressMACEncryptRecord() local
2669 ivLen = cipher_def->iv_size; in ssl3_CompressMACEncryptRecord()
2670 if (ivLen > wrBuf->space - headerLen) { in ssl3_CompressMACEncryptRecord()
2674 rv = PK11_GenerateRandom(wrBuf->buf + headerLen, ivLen); in ssl3_CompressMACEncryptRecord()
2682 ivLen, /* max outlen */ in ssl3_CompressMACEncryptRecord()
2684 ivLen); /* input and inputLen*/ in ssl3_CompressMACEncryptRecord()
2685 if (rv != SECSuccess || cipherBytes != ivLen) { in ssl3_CompressMACEncryptRecord()
2695 wrBuf->buf + headerLen + ivLen, &outlen, in ssl3_CompressMACEncryptRecord()
2696 wrBuf->space - headerLen - ivLen, pIn, contentLen); in ssl3_CompressMACEncryptRecord()
2699 pIn = wrBuf->buf + headerLen + ivLen; in ssl3_CompressMACEncryptRecord()
[all …]
Dsslcon.c64 PRUint8 ivLen; /* length of IV data at *ca. */ member
1611 if (caLen != ssl_Specs[cipher].ivLen) { in ssl2_ServerSetupSessionCypher()
2081 caLen = ssl_Specs[cipher].ivLen; /* IV length. */ in ssl2_ClientSetupSessionCypher()
/external/chromium_org/net/third_party/nss/patches/
Daesgcm.patch859 int ivLen = 0;
875 - wrBuf->buf + headerLen + ivLen + contentLen, &macLen);
914 - pBuf = &wrBuf->buf[headerLen + ivLen + fragLen - 1];
943 - memmove(wrBuf->buf + headerLen + ivLen + p1Len, pIn + p1Len, oddLen);
948 - wrBuf->buf + headerLen + ivLen, /* output */
960 + wrBuf->buf + headerLen + ivLen + contentLen, &macLen);
988 + pBuf = &wrBuf->buf[headerLen + ivLen + fragLen - 1];
1005 + memmove(wrBuf->buf + headerLen + ivLen + p1Len, pIn + p1Len,
1011 + wrBuf->buf + headerLen + ivLen, /* output */
1025 + wrBuf->buf + headerLen + ivLen + p1Len,
[all …]