Searched refs:getKeyBytes (Results 1 – 3 of 3) sorted by relevance
216 final byte[] cryptKey = getKeyBytes(keyLen); in checkAesCtr()254 final byte[] authKey = getKeyBytes(AES_XCBC_KEY_LEN); in testAesXcbc()268 final byte[] authKey = getKeyBytes(AES_CMAC_KEY_LEN); in testAesCmac()282 final byte[] cryptKey = getKeyBytes(CHACHA20_POLY1305_KEY_LEN); in testChaCha20Poly1305()
134 protected static byte[] getKeyBytes(int byteLength) { in getKeyBytes() method in IpSecBaseTest142 return getKeyBytes(bitLength / 8); in getKey()
925 return new IpSecAlgorithm(CRYPT_AES_CTR, getKeyBytes(AES_CTR_KEY_LEN_20)); in buildCryptAesCtr()930 AUTH_HMAC_SHA512, getKeyBytes(HMAC_SHA512_KEY_LEN), HMAC_SHA512_ICV_LEN * 8); in buildAuthHmacSha512()979 AUTH_AES_XCBC, getKeyBytes(AES_XCBC_KEY_LEN), AES_XCBC_ICV_LEN * 8); in buildAuthAesXcbc()984 AUTH_AES_CMAC, getKeyBytes(AES_CMAC_KEY_LEN), AES_CMAC_ICV_LEN * 8); in buildAuthAesCmac()