Lines Matching refs:cipher

217 	rtlCipher cipher;  in main()  local
220 cipher = rtl_cipher_create (rtl_Cipher_AlgorithmBF, rtl_Cipher_ModeECB); in main()
221 OSL_ASSERT(cipher != 0); in main()
222 if (cipher != 0) in main()
229 cipher, rtl_Cipher_DirectionBoth, in main()
235 cipher, cbc_data, length, ecb_out, sizeof(ecb_out)); in main()
241 cipher, ecb_out, length, ecb_in, sizeof(ecb_in)); in main()
245 rtl_cipher_destroy (cipher); in main()
249 cipher = rtl_cipher_create (rtl_Cipher_AlgorithmBF, rtl_Cipher_ModeCBC); in main()
250 OSL_ASSERT(cipher != 0); in main()
251 if (cipher != 0) in main()
258 cipher, rtl_Cipher_DirectionEncode, in main()
264 cipher, cbc_data, length, cbc_out, sizeof(cbc_out)); in main()
269 cipher, rtl_Cipher_DirectionDecode, in main()
275 cipher, cbc_out, length, cbc_in, sizeof(cbc_in)); in main()
279 rtl_cipher_destroy (cipher); in main()
283 cipher = rtl_cipher_create (rtl_Cipher_AlgorithmBF, rtl_Cipher_ModeStream); in main()
284 OSL_ASSERT(cipher != 0); in main()
285 if (cipher != 0) in main()
292 cipher, rtl_Cipher_DirectionEncode, in main()
298 cipher, cbc_data, length, cfb_out, sizeof(cfb_out)); in main()
303 cipher, rtl_Cipher_DirectionDecode, in main()
309 cipher, cfb_out, length, cfb_in, sizeof(cfb_in)); in main()
313 rtl_cipher_destroy (cipher); in main()
317 cipher = rtl_cipher_create (rtl_Cipher_AlgorithmARCFOUR, rtl_Cipher_ModeStream); in main()
318 OSL_ASSERT(cipher != 0); in main()
319 if (cipher != 0) in main()
332 cipher, rtl_Cipher_DirectionBoth, in main()
338 cipher, &(arcfour_data[i][0]), length, in main()
350 cipher, rtl_Cipher_DirectionBoth, in main()
356 cipher, &(arcfour_data[3][0]), length, in main()
369 cipher, rtl_Cipher_DirectionBoth, in main()
375 cipher, &(arcfour_data[3][0]), length, in main()
380 cipher, &(arcfour_data[3][length]), n - length, in main()
387 rtl_cipher_destroy (cipher); in main()